org-transclusion icon indicating copy to clipboard operation
org-transclusion copied to clipboard

Dev/menu - Discussion #169

Open nobiot opened this issue 2 years ago • 1 comments

Explore UX improvement for when adding additional properties to #+transclude. See #169. The idea is simple and goes like this:

  1. Create a set of functions, each of which handles adding/removing a property to the #+transclude: keyword
  2. These can be added to keybinding

This way, the underlying menu does not have to be constructed via Hydra. I guess it can be Transient, Which-key, or the built-in menu system.

nobiot avatar Apr 23 '23 15:04 nobiot

Seems using which-key as interface is the simplest way, it only need to define a keymap prefix. Then define all commands keybindings under this prefix so that which-key can show those commands.

Transient is the best UI which supports suffix, prefix etc. Which it will support modify and see the instant change as awesome as Magit. Also can support future features may requires complex operations. (So I suggest to use transient.)

stardiviner avatar Apr 23 '23 16:04 stardiviner