summaryrefslogtreecommitdiffstats
path: root/pkg/gui/mergeconflicts
AgeCommit message (Collapse)Author
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.
2023-02-25migrate patch building testsJesse Duffield
2022-08-07move merge conflicts code into controllerJesse Duffield
2022-05-07more documentationJesse Duffield
2022-04-06feat(merge_panel): Add open/edit files in merge conflict panelRyooooooga
2022-03-19update lintersJesse Duffield
2022-03-17move more view model logic into the files view modelJesse Duffield
2022-01-27better locking of merge panel stateJesse Duffield
2022-01-26improve merge conflict flowJesse Duffield
2021-08-25Address feedbackJesse Duffield
2021-08-25Minor refactorJesse Duffield
2021-08-25Fix `pick all hunks`Ryooooooga
2021-08-25simplify merge panel logicRyooooooga
2021-08-25add mergeConflict#hasAncestorRyooooooga
2021-08-25Fix conflict resolutionRyooooooga
2021-08-25Support `git config merge.conflictStyle diff3`Ryooooooga
2021-08-21Fix panic in merge conflictRyooooooga
2021-08-01color fixupsJesse Duffield
2021-07-31simplify code a bitJesse Duffield
2021-07-30Switch to github.com/gookit/color for terminal colorsmjarkk
2021-06-05prevent closure issueJesse Duffield
2021-06-05not importing regexpJesse Duffield
2021-06-05more explicitJesse Duffield
2021-06-05Discard value after END markerCristian Betivu
2021-06-05More generic merge conflict detectionCristian Betivu
2021-06-02refactorJesse Duffield
2021-05-30Handle alternate merge conflict format; add testsHarrison Jones
2021-04-18refactor merge panelJesse Duffield
2021-04-02refactorJesse Duffield