Comments (12)
Hi, I have implemented a popout window with Obsidian's native suggestion editor that can be triggered with a hotkey. For mouse interaction, I think we can add a floating box either at the beginning or end of the matched lines to enable it.
from obsidian-toggle-list.
Disabled Tasks, reloaded Obsidian, same problem. So it's probably something else in there. I will triage when I get a chance.
Thanks for looking into this.
from obsidian-toggle-list.
Hello! Thank you for sharing your thoughts and giving feedback on the project.
Regarding your tag request, have you had a chance to try out the suffix feature? I believe it might be just what you're looking for. To toggle the status of a todo list containing tags like #todo, #later, and #pending, you can set it up like this:
- [ ]
- [ ] || #todo
- [ ] || #later
- [ ] || #pending
As for your suggestion for a tag selection UI, I really appreciate your idea. Not only for tags, but I believe having a UI for all state groups would be very useful as well. I plan to work on implementing this in my free time, and I welcome any contributions you might have. 😄
from obsidian-toggle-list.
Sleep deprivation is real. 🤦
Just had a quick think on how contextual GUI could work.
In a normal task management app, right clicking a task is often a primary method of setting properties, so I made a quick mockup of a solution (requires native context menus disabled of course)
- Monkey patch
.menu
with toggletask context UI (assuming custom layout in menu not possible otherwise) - On right click of Checkbox or tag, show toggletask context UI
- OR on right click of line without a selection, show toggletask context UI
- Task states rendered from text (have some ideas on how this could work)
- Tag clicks don't close context menu (preventDefault type thing maybe) allowing multi choice
Ignore styles, just a quick comp. Should be able to use theme styles with clever CSS trickery.
Problem with popovers and this kind of UI, is they often get in the way, get stuck, and I end up disabling them (at least I have with multiple plugins).
from obsidian-toggle-list.
from obsidian-toggle-list.
Another idea, is to bring up a small popover when right clicking a checkbox, overriding the normal menu showing up in-situ like this, although this would be global UI (set group as global?)
Similar thing when right-clicking on hashtags (global set group I guess):
from obsidian-toggle-list.
That was quick! Thanks for doing this, it's a great feature.
For me, I only get the the hashtag popover after setting the hotkey for the POP stategroup:
from obsidian-toggle-list.
Hi, thank you for providing feedback. Please note that the suggestion editor in Togglelist has a lower priority than the native tag suggestion feature. Therefore, if your cursor is currently on a tag, any updates to the document will only trigger the tag suggestion. Is this the issue that you are experiencing?
from obsidian-toggle-list.
I set 'Status Tag' to CTRL+S, the only effect is the tag dropdown appearing if the cursor is after the first hashtags pound symbol, and nothing if before.
from obsidian-toggle-list.
Hi, I tried to replicate your setting and here’s what I found.
The popover window only appears when the cursor is not on the tag. Could you please provide more details? A screen recording would be very helpful for me to assist you
Screen.Recording.2023-02-27.at.22.09.24.mov
from obsidian-toggle-list.
That tag popover only happens because of your plugin, but the other side does not.
Could be a plugin interference, but they are fairly tame:
- Enabled plugins:
['templater-obsidian', 'dataview', 'calendar', 'settings-search', 'cmdr', 'periodic-notes', 'heatmap-calendar', 'obsidian-hide-sidebars-when-narrow', 'hotkeysplus-obsidian', 'obsidian-minimal-settings', 'obsidian-custom-frames', 'open-vscode', 'quickadd', 'mysnippets-plugin', 'obsidian-day-planner', 'dbfolder', 'no-dupe-leaves', 'cm-editor-syntax-highlight-obsidian', 'obsidian-toggle-list', 'custom-sort', 'obsidian-icon-folder', 'omnisearch', 'obsidian-task-progress-bar', 'table-editor-obsidian', 'auto-class', 'make-md', 'nldates-obsidian', 'obsidian-attachment-name-formatting', 'obsidian-tabs', 'obsidian-hotkeys-for-specific-files', 'obsidian-tasks-plugin', 'folder-note-plugin', 'obsidian-hover-editor', 'file-explorer-note-count', 'obsidian-quiet-outline', 'obsidian-fullscreen-plugin']
from obsidian-toggle-list.
I can now reproduce it. The suggestion editor will not show when 'obsidian-tasks-plugin' or 'completr' is enabled. Can you try disable 'obsidian-tasks-plugin' and reload obsidian?
from obsidian-toggle-list.
Related Issues (20)
- Probably a user error, but possible a bug: only first state group (tasks) works? ("reopening" issue 11) HOT 5
- Performance Issue HOT 2
- [Idea] Interactive state diagram to setup state groups
- [Idea] Using hotkey when suggestion editor is opened should move to next state
- Add doc to show how to setup on mobile client
- [Feature] Allow user to select icon for action/commands (for mobile) HOT 1
- Feature Request: add option to diable suggestion box when there are only two states in a state group. HOT 4
- Bug: hotkeys for binded state group commands don't work after renaming the command. HOT 5
- {tasks-today} shows tomorrow instead of today HOT 2
- Support {task-created-today} HOT 3
- Keep preferences from being reset to default when the plugin is updated HOT 1
- Add support for ordered list
- Toggle task status will broken the reference id HOT 3
- Allow for a description in suggestion window
- Error in the console HOT 2
- List Callouts CSS HOT 1
- Why this plugin has 184487 lines of code? HOT 7
- Toggling breaks if {time:: YYYY/MM/DD} formatting used
- Feature Request: more flexibility to define transitions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-toggle-list.