mgsloan / todoist-shortcuts

Browser extension which adds comprehensive keyboard shortcuts to Todoist, beyond what is offered by Todoist itself
MIT License
313 stars 23 forks source link

Navigate includes Filters and Labels list, if visible #262

Closed adamleerich closed 8 months ago

adamleerich commented 9 months ago

Hello @mgsloan, this change adds the list of Filters and Labels back into the navigation shortcuts when that screen is visible, like it used to be long ago when Filters and Labels were in the navigation pane below projects. If F&L are not visible typing g fl will open that screen, then g again will show shortcuts next to each F&L just as it does for items in the navigation pane.

The selectors section[aria-label=Labels] and section[aria-label=Filters] are applied to the document object, but they return unique objects even as coarse as they are. Let me know if you want to refine it!

Thanks! --Adam

adamleerich commented 8 months ago

@mgsloan please let me know if you have any questions about this!

mgsloan commented 8 months ago

Thank you! I've updated the position of the tips in filters&labels view and made it so that navigation mode continues when filters&labels is selected.