Skip to content

refactor: remove legacy contentful theme mappings - #7208

Merged
eddieferrer merged 1 commit into
mainfrom
CIT-5073_remove_legacy_theme_mappers
Sep 1, 2026
Merged

refactor: remove legacy contentful theme mappings#7208
eddieferrer merged 1 commit into
mainfrom
CIT-5073_remove_legacy_theme_mappers

Conversation

@eddieferrer

@eddieferrer eddieferrer commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Ticket: CIT-5073

Summary

  • Removes the kivaClassicMint, kivaClassicGreen, kivaClassicDark, kivaClassicDarkStone, kivaDarkMint and ecoStoneDark entries from the theme mappers in StoryCard.vue and SectionWithBackgroundClassic.vue. Those values no longer exist in Contentful (dev or master) after the CIT-5073 migration, so the mappings were dead code.
  • Keeps imageCard, which is a layout rather than a colour theme — StoryCard keys its background-image treatment off .story-card__imageCard.
  • Updates the themeName prop docs on SectionWithBackgroundClassic, which still described the legacy values as rendering "until they are retired in Contentful".
  • No visual change expected: every remaining Contentful entry uses an approved value, and unrecognised values already fell through to the default theme.

The deprecated theme values have been migrated out of Contentful, so the
fallback entries that mapped them onto approved themes are dead code.

StoryCard and SectionWithBackgroundClassic now accept only the five
approved values plus imageCard, which is a layout rather than a colour
theme. Anything else falls through to the default theme as before.
@eddieferrer
eddieferrer marked this pull request as ready for review September 1, 2026 14:59
@eddieferrer
eddieferrer merged commit 4fd6d12 into main Sep 1, 2026
6 checks passed
@eddieferrer
eddieferrer deleted the CIT-5073_remove_legacy_theme_mappers branch September 1, 2026 15:03
kiva-robot added a commit that referenced this pull request Sep 1, 2026
## [3.91.0-rc.1](v3.90.0...v3.91.0-rc.1) (2026-09-01)

### 🎉 New Features

* **live-loan:** render compact bundle card as transparent PNG ([#7204](#7204)) ([131e350](131e350))

### 🐛 Bugfixes

* avoid firing close event on set 2027 goal cta ([2f6a85d](2f6a85d))
* **header:** sync ESI CSS variables for the new header states ([c1da5ba](c1da5ba))
* mykiva initial loading performance improvements ([#7203](#7203)) ([5e836e2](5e836e2))
* opt the header into the ESI avatar ([5f9b4c4](5f9b4c4))
* release withdraw page migration ([#7210](#7210)) ([68a8429](68a8429))
* update kv-components with latest esi support for user avatar ([a54da72](a54da72))

### 🪚 Refactors

* remap deprecated Contentful theme values to approved themes ([#7199](#7199)) ([a9e6de8](a9e6de8))
* remove legacy contentful theme mappings ([#7208](#7208)) ([4fd6d12](4fd6d12))

### 🧹 Chores

* update kv-components with latest KvWwwHeaderBasic fixes ([28d6e96](28d6e96))
* upgrade kv-tokens to 5 and kv-components to 9 ([#7205](#7205)) ([c708e64](c708e64))
@kiva-robot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 3.91.0-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

kiva-robot added a commit that referenced this pull request Sep 1, 2026
## [3.91.0](v3.90.0...v3.91.0) (2026-09-01)

### 🎉 New Features

* **live-loan:** render compact bundle card as transparent PNG ([#7204](#7204)) ([131e350](131e350))

### 🐛 Bugfixes

* avoid firing close event on set 2027 goal cta ([2f6a85d](2f6a85d))
* **header:** sync ESI CSS variables for the new header states ([c1da5ba](c1da5ba))
* mykiva initial loading performance improvements ([#7203](#7203)) ([5e836e2](5e836e2))
* opt the header into the ESI avatar ([5f9b4c4](5f9b4c4))
* release withdraw page migration ([#7210](#7210)) ([68a8429](68a8429))
* update kv-components with latest esi support for user avatar ([a54da72](a54da72))

### 🪚 Refactors

* remap deprecated Contentful theme values to approved themes ([#7199](#7199)) ([a9e6de8](a9e6de8))
* remove legacy contentful theme mappings ([#7208](#7208)) ([4fd6d12](4fd6d12))

### 🧹 Chores

* **release:** 3.91.0-rc.1 [skip ci] ([8170347](8170347)), closes [#7204](#7204) [#7203](#7203) [#7210](#7210) [#7199](#7199) [#7208](#7208) [#7205](#7205)
* update kv-components with latest KvWwwHeaderBasic fixes ([28d6e96](28d6e96))
* upgrade kv-tokens to 5 and kv-components to 9 ([#7205](#7205)) ([c708e64](c708e64))
@kiva-robot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 3.91.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants