Commit Graph

62 Commits

Author SHA1 Message Date
Abdelilah El Aissaoui
cbcb13d730 Fixed text selection when using split diff 2022-08-24 04:43:05 +02:00
Abdelilah El Aissaoui
74f4d22856 Removed unnecessary opt-in annotations 2022-08-06 21:06:36 +02:00
Abdelilah El Aissaoui
00d95b6feb Project code cleanup 2022-08-06 21:03:45 +02:00
Abdelilah El Aissaoui
02906a253d Implemented keybinding management
This feature allows to easily add new keybindings (programmatically) to features accross the app.

Should also fix the issue that https://github.com/JetpackDuba/Gitnuro/pull/13 tried to solve
2022-07-22 20:34:36 +02:00
Abdelilah El Aissaoui
d93e634a5c Unified fonts styles 2022-07-10 16:04:03 +02:00
Abdelilah El Aissaoui
4c48cd995e Implemented manual refresh with F5 2022-06-27 20:36:24 +02:00
Abdelilah El Aissaoui
6599f2f861 Side panel now is a single big list with local branches and stashes expanded by default 2022-06-26 18:46:48 +02:00
Abdelilah El Aissaoui
32fae01e6e Improved rebase interactive design 2022-06-23 19:28:21 +02:00
Abdelilah El Aissaoui
0186a3ac90 Implemented rebase interactive resuming 2022-06-23 14:04:38 +02:00
Abdelilah El Aissaoui
ab8e8c7dbe Added dialog to edit author info 2022-06-22 00:53:10 +02:00
Abdelilah El Aissaoui
43330eb3c4 Added option to load custom themes.
Fixes https://github.com/JetpackDuba/Gitnuro/issues/3
2022-06-19 22:49:41 +02:00
Abdelilah El Aissaoui
3bea4f22e8 Added bottom status bar 2022-06-19 16:10:57 +02:00
Abdelilah El Aissaoui
656ac42d17 Fixed diff inconsistencies and cleared diffViewModel when not used
Weird bug where clicking on an entry to diff after staging a file that was being displayed would end up in the diff being completly closed. Clearing the previous viewmodel from memory fixes the issue.
2022-06-17 04:19:47 +02:00
Abdelilah El Aissaoui
878f6704d6 Fixed paddings around the menu bar 2022-06-11 13:36:43 +02:00
Abdelilah El Aissaoui
7156a976dc Added option to stash with a custom message 2022-06-07 20:08:21 +02:00
Abdelilah El Aissaoui
9ea8d0c99a Added new UI design 2022-06-06 02:44:18 +02:00
Abdelilah El Aissaoui
969233ec99 Added "File history" feature 2022-05-30 01:43:44 +02:00
Abdelilah El Aissaoui
eca68aaf07 Multiple blame improvements
- Clicking on a diff now minimizes the blame
- Clicking on a commit of the blame will select this commit in the log and show the commit changes.
- Unified design of Diff and Blame
2022-05-27 19:50:41 +02:00
Abdelilah El Aissaoui
8e366741ac Added basic version of blame 2022-05-26 23:40:15 +02:00
Abdelilah El Aissaoui
51d79cff8f Reimplemented rebase interactive as a part of the tab instead of a dialog 2022-05-22 00:47:36 +02:00
Abdelilah El Aissaoui
4f84c38fb4 Started replacement of the old tabs system with the new one 2022-04-08 21:30:13 +02:00
Abdelilah El Aissaoui
54a1ab4436 Added loading screen when opening a repository 2022-04-01 05:00:06 +02:00
Abdelilah El Aissaoui
3352444371 Disabled the option to stage/unstage hunks when the repository is not in a safe state 2022-03-03 20:27:11 +01:00
Abdelilah El Aissaoui
dd56ccf2fc Now uncommited changes shows which diff entry has been clicked
Also refactored selected index from commit changes to use the same logic as uncommited changes
2022-02-24 15:41:10 +01:00
Abdelilah El Aissaoui
fb377b9554 Changed graph border width and corner shape 2022-02-18 15:30:46 +01:00
Abdelilah El Aissaoui
82d9479e55 Changed multiple elements colors
Button and log border
2022-02-18 15:03:52 +01:00
Abdelilah El Aissaoui
02313fe632 Implemented context menu for stash operations
Moved selected item to TabState, so every ViewModel can update the current selected tab state without having to use callbacks to the RepoOpened component. This allows to set currently selected item to "None" when droping a stash that has been selected
2022-02-06 22:57:46 +01:00
Abdelilah El Aissaoui
07703a66be Added remote branch deletion 2022-02-04 18:53:21 +01:00
Abdelilah El Aissaoui
a3ff073b54 Fixed project's formatting 2022-02-02 00:26:46 +01:00
Abdelilah El Aissaoui
6ca1e15ce8 UI improvements 2022-01-31 15:15:05 +01:00
Abdelilah El Aissaoui
1508e27b13 Fixed warnings and removed unused code 2022-01-05 03:19:52 +01:00
Abdelilah El Aissaoui
97a082bc47 Completed arch refactor 2022-01-04 19:54:56 +01:00
Abdelilah El Aissaoui
e6619cbd4b Diff scroll is now preserved when changing the diff entry
The scroll is stored in the view model and only resetted when changing to a different file or state (staged/unstaged version of the same file).
2022-01-03 22:59:35 +01:00
Abdelilah El Aissaoui
9c53ce726e Creation of multiple viewmodels that hold data state 2022-01-03 21:39:53 +01:00
Abdelilah El Aissaoui
6ddb77bf60 Added diff update when staging/unstagins (files & hunks) 2021-12-28 02:40:18 +01:00
Abdelilah El Aissaoui
31b692e581 Reformated project's code 2021-12-12 19:49:46 +01:00
Abdelilah El Aissaoui
912397b257 Clicking on a ref now selects the log's commit 2021-12-12 19:38:11 +01:00
Abdelilah El Aissaoui
2e2277885c Removed splitter from SplitPane 2021-12-12 00:42:40 +01:00
Abdelilah El Aissaoui
c7954af9ad Added remotes to side panel 2021-12-08 18:30:41 +01:00
Abdelilah El Aissaoui
bf6600878b Diff view closes if user clicks on a different stash/commit 2021-12-07 01:21:12 +01:00
Abdelilah El Aissaoui
26edec3de3 Added stash detail viewing & selected item state management 2021-12-07 01:08:45 +01:00
Abdelilah El Aissaoui
e23181d530 Removed completly dialog manager 2021-12-06 22:54:25 +01:00
Abdelilah El Aissaoui
c5372e074a Fixed build error 2021-12-04 06:35:35 +01:00
Abdelilah El Aissaoui
6c1dc32928 Log full cleanup
- Refactored log function into multiple sub functions
- Removed use of DialogManager from Log
- Merge branch now shows current branch instead of hardcoded "HEAD"
2021-12-04 07:02:40 +01:00
Abdelilah El Aissaoui
9f67f91a77 Started removal of dialog manager in favor of new MaterialDialog component 2021-12-02 22:45:41 +01:00
Abdelilah El Aissaoui
2ec3815abf Added split pane support 2021-11-22 03:38:16 +01:00
Abdelilah El Aissaoui
713fba6ab9 Started side menu desgin change and added tags support 2021-11-18 02:01:17 +01:00
Abdelilah El Aissaoui
58da603bbf Moved gitManager code to Log 2021-11-12 23:54:46 +01:00
Abdelilah El Aissaoui
fce9f93df4 Added diff closing to show the log after commiting 2021-11-05 04:33:07 +01:00
Abdelilah El Aissaoui
da3f3c8935 Added password for ssh keys 2021-11-05 04:27:35 +01:00