Add initial docs for command, editor, keybind, palette

This commit is contained in:
Igor Támara 2025-10-19 01:05:57 -05:00 committed by CJ van den Berg
parent 1964cb7fd6
commit ca131d2135
4 changed files with 366 additions and 0 deletions

View file

@ -0,0 +1,24 @@
---
.title = "Palettes",
.date = @date("2025-10-20T00:00:00"),
.author = "Igor Támara",
.layout = "tutorial.shtml",
.draft = false,
.custom = { .githubedit = "https://github.com/neurocyte/flow-website/tree/master/content/docs/architecture/palette.md"},
---
Palettes are overlay menus that allow to select an item from the
presented list, applying a command with the selected element,
optionally deleting the selected item; it's possible to close
the palette without selecting(cancel), filter the elements, and
having special elements that trigger different actions.
To get the most of this section, it's recommended to have
read about [commands](/docs/architecture/command), and optionally
[minimodes](/docs/architecture/minimode).
See
[clipboard history palette](https://github.com/neurocyte/flow/commit/634a18cb5685a3c3fcfc08301306e628d33c3256)