Skip to content
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

[FEATURE] Easily create child/sibling with Aliases (or Not) using Command #56

Open
electblake opened this issue Oct 24, 2023 · 0 comments

Comments

@electblake
Copy link
Contributor

Requested Feature

Relates To

Is your feature request related to a problem? Please describe.

I love the newly added alias settings and it makes searching and linking cleaner, BUT sometimes I DO want the ZK prefixes in my links when using the Commands, ie. to not use the useLinkAlias setting.

My use-case here is that sometimes I want to easily see the note is ordered below my current notes' ZK rather than being a link from outside my ZK (likely in another ZK with another prefix), for example:

I use Unique Notes Plugin to create notes like:

my-journal/202310161507 my note today

Which is great because I can create children under this note easily with the Create Child command, so I get notes like:

my-journal/202310161507 my note today
my-journal/202310161507a more thoughts on today
my-journal/202310161507b final thoughts on today, where I reference more permanent ZK notes
...

But I also have more permanent ZKs I often reference in my journal like:

tech1a3b - MacOS Software
work2a1 - Quarterly Goals

so in practice, I find it confusing to use aliases within my journal, and prefer not to use link aliases here and rather use raw filenames so I can more easily see which are journal notes and which are permanent ZK notes...

BUT since I love useLinkAlias everywhere but journal, I keep useLinkAlias turned on, I end up just manually removing link aliases from children as I create them - what a chore! lol

Solution

Describe the solution you'd like

I believe the simplest solution is to create a new command which would appear as: "Luhman: Toggle 'Use title alias in created link'" (or similar language to mirror settings page)

This command would:

  • Quickly toggle between useLinkAlias setting
  • Now when switching ZKs (ie. navigating to a different ZK page) useLinkAlias can be toggled
  • This has benefit that its simpler and dog-foods more of the existing code, it's just a toggle command

There is an issue with knowing whether useLinkAlias is currently enabled or not.

  • In the short term we can simple include a notification on command so you can always trigger command to check status
  • Long term, I'd even consider adding luhman into the status bar - it could show this useLinkStatus and include other details like current ZK, and quick link to root of the ZK, siblings, etc.

IMHO, the status bar is out of scope of this feature - and would not likely be all that effective on mobile anyway, so I'd suggest we discuss status bar potentials at a later time.

Considerations

Describe alternatives you've considered

Today, I just keep my most used setting and manually edit out aliases - slows me down.

Additional context

Add any other context or screenshots about the feature request here.

I am the one who contributed this feature, and am happy to build it out - please let me know if you have any preferences or input into the solution described and I'll incorporate into my fork 👍🏼

@electblake electblake changed the title [FEATURE] Create Child/Sibling Command with Alias Settings Manually [FEATURE] Easily create child/sibling with Aliases (or Not) using Command Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant