Skip to content

Build the notes list beside the rail as Riverbank's cards - #9

Merged
sanjaydotpro merged 1 commit into
mainfrom
riverbank/notes-list
Nov 17, 2026
Merged

sanjaydotpro merged 1 commit into
mainfrom
riverbank/notes-list

Conversation

@sanjaydotpro

Copy link
Copy Markdown
Contributor

Builds the notes list beside the spaces rail from Paper's final Riverbank page: the search field (636-0), the media filter and view toggle (62Q-0, with 6C3-0's default, open and narrowed states), Pinned (61E-0) and Notes (5YX-0). It covers HIS-12 and is stacked on #8, which is stacked on #7.

Paper on the left, the app on the right

The list. Beside the rail, the sidebar now shows "Find a note…" with a ⌘F keycap. Under it is one row holding the All media dropdown and a list/cards toggle. Below that come Pinned, any shared spaces, and Notes. The list fades out into the canvas at the bottom. Pinned shows the four most recent pinned notes, with See all when there are more. See all lists every pinned note under a back chevron and switches the search to "Find in pinned…". While a search is running, Pinned isn't capped.

Cards and rows. NoteRow gains a style: compact (the phone layout, unchanged), row or card. Every style uses the same click, Option-click, right-click, drag-to-pane, archive picking, presence and lock handling. Only the face differs:

  • A card is 84pt tall and has a sticky tint and a slight tilt. Both are seeded from when the note was created, so a card keeps its look as the list reorders and on every device.
  • The card title is Shantell 14/500. Under it comes one line of the note, or the line's calculated result in Geist Mono sage, or a progress bar for notes with checkboxes. The line appears only when the title fits on one line. The footer has the media icons and a short date ("Today · 11:15", "Sat", "13 Sep").
  • Rows follow the list artboard (2VP-0) in dark tokens: title and date on top, media icons and a summary under them ("3 of 8 done · Automate Backlink Outreach").
  • NoteGlance reads a note's line, result, checklist and media once per note version and caches it, so hover repaints don't split the body again.

Media filter. Everything is ticked by default. Unticking types narrows the list to notes that hold a type still ticked, and the button then names the ticked types on the sage tonal fill. The last ticked type can't be unticked. The filter is session state in home_page.dart and applies in _visibleNotes, so keyboard navigation follows what's on screen. The list/cards choice is saved as LayoutPrefs.noteCards and defaults to cards.

Narrowed to Drawing, Voice and Image
List view

Supporting changes:

  • Palette tokens cardTitle and accentText (See all's sage).
  • Icons filterRounded, listViewRounded and gridViewRounded (0xE0D0–0xE0D2).
  • SidebarTimestamp.glance.
  • NotesStore.now(), so cards say "Today" by the store's clock.

Where it differs from Paper:

  • Tints are seeded per note, so the fixture's cards land on different tints than the artboard's. Most of the sidebar crop's remaining pixel difference comes from this.
  • Pinned is ordered by most recent edit, as the spec says. The artboard's order (SnowAnalytic before Todos) contradicts its own dates.
  • The bundled Shantell instance (INFM 16) sets slightly wider than Paper's, so "SnowSEO Issues" wraps to two lines on its card.
  • Results use the app's formatter and the reader's digit grouping, so they don't show Paper's "₹75,60,000".
  • A card's or row's actions button (⋮) shows only on hover, because Paper draws none. Right-click and long press still open the same menu. When that menu opens from a card, it is kept within the whole list column, because a card is narrower than the menu.
  • At the narrowest list width, the filter collapses to its icon.
  • Shared rows show a people icon in place of the faces.
  • No dark artboard exists for the list view or See all, so those follow the light C3 artboards (2VP-0 and 37Z-0), drawn with the dark tokens.

Testing. On Flutter 3.47.4, because the repo's 3.47.2 install on this Mac is damaged: flutter analyze is clean and flutter test passes (2119 passed, 8 skipped). New tests cover the media filter, See all, the view toggle and SidebarTimestamp.glance. The 16 desktop goldens are regenerated, and the phone goldens are unchanged.

Open in Capy

@sanjaydotpro
sanjaydotpro changed the base branch from riverbank/settings-modal to main November 17, 2026 03:50
@sanjaydotpro
sanjaydotpro merged commit 55c3c37 into main Nov 17, 2026
4 checks passed
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