summaryrefslogtreecommitdiffstats
path: root/schema
AgeCommit message (Collapse)Author
5 daysMake Keybindings definition in UserConfig struct lastKarim Khaleel
This makes the generated default config in Config.md match the original order.
5 daysSet default value for WindowSize config to pass validationKarim Khaleel
5 daysRemove unnecesary schema validations in user configKarim Khaleel
2024-05-01Add commitPrefix for defining a prefix for any projectJonathan Duck
2024-04-27Add config option for length of commit hash displayed in commits viewOlivia Bahr
- Add config option `commitHashLength` to to pkg/config/user_config.go - Changed the hash display in pkg/gui/presentation/commits.go
2024-04-10Add StatusPanelView configoakio
2024-04-06Add `SpinnerConfig`Artem Belyakov
This new config section allows to customize frames and rate of thespinner
2024-03-22Add config to truncate commit hashes when copying them to the clipboardStefan Haller
I often copy hashes in the commits panel in order to paste them into Github comments (or other places), and I can't stand it when they have the full length. I picked a default of 12 for this; I find this to be a good middle ground between being reliable in large repos (12 still works in the linux kernel repo today, but it might not be enough in really huge repos) and not being too ugly (many smaller repos can probably get away with less). We deliberately don't change this for the "Copy to clipboard" menu, since this gives users a way to copy the unabbreviated sha if they need this occasionally.
2024-03-17Default to substring filtering, add option to go back to fuzzy filteringStefan Haller
By default we now search for substrings; you can search for multiple substrings by separating them with spaces. Add a config option gui.filterMode that can be set to 'fuzzy' to switch back to the previous behavior.
2024-03-11Add a commit menu to the commit message panelAbhishek Keshri
And move the "switch to editor" command into this menu. So far this is the only entry, but we'll add another one in the next commit.
2024-03-11Make keybindings for the "Amend attribute" menu configurableAbhishek Keshri
2024-03-09Add config for soft-wrapping the commit message bodyStefan Haller
2024-02-16Deprecate git.log.showGraph and git.log.order configAlex March
Added identical properties to AppState that should eventually have their defaults set.
2024-02-13Change default of git.log.showGraph to 'always'Stefan Haller
Most people seem to prefer it to be on.
2024-01-22Add config setting to suppress showing file iconsStefan Haller
2024-01-19Support select range for cherry pickJesse Duffield
This requires us to change the 'v' keybinding for paste to something else, now that 'v' is used globally for toggling range select. So I'm using 'shift+v' and I'm likewise changing 'c' to 'shift+c' for copying, so that they're consistent. We will need to clearly communicate this change in keybindings.
2024-01-19Standardise display of range selection across viewsJesse Duffield
We're not fully standardising here: different contexts can store their range state however they like. What we are standardising on is that now the view is always responsible for highlighting the selected lines, meaning the context/controller needs to tell the view where the range start is. Two convenient benefits from this change: 1) we no longer need bespoke code in integration tests for asserting on selected lines because we can just ask the view 2) line selection in staging/patch-building/merge-conflicts views now look the same as in list views i.e. the highlight applies to the whole line (including trailing space) I also noticed a bug with merge conflicts not rendering the selection on focus though I suspect it wasn't a bug with any real consequences when the view wasn't displaying the selection. I'm going to scrap the selectedRangeBgColor config and just let it use the single line background color. Hopefully nobody cares, but there's really no need for an extra config.
2024-01-19Add range selection ability on list contextsJesse Duffield
This adds range select ability in two ways: 1) Sticky: like what we already have with the staging view i.e. press v then use arrow keys 2) Non-sticky: where you just use shift+up/down to expand the range The state machine works like this: (no range, press 'v') -> sticky range (no range, press arrow) -> no range (no range, press shift+arrow) -> nonsticky range (sticky range, press 'v') -> no range (sticky range, press arrow) -> sticky range (sticky range, press shift+arrow) -> nonsticky range (nonsticky range, press 'v') -> no range (nonsticky range, press arrow) -> no range (nonsticky range, press shift+arrow) -> nonsticky range
2024-01-13Add ability to start an interactive rebase onto an appropriate baseJesse Duffield
A common issue I have is that I want to move a commit from the top of my branch all the way down to the first commit on the branch. To do that, I need to navigate down to the first commit on my branch, press 'e' to start an interactive rebase, then navigate back up to the top of the branch, then move my commit back down to the base. This is annoying. Similarly annoying is moving the commit one-by-one without explicitly starting an interactive rebase, because then each individual step is its own rebase which takes a while in aggregate. This PR allows you to press 'i' from the commits view to start an interactive rebase from an 'appropriate' base. By appropriate, we mean that we want to start from the HEAD and stop when we reach the first merge commit or commit on the main branch. This may end up including more commits than you need, but it doesn't make a difference.
2024-01-10Add command to find base commit for creating a fixupStefan Haller
2024-01-09Add config setting for side panel location (left or top) in half screen modeStefan Haller
2024-01-09Update cheat sheets and json schemaStefan Haller
2023-12-22Implement a sort order menu for remote branchesAlex March
2023-12-15fix(config): add yaml struct tag to `CustomCommandPrompt.[]Options`Emre Deger
add `yaml` struct tag for fixing uppercase issue on json schema
2023-12-07chore: update jsonschemaAzraelSec
2023-12-02Add UserConfig jsonschema generation scriptKarim Khaleel