Skip to content

fix(ui): match the host column width and rework the notes sidebar and zen mode - #42

Merged
gnacho merged 1 commit into
mainfrom
fix/ui-columns-and-notes-sidebar
Nov 8, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/ui-columns-and-notes-sidebar

Conversation

@gnacho

@gnacho gnacho commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Why

The first column of the News and Notes extensions did not line up with the host navigation sidebar, the Notes sidebar had its primary action in the wrong place, and Zen mode could not be entered from an empty account.

What changed

  • Column width: the app-owned first column is now 230px, the same as the host #web-nav-sidebar, instead of 280px (News) and 250px (Notes). The Photos extension has no column of its own, its navigation lives in the host sidebar, so nothing to change there.
  • Notes sidebar: the top action is now "New note", which opens the same dialog as the list header. "New category" moved below the existing categories as a quiet row without the accent fill.
  • Zen mode: the button was disabled whenever no note was active, which is the state of a fresh account, so it looked broken. It is now always enabled and creates a blank note when there is none, naming it "Untitled" (Sin título in Spanish).

Verification

Checked on a running OpenCloud 9.0.0 instance with a headless browser:

  • host sidebar 230px, Notes column 230px, News column 230px.
  • Sidebar top button reads "New note" with the primary fill, and "New category" renders below the category list as a plain row.
  • With zero notes, clicking "Zen mode" creates a note, enters zen (sidebar, list and top bar hidden, editor full width) and Escape leaves it. The account was left with zero notes afterwards.

@gnacho
gnacho merged commit f2422dd into main Nov 8, 2026
@gnacho
gnacho deleted the fix/ui-columns-and-notes-sidebar branch November 8, 2026 13:26
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