Make sure you can loop through sections groups
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.
Some of our clients wants a sections with quick links to sections on the page. I've created a section group to group the sections that they can refer to.
Describe the solution you'd like
I'd like to loop through those section to automatically create a list of links with the referenced sections with the corresponding ID's.
Describe alternatives you've considered
A section with blocks with settings to add an ID and label. Also add the option to add an ID to the sections in the group. This will cause problems and inconsistencies.
Checklist
- I have checked and made sure that the proposal adheres to this plugin's principles
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 reading the principles referenced in docs/prettier-plugin-liquid/principles/index.md and inspect packages/prettier-plugin-liquid. Trace how section groups and their sections are represented and iterated. Done means a section group can produce links for its referenced sections with their corresponding IDs, with coverage for the supported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100