Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-05 | 1.7 kB | |
Release 4.2677.0 source code.tar.gz | 2025-08-05 | 443.5 MB | |
Release 4.2677.0 source code.zip | 2025-08-05 | 447.4 MB | |
Totals: 3 Items | 890.8 MB | 0 |
WS-923 - Update Portrait Video Config Transformation Logic (<a href="https://github.com/bbc/simorgh/pull/13020">#13020)
* update simorgh transformation logic
* update holdingimageurl logic to reflect position in bff, tests, fixtures
* update widths on holdingimageurl as bff will handle that
* restore portraitclipmedia mobile logic
* update holdingimageurl widths
* remove block mapping logic from simorgh to support bff changes, updates tests and fixture to reflect new bff pv structure
* fix merge conflict...
* fix naming convention
* update carousel mapping to blocks
* update carousel to support blocks on tests
* update references from items to blocks
* replace item references to block and update types to support portraitclipmediablock where possible - tests are broken and we may need to refactor the types further
* Fixes
- Fixed TS errors
- Fixed usage of PortraitClipMediaBlock type throughout
- Fixed logic to display PV promos
- Fixed extracting block.model
data for playback
* Type update + lint fix
* Fixture update
* Point integration tests to blocks
* Update fixture, tests and render altText
if available
* Update index.test.tsx
* Remove unneeded key
prop
* Delete portraitVideo
type file - move types closer to components
* Remove up
and down
scroll directions from promo nav
---------
Co-authored-by: Aaron Moore aaron.moore@bbc.co.uk