Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release to Sandbox 2.0.2 #717

Merged
merged 36 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c27349b
Merge pull request #705 from WPMedia/prod
vgalatro Apr 15, 2024
1c9a387
added dd-service-catalog.yml
blakeganderson Apr 17, 2024
c250244
updated application
blakeganderson Apr 17, 2024
ca8e924
Merge pull request #706 from WPMedia/datadog
rmbrntt Apr 17, 2024
2c79e40
THEMES-1905: Update signing script to handle failing promised fetches
nschubach May 2, 2024
8c78a8d
remove unused variable
nschubach May 2, 2024
72b76f9
Fix formatting
nschubach May 15, 2024
b28a164
Merge pull request #707 from WPMedia/themes-1905
nschubach May 15, 2024
bf0fb37
Added back in check for null values.
vgalatro May 24, 2024
3e90284
lint fix.
vgalatro May 24, 2024
f4e2d50
Merge pull request #708 from WPMedia/fix-sign-images-null-handling
vgalatro May 24, 2024
30aaf5b
change width and height fallback logic for resizer
annasherman May 29, 2024
19af3a2
added changeset version bump
Jun 13, 2024
9c35879
reverted changeset version bump
Jun 13, 2024
a1e2d2c
Update cheerio and prettier changes
nschubach Jun 26, 2024
76aca4d
package update
nschubach Jun 26, 2024
b2c9301
Merge pull request #709 from WPMedia/themes-1928
nschubach Jun 26, 2024
6138434
Create Changeset
nschubach Jun 26, 2024
aa5f916
Merge pull request #710 from WPMedia/feeds-resizer-test
nschubach Jun 26, 2024
f3a394a
Change to format source code to handle urls better
nschubach Jul 1, 2024
1fce63f
Pin util dependencies so we can revert to old util update convention
nschubach Jul 1, 2024
80981d1
THEMES-1988: bumping the version of the sitemap-feature-block.
vgalatro Jul 8, 2024
c3c07b3
THEMES-1988: bumping the version of the sitemap-feature-block.
vgalatro Jul 8, 2024
e03db78
THEMES-1994: added missing dimension field for ans block.
vgalatro Jul 12, 2024
28d604e
fix bad truthy logic
nschubach Jul 12, 2024
1368880
THEMES-1994: lint fix
vgalatro Jul 12, 2024
602cccd
Merge pull request #713 from WPMedia/format_src_fix
nschubach Jul 12, 2024
b668620
Merge pull request #712 from WPMedia/THEMES-1988
nschubach Jul 12, 2024
8d8285c
Merge remote-tracking branch 'origin/develop' into pin-dependencies
nschubach Jul 12, 2024
9c233c4
update changeset
nschubach Jul 12, 2024
bca75dd
Merge pull request #711 from WPMedia/pin-dependencies
nschubach Jul 12, 2024
f67fdbc
Merge pull request #714 from WPMedia/THEMES-1994
vgalatro Jul 12, 2024
abd4a48
Revert cheerio update
nschubach Jul 12, 2024
a6f2c73
Merge pull request #715 from WPMedia/revert-cheerio-update
nschubach Jul 12, 2024
e4be3ca
Update Changeset
nschubach Jul 12, 2024
31860e5
Merge pull request #716 from WPMedia/revert-cheerio-update
nschubach Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fuzzy-rice-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wpmedia/rss-alexa-feature-block": patch
"@wpmedia/feeds-content-elements": patch
---

Set proper Cheerio version
26 changes: 26 additions & 0 deletions .changeset/green-eels-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
"@wpmedia/feeds-source-content-api-by-day2-block": patch
"@wpmedia/feeds-source-content-api-by-day3-block": patch
"@wpmedia/feeds-source-content-api-by-day-block": patch
"@wpmedia/feeds-source-single-content-block": patch
"@wpmedia/feeds-source-collections-block": patch
"@wpmedia/feeds-source-content-api-block": patch
"@wpmedia/rss-google-news-feature-block": patch
"@wpmedia/sitemap-section-feature-block": patch
"@wpmedia/feeds-source-video-api-block": patch
"@wpmedia/rss-flipboard-feature-block": patch
"@wpmedia/sitemap-video-feature-block": patch
"@wpmedia/sitemap-news-feature-block": patch
"@wpmedia/rss-alexa-feature-block": patch
"@wpmedia/rss-fbia-feature-block": patch
"@wpmedia/rss-msn-feature-block": patch
"@wpmedia/sitemap-feature-block": patch
"@wpmedia/mrss-feature-block": patch
"@wpmedia/ans-feature-block": patch
"@wpmedia/rss-feature-block": patch
"@wpmedia/feeds-content-elements": patch
"@wpmedia/feeds-promo-items": patch
"@wpmedia/feeds-resizer": patch
---

Pin dependencies
5 changes: 5 additions & 0 deletions .changeset/popular-buckets-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wpmedia/feeds-resizer": patch
---

Update size calculation
5 changes: 5 additions & 0 deletions .changeset/spicy-snails-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wpmedia/sitemap-feature-block": patch
---

Add support for a resizerURLs object that can specify a url per environment
5 changes: 5 additions & 0 deletions .changeset/two-knives-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wpmedia/ans-feature-block": patch
---

Added missing custom field
53 changes: 53 additions & 0 deletions .github/workflows/dd-service-catalog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
name: DataDog Service Catalog
on:
push:
branches:
- prod
workflow_dispatch:

