Skip to content

Note menu: filing into folders stays usable with many folders - #1631

Merged
vmillet-dev merged 1 commit into
dev/1.1.0from
note-menu-move
Nov 24, 2026
Merged

vmillet-dev merged 1 commit into
dev/1.1.0from
note-menu-move

Conversation

@vmillet-dev

Copy link
Copy Markdown
Owner

Closes #1578

Reproduced on dev/1.1.0: in a library of 42 folders the menu of a note is taller than the window — the spaces and « Move to trash » are out of reach below it — and the longest paths are cut (first capture).

Change

  • One entry, « Move to… », the option the ticket recommends, in place of « File into » and « Move to »: the places take the room of the menu's entries, always 300 × 240. A filter that has the keys, then the spaces with their folders under them as a tree, the note's own space first and where it is lit; a name too long is cut with its path on hover. Picking a space puts the note in it, out of any folder; « No folder » takes it out of its folder; the last three places used are at the top. Arrows, Enter and Escape as in the other filtered menus.
  • A note goes to a folder of another space in one gesture, which neither entry could do; one undo puts it back in the space and the folder it left.
  • The selection bar has the same picker, in place of its two menus; when the row has no room for it, it opens from « … ».
  • The editor's two menus say « Move to a space » and « Move to a folder » to a screen reader, the same verb.
  • A sub-menu scrolls past 320 px (« Remove a tag » of a selection carrying many).

In the core: folders::move_notes_into (new; undone by move_notes_back), and move_notes to the space a note is already in takes it out of its folder rather than doing nothing.

Before After

Tests

  • engine: notes of two spaces into one folder and back where each was, already there, a folder unknown, out of a folder by its own space; the index's oracle draws the new write too.
  • widgets/picker.rs: 300 folders drawn as a few rows, the filter, the arrows past the rows in view, a click.
  • card/actions.rs: filed, moved, to a folder of another space, offered again, the keys alone, the menu's height with 300 folders. header/selection.rs: the row and « … ».
  • e2e 17_folders, 19_board_gesture, 38_recette_notes, run on a hidden desktop: passed.
  • Run: fmt, clippy (workspace, all targets, all features), cargo test --workspace --exclude e2e, prettier and script tests.

@vmillet-dev vmillet-dev added the enhancement New feature or request label Nov 24, 2026
@vmillet-dev
vmillet-dev merged commit 9915496 into dev/1.1.0 Nov 24, 2026
8 checks passed
@vmillet-dev
vmillet-dev deleted the note-menu-move branch November 24, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant