Skip to content

Epic: Introduce Actions page to the Settings UI #6900

Open

Description

written and maintained by Carlos Zamora (@carlos-zamora)

Description

A largely missing part of the Settings UI is actions. This will allow the user to customize their command palette and key bindings without the need to go into the JSON.

Much like the implementation plan for the Settings UI, there are many moving pieces to this that are outside of the TerminalSettingsEditor project:

Some follow-up work items:

  • Key chord editor/listener
    • Instead of parsing key chord text, it'd be nice if we could listen for key chords.
    • Inspiration: We should take a look at how PowerToys got around this problem.
    • Inspiration: An old version of SUI also had this implemented (back during the hackathon).
    • PR Add a KeyChordListener to the Settings UI #10652
  • "the unbound bug"
    • Edit switchToTab to win+shift+q. Save. Edit switchToTab to ctrl+shift+t.
    • "unbound": "win+shift+q" appears but doesn't need to exist.
  • Actions::_GetContainerIndexByKeyChord optimization
    • We're just doing a O(n) search for a matching key chord, but we could technically do this much faster.
    • The list is already sorted by command name, so if we...
      1. use GetActionByKeyChord() to get the Command
      2. perform a binary search on the list using Command::Name() (assuming it has a name)
    • we should be able to accomplish this search in O(log n) time (usually)'
  • Performance
    • Clicking Actions in the left bar of Settings takes about 3 seconds to load and doesn't cache/keep it
  • Keybinding editor could be clearer #11341

Bugs:

References

#7175 should be kept in mind during this design.

Activity

  1. changed the title [-][Reserved for future use][/-] [+]Epic: Introduce Actions page to the Settings UI[/+] on Feb 11, 2021
  2. added
    Area-SettingsUI
    Product-Terminal
    and removed
    ⛺ Reserved
    on Feb 11, 2021
  3. ghost added a commit that references this issue on May 18, 2021
  4. ghost added a commit that references this issue on May 20, 2021
  5. gpotter2 commented on May 27, 2021

    @gpotter2

    You can add your feedback as comments in this issue

    Here are some personal suggestions regarding the UI. Sorry if I missed something, I didn't try out #10220 yet

    • Group the actions by category (e.g. Keybinds that handle tabs, keybinds that handle panes, custom keybinds...). This will make it infinetly more user friendly. Alphabetical sorting (current) isn't really useful, when even the default order of ALL_SHORTCUT_ACTIONS is better.
    • (I personally thought it would have been fancier if simply clicking on the key combo allowed to replace it instead of having to click on the pencil that only appears once the cursor is already on said key combo)

    Also massive +1 on follow-up - Key chord editor/listener. That would be pretty life-changing

    Thanks again for this amazing work

  6. ghost added a commit that references this issue on Jun 14, 2021
  7. 19 remaining items

  8. added a commit that references this issue on Aug 26, 2023
  9. added a commit that references this issue on Nov 24, 2023
  10. added a commit that references this issue on Jan 30, 2024
  11. added a commit that references this issue on Apr 14, 2024
  12. added a commit that references this issue on Jun 17, 2024
  13. added a commit that references this issue on Jul 8, 2024
  14. added a commit that references this issue on Nov 4, 2025
  15. added a commit that references this issue on Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-SettingsUIIssue-ScenarioProduct-Terminal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions