Skip to content

A note's properties are spread over four surfaces and no surface is complete #182

Description

@vmillet-dev

Where each of a note's properties can be changed:

editor card ⋯ selection bar board keyboard
title, body, source, tags, deadline, language
pinned P
space
folder drag
delete Suppr
copy pill C

Two consequences that cost clicks every day:

  • Filing a note into a folder from the date view takes three clicks — tick the card, open "Ranger dans", choose — plus a fourth to clear the selection. It is the central gesture of the feature that was just shipped, and the only single-note way to do it is to switch to the board and drag.
  • Pinning with the mouse takes three clicks and a full-screen modal — open, Épingler, Fermer — for a boolean that has its own filter chip in the header. The keyboard does it in one key (P), and nothing on the canvas says so.

The editor, which is the one surface that claims to be about a single note, is the one that cannot move it: no space, no folder.

Shape

  • The card's ⋯ menu becomes the complete one: ouvrir, épingler, copier, ranger dans…, déplacer vers…, supprimer. It already has the move-to-space list and the delete; the two additions are the pin and the folder.
  • The editor's toolbar gains the same two placements. ⚠️ A folder belongs to one space, so moving a note's space clears its folder — NotePatch::apply already does this, and the two controls have to be shown together or the second one lies.
  • ⚠️ Filing is not a NotePatch field. file_notes / file_notes_back is a batch command of its own and answers the filings it changed, which is what the undo reads. A single-note filing is a batch of one, not a new command.
  • ⚠️ The move-to-space list is flat and grows with the library. Past a handful of spaces it needs the command palette rather than a longer menu.

Done when

Filing one note into a folder is one gesture from the card and one from the editor, pinning is reachable with the mouse without opening anything, and both surfaces agree on what a note has.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions