Rename the internal "somersault" codename in the Plate region code
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- developer-experience
Research direction
Start with the listed utility types, SOMERSAULT_KEY, renderer and editor names, and the exports in apps/aurora/app/config/server; inspect the upgrade guide and the migration introduced by #379. Register replacement names, preserve deprecated aliases that warn, and keep the legacy key only for the read-time rename. Done means the guide documents the change and the aliases are slated for removal with #435 at Plone 7 final.
Written by the indexing model from the issue text.
Description
Context
#379 renamed the stored shape: the page body is now the main region, blocks.main = { "@type": "plate", "value": [...] }. The internal "somersault" codename is still in the code, for example:
- the utility types
somersaultBlockMigrationandsomersaultMigration; SOMERSAULT_KEYin@plone/plate,SomersaultRenderer, and thesomersault-editorandsomersault-renderernames;SomersaultValue,createSomersaultValueandmigrateSomersaultRegioninapps/aurora/app/config/server.
This is open question 3 of #379.
Proposal
Rename them after what they are: the Plate value of a region. Keep the legacy constant only where it means the legacy key, in the read-time rename in migrateSomersaultRegion.
The two utility types are public API for add-ons, so:
- Register the new names, and keep the old ones as deprecated aliases that log a warning.
- Document the rename in the upgrade guide.
- Remove the aliases at Plone 7 final, together with the rest of the
__somersault__compatibility (#435).
Refs #379.
Assisted-by: Claude Opus 5.5
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 9
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 54
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plone/aurora
-
01 type: bug 41 lvl: easy
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yOpen01 type: bug 99 tag: UX Accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 2 days
-
01 type: bug 99 tag: UX Accessibility
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
Similar issues
-
accessibility bug dark-mode dashboards
Difficulty 1/5 Under an hour Newbie friendliness 84/100
quarto-dev/quarto-cli#15447 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug CRIT-3
Difficulty 1/5 Under an hour Newbie friendliness 70/100
NASA-AMMOS/anms#426 ·