Skip to content

Conversation

@luccas-harbour
Copy link
Contributor

@luccas-harbour luccas-harbour commented Jan 28, 2026

  • In the v1 release, the list numbering computation logic was incorrectly modified and started tracking list counters by numId and not abstractNumId, which is the actual Word behavior. This was restored.
    • During the v1 release, the numbering manager implementation was also moved to packages/word-layout but it's never called from anywhere else except the numbering plugin. The file was moved back to the same module as the numbering plugin.
  • Also, Word will restart the counter if a numbering definition has a startOverride property set, even if a list item with the same abstractNumId has already been seen. This behavior was implemented.

@linear
Copy link

linear bot commented Jan 28, 2026

@luccas-harbour luccas-harbour force-pushed the luccas/sd-1658-bug-list-items-at-same-level-with-same-indicator-render-as branch from 42b9929 to a538fe7 Compare January 28, 2026 15:25
@luccas-harbour luccas-harbour marked this pull request as ready for review January 28, 2026 15:57
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: a538fe784c

ℹ️ 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".

Luccas Correa added 4 commits January 28, 2026 14:01
The modified version of the numbering manager was modified in the v1
release and incorrectly tracked numbering counters by num id instead of
abstract num id.
This commit also implements Word's behavior where a counter will restart
if the level's startOverride was set.
@luccas-harbour luccas-harbour force-pushed the luccas/sd-1658-bug-list-items-at-same-level-with-same-indicator-render-as branch from a538fe7 to c27cc50 Compare January 28, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants