Add `required` boolean option to Autotoc tabs
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css, javascript
- Domain
- frontend
Research direction
Start by locating the Autotoc tab implementation and the existing level-element classes referenced in the issue. Review how .autotoc-nav a and the current CSS selector handle required fields, then determine the option name and update the tab classes and selector so the required icon appears consistently.
Written by the indexing model from the issue text.
Description
The goal is feature parity with Plone 4.x, which by default displays a required icon in tabs that contain required fields.
It could be done by copying existing classes from level elements to tabs (.autotoc-nav a) -- and then updating the existing CSS selector, since pre-p.a.widgets one relies on an extra span.
However if we do it so generically, instead of required I wonder if we shouldn't we call this option classLevelCopyOrigin, copyOriginalLevelsClasses or something clearer?
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 103
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No 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/mockup
-
wrong description text in the tinymce image insert modal dialogMay be free again @anya-xcode claimed this 447 days ago, and no pull request is open. Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
04 type: enhancement
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Similar issues
-
release-followup
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area: right sidebar
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
zulip/zulip#40449 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
uclaacm/membership-portal-ui#409 ·
Maintainers usually reply within 1 day