summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/menu_controller.go
AgeCommit message (Collapse)Author
2023-07-20Fix crash on empty menuJesse Duffield
When a menu is empty (e.g. due to filtering) we shouldn't crash on focus or selection
2023-05-25Use sentence case everywhereJesse Duffield
We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE. Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything is in 'Sentence case' there's no need for the distinction. I've got a couple lower case things I've kept: namely, things that show up in parentheses.
2023-05-21Apply strikethrough style to reserved keybindings in menusJesse Duffield
If a given menu item has an associated keybinding of 'enter', hitting enter won't actually execute that item unless your cursor is on it. This creates confusion, and so we're going to use a strikethrough style to communicate that the keybinding is reserved for something else.
2023-04-30lots of changesJesse Duffield
2023-04-30standardise controller helper methodsJesse Duffield
2023-04-30lots more refactoringJesse Duffield
2023-04-30Begin refactoring guiJesse Duffield
This begins a big refactor of moving more code out of the Gui struct into contexts, controllers, and helpers. We also move some code into structs in the gui package purely for the sake of better encapsulation
2023-03-09Remove alternative confirmation and return keymappingsLuka Markušić
2023-02-11chore: change to work `return-alt1` on all viewsRyooooooga
2022-03-27allow menu to store keybindings for quick menu navigationJesse Duffield
2022-03-27refactor menu contextJesse Duffield
2022-03-17fix click handlingJesse Duffield
2022-03-17refactor controllersJesse Duffield
2022-03-17refactor contextsJesse Duffield
2022-03-17more refactoringJesse Duffield
2022-03-17refactor keybindingsJesse Duffield
2022-03-17no more indirectionJesse Duffield
2022-03-17refactor contexts codeJesse Duffield
2022-03-17fix some thingsJesse Duffield
2022-03-17start moving commit panel handlers into controllerJesse Duffield
more and more move rebase commit refreshing into existing abstraction and more and more WIP and more handling clicks properly fix merge conflicts update cheatsheet lots more preparation to start moving things into controllers WIP better typing expand on remotes controller moving more code into controllers