Replies: 8 comments 9 replies
-
Hello @Taitava ! As a source of information about this idea, take a look at these plug-ins: cMenu from Chetachi Customizable Sidebar from Philbro I think you gonna like it :) Have a great day!!!! |
Beta Was this translation helpful? Give feedback.
-
Excellent, @FelipeRearden ! I think I'll postpone this idea. I should add a new section to README.me: Benefits from other plugins . There would be a list of plugins that could be used in combination with this one (cMenu and Customizable Sidebar like you mentioned) and plugins providing alternative functionality (Text Expander, allows you to write and execute shell commands in notes). The idea of implementing icon functionality in this plugin can still be beneficial in the future. It could simplify things for the user: if they only need to add icons related to shell commands, they would not need to install another plugin. On the UI side, this would add one form element to the cog modal/whatever it is, and the user would not have to go to another setting view. This would be a similar icon as in Customizable Sidebar, not like in cMenu. But for now, the ability to use Customisable Sidebar with this plugin is good, and we can concentrate on other ideas. 🙂 cMenu has a different idea than I originally had, but it's clever and maybe some shell commands that utilize |
Beta Was this translation helpful? Give feedback.
-
This is a great idea @Taitava !!! So far, my _Benefits from other plugins _ are: I let you know when I found a new companion plugin to this list I didn’t know about Text Expander - I’m gonna take a look. Thanks for sharing!
100% agree with you. It is just a matter of time. Have a great day! |
Beta Was this translation helpful? Give feedback.
-
I haven't actually used it, but I found it when searching for other plugins that might offer shell command functionality. It's quite rare for me to test new plugins. Maybe I should do it more often. |
Beta Was this translation helpful? Give feedback.
-
You know this plugin far better than I do. Can you write an example advanced Obsidian URI that is very useful to you? I know we have already obsidian://advanced-uri?vault=my%20vault&workspace=main in the README.md's Usage examples section. Does something more come to your mind? I could have a new example in the Benefits from other plugins section. |
Beta Was this translation helpful? Give feedback.
-
I created the Benefits from other plugins section a while ago and now I also added info about QuickAdd. |
Beta Was this translation helpful? Give feedback.
-
Events: Add icons to context menusI updated the first post with information about adding icons to context menus some time later. |
Beta Was this translation helpful? Give feedback.
-
Obsidian supports more icons nowFrom Obsidian forum, topic Obsidian Release v0.13.27 (Insider build):
This is good news so I don't have to import any external library when I'll switch to a larger set of icons. I'm not implementing these icon features/changes anytime soon, so even though Obsidian |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Update on 2022-03-01
There are three different icons related subjects here:
Each of the three subjects should have their own, separate issues created during implementation.
Update on 2022-01-01
Now that events are coming (#60 and #123), I'm planning to warm up this idea of icons again. Events will make it possible to insert shell commands in three different context menus:
At first, shell commands will not have any icons in the menus, but I'd like to add an ability for a user to pick an icon that will appear in the menus.
Original post:
Currently commands can be executed via the command palette or hotkeys. I'm thinking about a third option, you could define certain commands to have an icon button in the left side bar.
Options that you can choose:
A launcher icon has one downside. I can add a tooltip to it so that if you hover over the icon with mouse, it will show a text with the command's alias (or the command itself if no alias is defined), but the tooltip does not support variable previewing. This is simply because tooltips are generated at the same time when the button is generated, so making variables previewable in the tooltips would have a risk of stale values being shown in the tooltips. But now that I think of it, maybe there is a way to hook into the mouse hover event and update the tooltip when the mouse is on an icon. I'll have to think about it.
Beta Was this translation helpful? Give feedback.
All reactions