-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Quick Linking by Auto-Setting UUID #441
Comments
Automatically creating on the book level is a good idea (and roam compatible). I would not auto-create on a heading, as this means that every heading will show up in roam's search. |
Been thinking about a reasonable UX for adding these ID properties to books and notes. Since books are always created in a manual fashion, I believe a checkbox "add book ID property" should be added to the "new book" prompt dialog. We could store the user's last choice and pre-check the box if it was checked the last time. This means one less setting to fiddle with for the user. Alternatively, there could be a setting with three possible values: "always" , "never" and "ask" (the default). The first two options would hide the checkbox. For notes, I don't really see anything better than adding a "add unique note ID property" action to the top right context menu. This should be hidden when editing a note which already has the "ID" property. This would mean that it takes two clicks to add a UUID when creating a new note. But note-creation is not insanely fast and streamlined anyway, so I believe it should be acceptable as a first step. Does anyone have other ideas? |
Thank you for devoting some of your thinking time to this. [...]
In my view, both are good solutions. As hiding the checkbox would provide little advantage over just remembering its state(*), sparing the option slot might be slightly preferable, especially given the need for the (IMHO) more important "add unique note ID property" option (see below). [...]
An action in the context menu feels like going in the right direction but stopping halfway. Why, of all things, not provide a proper option for this one? Creating a new note is likely one of the most frequently performed actions (much more so than e. g. creating a new notebook), and if you want org-roam link compatibility, you need to assign every note an UUID. Every additional tap matters here. As of v1.18.31, efficient creation of UUID-equipped notes mainly suffers from two UX issues:
I think we should hope for 1. to be improved over time, rather than treat its suboptimal current state as a reason to address 2. in a likewise suboptimal way that even increases the number of required taps for an action as frequent as note creation. Should you really want to avoid the additional option, it might be better to always add an unique note ID property. Some users might object the needless (for them) clutter in their org files though, which is why in my view, an option always/ask/never (or perhaps a state remembering checkbox?) would make most sense. (*)This boils down to "clean UI" vs. "clarity/adaptability", and I think neither point clearly dominates the other.(**)This obviously matters more with dedicated keyboards and/or touch accessibility issues. |
I am confused, probably because I'm not familiar enough with org-roam.
You seem to contradict each other, no? |
No, I think it is important to have definitions straight here. In roam the following happens:
These headings, by default, do not get IDs. Only when there is a special operation, such as creating a new interlinked file, will org-roam create an At any point in org-roam a user can call the |
In the manual it says the following:
Lateron the manual explains that org-roam does not create ID's for every heading:
The org-mode manual explains the reference in the manual:
So, when you perform a "special operation", such as creating a new node for org-roam, it will create an id to link it to. Hope this helps. |
@credmp On the actual issue at hand, I suppose we agree that Orgzly isn't going to offer anything near org-roam's customizability, flexibility and sheer power. Therefore, it's important to focus on the few points that really matter in order to get the best mobile, org-roam compatible experience. My primary point is, we should eliminate (rather than perpetuate) the extra effort currently required in Orgzly to create links to other headlines. Doing so obviously requires linkable headlines in the first place.(*) My secondary point is, users should have the choice whether (and where) UUIDs are assigned automatically. Note that we don't have the problem "How can I stop [...] from creating IDs everywhere?" in Orgzly, but rather the opposite: "How can I ensure Orgzly does create linkable IDs wherever needed?"
(*)That is, unless Orgzly learns to create UUIDs "on demand", by allowing the user to choose a link destination even if it doesn't have an UUID yet, and then automatically assigning a new UUID to that destination and adjusting the link accordingly. |
Alright, an option toggle to add UUIDs to all new notes seems simple to add. The property could then be pre-populated when the "edit new note" view shows, so that the user can easily discard it if they want IDs most of the time, with only a few exceptions. So, to combine this "always add" toggle with the context menu choice I mentioned - I feel that should be the current goal. There's not really a reasonable place in the UI for a checkbox or prompt, as I see it. A prompt would have to be an extra dialog before or after the "edit new note" view, and that seems very clunky to me. |
I think that is a great solution! Pre-population based on a setting seems to be a great choice here. |
…-setting-uuid Issue #441: Option toggle to add ID property to all new notes
Note: This is a sibling issue to #347 , it focusses on (a) rather than (b) (see below). Shared parts are marked italic.
When mapping complex, inter-linked topics, links to other notes can prove extremely helpful. As of Orgzly Revived 1.8.27, they are perfectly possible, but require you to either
Both ways feel like moot, monotonous tasks that put a significant burden on efficient, high-volume note creation.
The linking workflow would get a lot smoother if Orgzly offered an option to automatically generate and assign UUIDs to the
ID
field of every new note. There's no point whatsoever in users either having to perform those steps manually for every note, or being unable to link to it.We could even go as far as to auto-assign UUIDs no questions asked, but the current non-option really doesn't make sense. Ideally, users should be able to set links to any note along the way, by typing
[[
, possibly followed by a title substring, then selecting the destination from available title completions (like you can select tags from the completions dropdown in the Tags field).By activating this option, users could save themselves the hassle of manually generating an UUID externally (if they even manage to do that) and transferring it to the ID field, for every single note.
Moreover, this would substantially improve org-roam compatibility (see #174).
The text was updated successfully, but these errors were encountered: