grub-basket_SP/release-notes/0.164.5.md

2.2 KiB

0.164.5

Overhauls ordering and drag-and-drop in the folder panel, and tidies up how its rows and section-header buttons look.

Pinned section

  • Pinned folders and pinned notes now share one order. A pinned folder and a pinned note sit in the same list and reorder together, rather than folders being locked above notes. Newly pinned items (folder or note) land at the bottom.
  • Drag to reorder. Dragging a pinned item rewrites its position between its neighbors — notes persist via their pinnedAt frontmatter, folders via a new per-folder order key, so both stay consistent with the Folders section below.
  • Group-by-folder view. When grouping pinned notes under their folder headers, a pinned folder nests under its own group's header only if that group actually has pinned notes; otherwise it shows as a standalone row ahead of the groups. Group order is stable (by each group's earliest pin) instead of jumping around as you navigate between folders.
  • Rearrange within a group. In group-by-folder view you can now drag items around inside a single group. That within-group order is stored separately from the flat pin order, so switching between the two view modes no longer resets either arrangement.
  • Cleaner folder rows. Folder rows in the Pinned section no longer show the "open in a tab" dot or the pin icon — everything in this section is already pinned, so the pin marker was redundant, and the open-state dot belongs to the Folders section.

Folders section

  • Reorder pinned folders by dragging; the remaining unpinned folders sort alphabetically, case-insensitive, by their display name. Newly pinned folders append to the bottom of the pinned run.

Drag feedback (both sections)

  • A clear accent drop-line now appears at the top or bottom edge of the row you'd drop onto, drawn on a layer above the rows so it reads against any row color, and the row being dragged fades so the guide shows through.

Buttons

  • The three section-header buttons — Pinned view options (sort/group) plus New folder and Open trash — get a thin border in your accent color and fill with the accent on hover, so they read as buttons rather than bare glyphs.