Renaming a section group should update references to that section group
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 234
- Forks
- 92
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
Follow up of #412, when a sections/*.json file is renamed, we should update references to it.
Describe the solution you'd like
When a sections/*.json file is renamed,
- Update
{% sections 'oldName' %}to{% sections 'newName' %} - Update the
parentfield of contextualized section group files. - ???
Additional context
https://shopify.dev/docs/storefronts/themes/architecture/section-groups
Contributor 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.
Research direction
Start by tracing how renaming a sections/*.json file is handled and how {% sections 'oldName' %} references and contextualized section group parent fields are represented. Review the section-groups architecture documentation linked in the issue, then identify the remaining reference forms covered by the requested “???”. Done means all affected references are updated consistently after a rename.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100