Skip to content

refactor: move the section order reset into the editor tab#115

Merged
rimzzlabs merged 1 commit into
mainfrom
refactor/section-order-reset-placement
Jul 18, 2026
Merged

refactor: move the section order reset into the editor tab#115
rimzzlabs merged 1 commit into
mainfrom
refactor/section-order-reset-placement

Conversation

@rimzzlabs

Copy link
Copy Markdown
Owner

The undo-reordering button used to sit in the tab bar next to the tab list, visible on every tab even though it only acts on the Editor tab's section list. It now lives inside the Editor tab content, right-aligned above the list, so the control sits in the scope it affects and the tab bar goes back to being pure navigation. This mirrors the Document tab's styling-reset placement, giving both panels the same idiom.

The row carries a screen-reader-only "Sections" heading for context, and the button matches the Document tab's reset sizing. New heading strings land in both locales.

Testing: on the Editor tab the reset renders above the section list and stays disabled while the order is canonical; on the Layout and Document tabs it does not render at all; the tab bar contains only the three tabs.

Signed-off-by: Rizki Citra <rimzzlabs@proton.me>
@rimzzlabs
rimzzlabs merged commit 63da9cb into main Jul 18, 2026
4 checks passed
@rimzzlabs
rimzzlabs deleted the refactor/section-order-reset-placement branch July 18, 2026 04:50
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.

1 participant