Open sbcgua opened 1 year ago
Currently, menu items are hidden if there are no changes. Let's just remove this "if" and always show these items (which should enable the "s" shortcut again). If there's nothing to do, AG should show an info message (so you stay on the repo view).
Actually, maybe it's the right idea.
It makes sense to keep shortcuts and menu in sync. It is also makes sense to keep the toolbar clean from the undoable commands. I though that maybe, if is_unchanged
, the commands should looks like Attempt stage
, Attempt pull
to reflect their uncertain nature. But this will be confusing. And the texts are long. And both starts from the same word. So it sucks. Maybe showing Stage/Pull always is the best compromise.
Showing always is least confusing. Stage and pull refresh automatically. If there are no diffs, it should just show an info message.
Notes: maybe by the way reconsider toolbar look. E.g.
bold: means "no sub-menus"... so it's kind of major order: pull, stage, diff, patch, refresh... makes sense highlight/separator: doesn't make any difference for me icons: doesn't make any difference for me (the general sap trend is to avoid icons and use translatable text) underscore: nah, you either know the key or press ?
The repo overview toolbar is actually nice and clean
agree. remove "bold", make menu order the same?
No final design yet, just collecting thoughts and ideas for the moment
From slack:
I'm up to returning this "feature" if noone objects. It feels really less efficient without it, especially with larger repos.