Coder Social home page Coder Social logo

Comments (12)

thingnotok avatar thingnotok commented on August 20, 2024 1

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.

replete avatar replete commented on August 20, 2024 1

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.

thingnotok avatar thingnotok commented on August 20, 2024

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.

replete avatar replete commented on August 20, 2024

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)

Screenshot 2023-02-24 at 19 27 53

  • 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.

replete avatar replete commented on August 20, 2024

Screenshot 2023-02-24 at 20 14 15

from obsidian-toggle-list.

replete avatar replete commented on August 20, 2024

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?)

image

Similar thing when right-clicking on hashtags (global set group I guess):

Screenshot 2023-02-24 at 20 13 52

from obsidian-toggle-list.

replete avatar replete commented on August 20, 2024

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:
Screenshot 2023-02-25 at 21 34 54

Screenshot 2023-02-25 at 21 35 54

from obsidian-toggle-list.

thingnotok avatar thingnotok commented on August 20, 2024

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.

replete avatar replete commented on August 20, 2024

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.

thingnotok avatar thingnotok commented on August 20, 2024

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.

replete avatar replete commented on August 20, 2024

screencast 2023-02-27 14-43-08

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.

thingnotok avatar thingnotok commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.