Done
Labels
enhancementNew feature or request
Milestone
Description
Context — The options menu of a note grows with the number of folders, becomes unreadable and names go out of it. The menu has both Ranger dans and Déplacer vers, which are not clearly different. Reported on 1.0.3.
Change — Two entries with one verb (Move to folder, Move to space), or one Move to entry, open a picker of fixed height: a filter, the folder tree, long names cut with an ellipsis, recent folders on top; the menu itself no longer grows. Note: Ranger dans files into a folder of the same space, Déplacer vers moves to another space; they are not duplicates, the vocabulary is the problem. Proposal and fork: see the technical analysis comment.
To do
- Decide on the vocabulary and the entries.
- Picker with filter and tree; reuse it for the bulk action.
- Keyboard use of the picker.
Tests — Unit test on the picker with 300 folders; e2e on moving a note.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
vmillet-dev commentedon Nov 18, 2026
Technical analysis — and a correction to the ticket
The two entries are not duplicates; I had that wrong. In
notes/canvas/card/actions.rsthe note's menu has two sections:FILE_INTO,filing, line 288): the folders of the note's own space, as a flat list of paths (Runbooks › SQL), plus "no folder". One entry per folder with no limit: that is why the menu grows and long paths overflow.MOVE_TO_SPACE,moving, line 360): the other spaces; moving there takes the note out of its folder.So the confusion is vocabulary ("ranger" and "déplacer" both mean "put elsewhere") and two granularity levels sharing one flat menu.
Proposal (to validate).
ChoiceMenuwith filter and a 240 px cap,menu.rs:447), not a list inside the menu, so the note's menu keeps its height whatever the number of folders. The folder picker shows the tree indented (nota › b › cpaths), the current folder ticked, "No folder" at the top, names cut with an ellipsis and a tooltip.header/selection.rs:228selection-move,:254selection-file), which already usesChoiceMenu.Fork for the owner. One entry "Move to…" opening one picker with the spaces as groups and their folders under them (one gesture for both), or the two entries above. Recommended: the single picker, since spaces are few and it removes the question "which one do I want?".
Files.
notes/canvas/card/actions.rs(filing,moving),widgets/menu.rs(a tree picker),header/selection.rs,crates/i18n/translations/{fr,en}.json(fileInto,moveToSpace). Depends on #1576.1.1.0: captures of #1578
vmillet-dev commentedon Nov 24, 2026
Fixed by #1631, merged into
dev/1.1.0.