simorgh

The BBC's Open Source Web Application. Contributions welcome! Used on some of our biggest websites, e.g.

OTHER License

Stars
1.3K
Committers
139

Bot releases are visible (Hide)

simorgh - Release 4.1553.0

Published by github-actions[bot] 6 months ago

Merge pull request #11543 from bbc/WSTEAMA-1179-update-billboard-component-to-meet-ux-designs WSTEAMA-1179 - Update Billboard component to meet UX designs

simorgh - Release 4.1552.0

Published by github-actions[bot] 6 months ago

Merge pull request #11496 from bbc/articles-change-data-fetch-for-tests Articles change data fetch for tests

simorgh - Release 4.1551.0

Published by github-actions[bot] 6 months ago

Merge pull request #11577 from bbc/renovate/testing-library-monorepo Update dependency @testing-library/dom to v10.1.0

simorgh - Release 4.1550.0

Published by github-actions[bot] 6 months ago

Merge pull request #11536 from bbc/renovate/core-js-3.x Update dependency core-js to v3.37.0

simorgh - Release 4.1549.0

Published by github-actions[bot] 6 months ago

Merge pull request #11574 from bbc/update-chromatic-github-action Use latest version of chromatic UI Github action

simorgh - Release 4.1548.0

Published by github-actions[bot] 6 months ago