jobs:
deploy:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: DD-service-catalog
uses: arcxp/datadog-service-catalog-metadata-provider@v2
with:
schema-version: v2.1
github-token: ${{ secrets.WP_DOT_GITHUB }}
datadog-key: ${{ secrets.DATADOG_API_KEY }}
datadog-app-key: ${{ secrets.DATADOG_APPLICATION_KEY }}
service-name: arc-feed-components
team: experience-themes-xp
application: Arc Feed Components
description: |
This is the Arc Feed Components
lifecycle: production
tier: p0
email: [email protected]
slack-support-channel: 'https://washpost.enterprise.slack.com/archives/C0169HVBN2C'
repo: https://github.com/WPMedia/feed-components
tags: |
- 'application:Arc Feed Components'
- infrastructure:packages
- language:nodejs
- division:arc
- data-sensitivity:high
- component:themes
links: |
- name: Datadog Dashboard
url: https://washpost.datadoghq.com/dashboard/b47-w8a-u9c/theme-settings-dashboard?view=spans
type: dashboard
- name: Themes Jira Project
url: https://arcpublishing.atlassian.net/jira/software/c/projects/THEMES/boards/838
provider: jira
type: dashboard
- name: Themes Runbooks
url: https://arcpublishing.atlassian.net/wiki/spaces/TI/pages/3303637274/Runbooks
type: runbook
integrations: |
opsgenie:
service-url: https://washpost.app.opsgenie.com/teams/dashboard/6c290e84-4b44-4178-8bec-5fb72fac8239/main
region: US
11 changes: 11 additions & 0 deletions blocks/ans-feature-block/features/ans/json.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Consumer from 'fusion:consumer'
import getProperties from 'fusion:properties'
import PropTypes from 'fusion:prop-types'
import { resizerKey, ENVIRONMENT } from 'fusion:environment'
import { buildResizerURL } from '@wpmedia/feeds-resizer'

Expand Down Expand Up @@ -88,4 +89,14 @@ export function ANSFeed({ globalContent = {}, customFields, arcSite }) {

ANSFeed.label = 'ANS'
ANSFeed.icon = 'arc-json'
ANSFeed.propTypes = {
customFields: PropTypes.shape({
resizerKVP: PropTypes.kvp.tag({
label: 'Image height and or width',
description: 'Height and width to resize all images to',
defaultValue: { width: 0, height: 0 },
}),
}),
}

export default Consumer(ANSFeed)
2 changes: 1 addition & 1 deletion blocks/ans-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-resizer": "^2.0.0"
"@wpmedia/feeds-resizer": "2.0.0"
}
}
4 changes: 2 additions & 2 deletions blocks/feeds-source-collections-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-source-utils": "^1.0.8",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-source-utils": "1.0.8",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions blocks/feeds-source-content-api-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-source-utils": "^1.0.8",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-source-utils": "1.0.8",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions blocks/feeds-source-content-api-by-day-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-source-utils": "^1.0.8",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-source-utils": "1.0.8",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7",
"moment": "^2.29.4"
},
Expand Down
4 changes: 2 additions & 2 deletions blocks/feeds-source-content-api-by-day2-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-source-utils": "^1.0.8",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-source-utils": "1.0.8",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7",
"moment": "^2.29.4"
},
Expand Down
4 changes: 2 additions & 2 deletions blocks/feeds-source-content-api-by-day3-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-source-utils": "^1.0.8",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-source-utils": "1.0.8",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7",
"moment": "^2.29.4"
},
Expand Down
2 changes: 1 addition & 1 deletion blocks/feeds-source-single-content-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion blocks/feeds-source-video-api-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"axios": "^1.6.7"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions blocks/mrss-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
}
Expand Down
6 changes: 3 additions & 3 deletions blocks/rss-alexa-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"cheerio": "1.0.0-rc.10",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
Expand Down
8 changes: 4 additions & 4 deletions blocks/rss-fbia-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4",
"xmlbuilder2": "2.1.7"
Expand Down
8 changes: 4 additions & 4 deletions blocks/rss-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
}
Expand Down
8 changes: 4 additions & 4 deletions blocks/rss-flipboard-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
}
Expand Down
8 changes: 4 additions & 4 deletions blocks/rss-google-news-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
}
Expand Down
8 changes: 4 additions & 4 deletions blocks/rss-msn-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-content-elements": "^2.0.0",
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0",
"@wpmedia/feeds-content-elements": "2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0",
"jmespath": "^0.15.0",
"moment": "^2.29.4"
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/sitemap-feature-block/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sitemap

Sitemaps provide search engines with metadata regarding the specific news content on a website. Using the Sitemap, bots can quickly find the news articles contained on a site
Sitemaps provide search engines with metadata regarding the specific news content on a website. Using the Sitemap, bots can quickly find the news articles contained on a site.
These Sitemaps identify the url and publication date of every article.

## Custom Fields
Expand Down
4 changes: 2 additions & 2 deletions blocks/sitemap-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0"
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0"
}
}
4 changes: 2 additions & 2 deletions blocks/sitemap-news-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-promo-items": "^2.0.0",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-promo-items": "2.0.0",
"@wpmedia/feeds-prop-types": "2.0.0",
"jmespath": "^0.15.0"
}
}
2 changes: 1 addition & 1 deletion blocks/sitemap-section-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"build": ""
},
"dependencies": {
"@wpmedia/feeds-prop-types": "^2.0.0"
"@wpmedia/feeds-prop-types": "2.0.0"
}
}
6 changes: 3 additions & 3 deletions blocks/sitemap-video-feature-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"dependencies": {
"jmespath": "^0.15.0",
"@wpmedia/feeds-find-video-stream": "^1.0.8",
"@wpmedia/feeds-prop-types": "^2.0.0",
"@wpmedia/feeds-resizer": "^2.0.0"
"@wpmedia/feeds-find-video-stream": "1.0.8",
"@wpmedia/feeds-prop-types": "2.0.0",
"@wpmedia/feeds-resizer": "2.0.0"
}
}
Loading