Skip to content

feat: Add numberingFormat to orderedList (SD-1008)#2366

Draft
caio-pizzol wants to merge 8 commits intomainfrom
caio/sd-1008-list-numbering-format-ui
Draft

feat: Add numberingFormat to orderedList (SD-1008)#2366
caio-pizzol wants to merge 8 commits intomainfrom
caio/sd-1008-list-numbering-format-ui

Conversation

@caio-pizzol
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Mar 11, 2026

@caio-pizzol caio-pizzol changed the title feat: Add numberingFormat to orderedList feat: Add numberingFormat to orderedList (SD-1008) Mar 11, 2026
@caio-pizzol caio-pizzol self-assigned this Mar 11, 2026
- Fix correctness bug: ranged selection now groups paragraphs by numId
  so separate lists stay separate instead of merging into one
- Extract shared isOrderedListParagraph() and applyFormatToGroup() helpers
- Remove duplicate setNumberedListIcon in defaultItems.js, use canonical
  superToolbar.updateNumberedListIcon()
- Simplify numbering-icon-map.js to direct lookup with nullish coalescing
- Simplify toggleList.js branching for format config
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8ba46dcdb4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

…ListNumberingType

- Read existing start value from list definition instead of hardcoding '1'
- Apply format to each distinct ilvl in a group so multi-level range
  selections reformat all levels correctly
- Extract SVG icon factory to reduce ~100 lines of duplicated boilerplate
@caio-pizzol caio-pizzol marked this pull request as draft March 11, 2026 20:25
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.

2 participants