Fix article ID regex matching (#11569) * Fix article ID regex matching * Update index.js * Update index.ts * Remove caf style overrides * Revert "Remove caf style overrides" This reverts commit 100f5e1ddafb2774f73024e308ef11502c88daeb.

simorgh - Release 4.1547.0

Published by github-actions[bot] 6 months ago

Merge pull request #11541 from bbc/WSTEAMA-1178-add-billyb-to-homeyp WSTEAMA-1178 Add Billboard Component to Homepage

simorgh - Release 4.1546.0

Published by github-actions[bot] 6 months ago

Merge pull request #11557 from bbc/renovate/storybook-monorepo Update storybook monorepo to v8.0.9

simorgh - Release 4.1545.0

Published by github-actions[bot] 6 months ago

Merge pull request #11568 from bbc/brasil-whatsapp-articles-promotion WhatsApp promotion for BBC Brasil

simorgh - Release 4.1544.0

Published by github-actions[bot] 6 months ago

Merge pull request #11563 from bbc/update-fr-ps-sw-nav Updates to the nav bars of Afrique, Indonesia, Pashto and Swahili

simorgh - Release 4.1543.0

Published by github-actions[bot] 6 months ago

Lite page rendering (#11552) * Testing no CSS + Cheerio * Use base normalize stylesheet * Style updates * Move into separate function * const name change * Update component.jsx * Enable Comscore * a11y fix * Use fragment mode in Cheerio * nav removal fix * nav stuff * Test htmlparser2 * transform script tags * variant header link * Bail out of lite transform on error * Update component.jsx * Check for save-data header * Update component.jsx * Set isLite app wide * Reduce normalise styling * Update component.jsx * Use sans-serif system font * Update component.jsx * clearer return properties * simplify some classes * Include meta tags in transform * Testing Next.js Lite support * Improve helmet prop handling * Update _document.page.tsx * Small refactor - don%27t index lite pages * Fix issue with yarn build removing visuallyHiddenText class * Simplify some element removal * small refactor * Update index.ts * Update index.ts * Simplify Express doc renderer * Ensure single %27render mode%27 * Update component.jsx * Removing compiler prop from next config as it doesn%27t do anything for us * Update index.ts * Merge conflict resolve - move colors out of deps * Update component.jsx * Update component.jsx * Update index.ts * Update _document.page.tsx * Add isLite prop to Next.js app * Add ati pixel * Snaps * Retain skipLink * Update index.ts * Add basic opt-out link * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Prevent HTML entities output * Update index.ts * use classname for tracking pixel * Update index.ts * Revert "Update index.ts" This reverts commit 220545e030f7b21c49039857dc405f6f477647ad. * Revert "Revert "Update index.ts"" This reverts commit 6ccd0e4135b0124c8fb62e4b0796f832815b01e8. * Update index.tsx * Update index.jsx * Skip link focus/active * Remove checks for %27save-data%27 for now * initial test * Update index.test.ts * Update index.test.ts * more tests * Update index.jsx * Delete index.tsx * Update index.jsx * stylesheet formatting for easier reading * Tag classes we want to keep with data-lite-class attribute instead of using className * Replace all custom classes with data-lite-class attribute * Allow css nesting * Revert "Allow css nesting" This reverts commit 80b8d3a55e4d566e6e18992f24bcc31fd92723ac. * Parse CSS selectors properly * Simplify bail out in Next.js app * Update index.ts * Update index.ts * Update index.test.ts * Update _document.page.tsx * Try out desktop max-width * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Test out alt style of header * Import colours from theme * Update index.ts * Update index.ts * Don%27t use simorgh-envvars on Lite as window won%27t be available * inline link underline colour * Update index.ts * Log lite transform errors * desktop width * Some test updates * Update index.ts * Update index.ts * Create @next-swc-darwin-x64-npm-14.1.4-f6e1c10a69-8.zip * Remove vj embeds * yarn cache * Merge branch %27latest%27 into lite-page-rendering-ssr-only * cache * cache * css updates * Delete @next-swc-linux-x64-gnu-npm-14.1.4-19585e8eca-f6e866ca14.zip * Update index.ts * Update index.ts * Testing with more styling * Update index.tsx * cache * Update index.ts * Update index.ts * Remove bunch of data * cache * cache * Update index.ts * Update index.tsx * Separate out renderers * Update component.jsx * Update types * Re-use LiteRenderer in Next.js app * Remove lite- prefix from actual class names * Put style tags back to dsih * Update index.ts * rejig * Update component.tsx * Type fixes * Add initial Storybook story for Lite renderer * Update index.stories.tsx * topic page * Move to Document folder * Add .lite extension to anchor tags * Add %27use emotion styles%27 flag * Type tidy * Update _document.page.tsx * Separate out renderers in Next.js app * Add lite snapshot to component.test.jsx * fix pagination display * Update index.ts * cache * Update index.ts * Better CSS syntax * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update LiteRenderer.tsx * Update LiteRenderer.tsx * Start using Emotion styles * Expose Emotion styles in Next.js app * Revert Emotion Next.js css exposure, seems to work out of the box? * Fix types * Update index.test.ts * Add isLite flags and global style overrides * Remove litePageTransform and cheerio * Update liteStyles.ts * Tidy up now unneeded bits * Re-use LiteRenderer component across both apps * Update liteStyles.ts * Test/snapshot fixes * Update index.tsx * cache * cache * Homepage grid overrides for lite * Update liteStyles.ts * Update logger.const.js * Update component.tsx * Update liteStyles.ts * Update index.styles.tsx * Update component.tsx * Pass body content as prop * Add styles to homepage curationgrid * Remove litestyles CSS override * Update index.jsx * Update index.jsx * Expose Emotion styles in Next.js app to remove inlining of style tags * Update _document.page.tsx * Update _document.page.tsx * Use NO_JS_CLASSNAME in Next.js document * Update index.jsx * Test isLite Storybook toggle * Couple more media player checks * Remove empty string defaults * Update component.tsx * Update component.tsx * Update component.test.jsx.snap * Fix hydration warning for canonical * Fix styles tag * Test out litePageTransforms for anchor tags * Disable ads on Lite for now * Update litePageTransforms.ts * Set isLite on Next.js page types * Hide social embeds * Update canonical.test.ts.snap * Expose isLite in ThemeProvider to allow direct styling * Update index.stories.tsx --------- Co-authored-by: Toby Cox [email protected]

simorgh - Release 4.1542.0

Published by github-actions[bot] 6 months ago

Merge pull request #11556 from bbc/cps-toggles-fix Adds missing toggles to cpsAsset article fetch call

simorgh - Release 4.1541.0

Published by github-actions[bot] 6 months ago

Remove leading slash in ARTICLE_PAGE default path return (#11564) * Remove leading slash in ARTICLE_PAGE default path return * Add test cases * Update index.ts

simorgh - Release 4.1540.0

Published by github-actions[bot] 6 months ago

Re-disable Test Thai asset (#11562)

simorgh - Release 4.1539.0

Published by github-actions[bot] 6 months ago

Return path if CPS and Optimo ID checks fail (#11561) * Update index.ts * Remove article page invalid ID checks as path will always be returned * Remove test as its not needed with this change

simorgh - Release 4.1538.0

Published by github-actions[bot] 6 months ago

Simplify caf id e2e extraction (#11560) * Simplify CAF ID extraction in E2Es * Update application.js * Update application.js

simorgh - Release 4.1537.0

Published by github-actions[bot] 6 months ago

Extract CPS ID for CAF assets in Cypress E2Es (#11559) * Extract CPS ID for CAF assets in Cypress E2Es * Better naming

simorgh - Release 4.1536.0

Published by github-actions[bot] 6 months ago

WSTEAM1-943 - Enable CAF for 3 services (#11516) * changes description targeting for block model format * adds article pageType * set iscaf to true for hausa pidgin and thai Co-authored-by: Shayne Marc Enzo Ahchoon [email protected] * check if optimo * fix optimo check * check pagetype ionstead of isoptimo * remove pagetype check * WSTEAM1-942: Update lint * Add Thai PGL asset * Enable fetching of cps PGL fixtures from article page handler * Add integration tests targetting CAF via thai * updates test to cater for caf only services * adds else clause * WSTEAM1-967: CAF - Update MAP Integration test and snapshots * Add Hausa CAF integration tests * Apply CPS id check from e2es PR * WSTEAM1-945: Update e2e (#11529) * WSTEAM1-945: Update e2e * WSTEAM1-945: Update settings * WSTEAM1-945: Update fixtures * WSTEAM1-945: Alter route * WSTEAM1-945: Fix HTML lang tests. * WSTEAM1-945: Update fixture * WSTEAM1-945: Fix PGL tests * WSTEAM1-945: Add tests * WSTEAM1-945: Update tests * WSTEAM1-945: Update tests * WSTEAM1-945: Update tests * WSTEAM1-945: Enable e2e tests on CAF STY pages. Update and add fixture data * WSTEAM1-945: Refactor cpsId check * WSTEAM1-945: refctor to assign to variable * WSTEAM1-945: Refactor * WSTEAM1-945: Update MAP fixture data to include ATI campaigns * WSTEAM1-945: Set Cypress getPageData pageType to article if isCaf * WSTEAM1-945: Lint and simplify post merge * WSTEAM1-945: Update snapshots * WSTEAM1-945: Update snapshots --------- Co-authored-by: Isabella Mitchell [email protected] Co-authored-by: Isabella Mitchell [email protected] * Update snaphots to reflect SEO and ATI changes * Remove redundant isCaf flag * Use CafEnabledServices const across app * WSTEAM1-967: Import cafEnabledServices from lib * Add CPS id check for STY tests * Add CAF STY fixture asset * Remove apple itunes banner test * Update snapshot * Update snapshot to include SEO and ATI values * Update CAF STY snapshots to include lang code --------- Co-authored-by: Harvey Peachey [email protected] Co-authored-by: Shayne Marc Enzo Ahchoon [email protected] Co-authored-by: Aaron Moore [email protected] Co-authored-by: Shayne Marc Enzo Ahchoon [email protected] Co-authored-by: Shayne Marc Enzo Ahchoon [email protected] Co-authored-by: alex-magana [email protected] Co-authored-by: Isabella Mitchell [email protected] Co-authored-by: Isabella Mitchell [email protected]

simorgh - Release 4.1535.0

Published by github-actions[bot] 6 months ago

Merge pull request #11550 from bbc/renovate/all-patch Update all 3rd party patch dependencies

simorgh - Release 4.1534.0

Published by github-actions[bot] 6 months ago

WSTEAM1-959: Add amp to cpsAsset article fetch (#11553)

Badges
Extracted from project README
Test Coverage Known Vulnerabilities Maintainability Storybook