Commit Graph

429 Commits

Author SHA1 Message Date
Abdelilah El Aissaoui
bc56ad834a Added secondary surface color 2022-06-11 16:46:45 +02:00
Abdelilah El Aissaoui
9b876f05f0 Added alphabetical sorting to status entries 2022-06-11 16:33:02 +02:00
Abdelilah El Aissaoui
f57294c886 Moved "Files changed" alignment to the left 2022-06-11 14:36:24 +02:00
Abdelilah El Aissaoui
4bda2eb681 Fixed click not working for non-local branches items on side panel
Regression of change https://github.com/JetpackDuba/Gitnuro/pull/11
2022-06-11 14:17:21 +02:00
Abdelilah El Aissaoui
21c6f98bb3 Reduced flickering when refreshing diff or changing between items 2022-06-11 13:43:06 +02:00
Abdelilah El Aissaoui
9bf5fc4663 Fixed concurrency errors when trying to update recent repositories 2022-06-11 13:42:18 +02:00
Abdelilah El Aissaoui
b399947734 Fixed duplicated recent repositories entries 2022-06-11 13:37:42 +02:00
Abdelilah El Aissaoui
1dff1d66b5 Added delayed state change to processing state 2022-06-11 13:37:09 +02:00
Abdelilah El Aissaoui
878f6704d6 Fixed paddings around the menu bar 2022-06-11 13:36:43 +02:00
Abdelilah El Aissaoui
71c639b6a3 Moved staged/unstaged alignment to the left 2022-06-11 13:00:59 +02:00
Abdelilah El Aissaoui
d9c4e6f282 Improved logging 2022-06-11 12:58:55 +02:00
Abdelilah El Aissaoui
e92a3a5baa Reduced log flickering by hidding load unless it takes some time (constant) 2022-06-11 12:43:06 +02:00
Abdelilah El Aissaoui
c28a2834ae Fixed status scroll state being lost when staging files + reduced blinking on status view. 2022-06-11 12:40:00 +02:00
Abdelilah El Aissaoui
49d4dba1df Simplified author component 2022-06-11 12:31:57 +02:00
Infinity
c6163f1ef4 Add double click to checkout branch 2022-06-11 05:19:36 +02:00
Abdelilah El Aissaoui
8810150429 Remove unnecessary logs 2022-06-09 03:13:15 +02:00
Abdelilah El Aissaoui
e32498d0c7 Fixed repo refreshing when detecting changes in message files 2022-06-09 03:11:31 +02:00
Abdelilah El Aissaoui
8f2598d866 Disabled creation of branches/tags/stashes with empty string on enter or whitespaces 2022-06-07 20:10:30 +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
1380eced08 Merge branch 'high_dpi' into main 2022-06-06 15:02:42 +02:00
Abdelilah El Aissaoui
37b94bd7f6 Fixed blame/file history header paddings 2022-06-06 15:02:32 +02:00
Abdelilah El Aissaoui
3a100f547b Added dialog/window closing on pressing ESC
Should partially fix:
https://github.com/JetpackDuba/Gitnuro/issues/9
2022-06-06 14:58:53 +02:00
Abdelilah El Aissaoui
6901bf9f1c Fixed menu padding missalignments 2022-06-06 12:52:56 +02:00
Abdelilah El Aissaoui
a34c6f194d Adjusted headers colors 2022-06-06 03:22:41 +02:00
Abdelilah El Aissaoui
9ea8d0c99a Added new UI design 2022-06-06 02:44:18 +02:00
Abdelilah El Aissaoui
e47b6719eb Fixed graph when dpi is different than 1 2022-06-06 01:49:13 +02:00
Abdelilah El Aissaoui
c5f7ddf266 Fixed stage all when there are removed files 2022-06-06 01:41:41 +02:00
Abdelilah El Aissaoui
3cb7d25a33 Reduced alpha from line selected in light theme 2022-06-06 01:08:52 +02:00
Abdelilah El Aissaoui
290c5324f2 Fixed padding in "uncommited changes" line 2022-06-06 01:03:42 +02:00
Abdelilah El Aissaoui
67aff36bc4 Added persistance of commit message
Merge message is also recovered when having conflicts
2022-06-06 00:49:02 +02:00
Abdelilah El Aissaoui
7335499f97 Updated themes 2022-06-05 21:27:42 +02:00
Abdelilah El Aissaoui
d6ad3b3187 Added a new color scheme and fixed multiple theming issues 2022-06-05 20:34:38 +02:00
Abdelilah El Aissaoui
592a5c3179 Fixed diff header background having paddings 2022-06-04 15:41:41 +02:00
Abdelilah El Aissaoui
77edfe14d7 Added option to change commits limit 2022-06-04 04:56:45 +02:00
Abdelilah El Aissaoui
0341a4f577 Fixed open dir dialog showing "Save" instead of "Open" on Windows/MacOS 2022-06-02 19:25:21 +02:00
Abdelilah El Aissaoui
e8c3a3de6f Fixed new branch not appearing in the log 2022-06-01 15:01:51 +02:00
Abdelilah El Aissaoui
8a25dadc12 Moved date in "Commited changes" to fit better in low res screens 2022-06-01 12:12:31 +02:00
Abdelilah El Aissaoui
969233ec99 Added "File history" feature 2022-05-30 01:43:44 +02:00
Abdelilah El Aissaoui
9c1133a292 Added line numbers and text selection to blame 2022-05-28 16:28:39 +02:00
Abdelilah El Aissaoui
df03edf396 Removed unused imports 2022-05-28 16:12:49 +02:00
Abdelilah El Aissaoui
cd06819cfd Added error handling when a file can't be blamed 2022-05-28 16:12:09 +02:00
Abdelilah El Aissaoui
60a1ef21d8 Added hand icon on hover where it's intended to be 2022-05-27 20:07:24 +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
cb3fe17fee Rebase interactive is aborted when something fails during the process 2022-05-27 15:52:16 +02:00
Abdelilah El Aissaoui
f124d1fb9e Disabled fixup and squash for the first line of the rebase interactive 2022-05-27 13:30:07 +02:00
Abdelilah El Aissaoui
332c3ef73d Added try catch in case platform doesn't support opening URL in the browser 2022-05-26 23:55:54 +02:00
Abdelilah El Aissaoui
40366be75c Limited blame text line to a single line 2022-05-26 23:55:33 +02:00
Abdelilah El Aissaoui
8e366741ac Added basic version of blame 2022-05-26 23:40:15 +02:00
Abdelilah El Aissaoui
543545d93d Changed commited changes load block to avoid changing the state to loading when is not necessary 2022-05-23 19:36:06 +02:00
Abdelilah El Aissaoui
46cb205739 Fixed white screen blink when opening a new tab 2022-05-23 19:14:37 +02:00
Abdelilah El Aissaoui
143f98d07f Changed error dialog animation 2022-05-22 00:54:04 +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
364fa53558 Added option to stage/unstage file from diff header 2022-05-16 20:16:12 +02:00
Abdelilah El Aissaoui
c9a7f63a1c Changed cursor for log divider 2022-05-14 17:05:23 +02:00
Abdelilah El Aissaoui
3ab0936e44 Changed app font to OpenSans 2022-05-09 23:03:15 +02:00
Abdelilah El Aissaoui
2263785723 Changed item selection design 2022-05-09 22:02:24 +02:00
Abdelilah El Aissaoui
08f814c8d8 Added scroll to rebase interactive dialog 2022-04-16 04:59:03 +02:00
Abdelilah El Aissaoui
f60580750b Implemented reword on rebase interactive 2022-04-16 04:52:53 +02:00
Abdelilah El Aissaoui
cdf7d61045 Diff replaces a tab by 4 characters until compose bug is fixed
https://github.com/JetBrains/compose-jb/issues/615
2022-04-11 04:32:05 +02:00
Abdelilah El Aissaoui
b68135d3a4 Fixed crash when creating the graph if the repo contains tags that point to blobs 2022-04-11 04:27:25 +02:00
Abdelilah El Aissaoui
14eb5f8c9c Added first version of interactive rebase 2022-04-09 23:10:08 +02:00
Abdelilah El Aissaoui
08d0323e48 Improved tab's design 2022-04-09 18:59:10 +02:00
Abdelilah El Aissaoui
9f51893ed2 Hidden file not found exception when trying to fetch the icons from gravatar 2022-04-09 18:58:30 +02:00
Abdelilah El Aissaoui
f03165f70a Added max lines to welcome page text composables 2022-04-09 18:58:16 +02:00
Abdelilah El Aissaoui
d5cac58b87 Removed unused property 2022-04-08 22:26:23 +02:00
Abdelilah El Aissaoui
855b57196d Side menu items expand state is now stored in the viewModels to restore it's value after changing tabs 2022-04-08 22:05:48 +02:00
Abdelilah El Aissaoui
8650b1a43c Moved error state holding to the TabViewModel 2022-04-08 22:05:22 +02:00
Abdelilah El Aissaoui
1f58114404 Added exception throwing when rebase/merge failed due to uncommited changes 2022-04-08 21:43:47 +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
fac5cbf16a Increased version for the next release 2022-04-08 20:22:04 +02:00
Abdelilah El Aissaoui
fb8e41dfff Fixed lines in diff being cut when overflowing 2022-04-08 20:22:04 +02:00
Abdelilah El Aissaoui
b7179a5c20 Increased version code 2022-04-07 23:33:21 +02:00
Abdelilah El Aissaoui
c31b1a9d6b Fixed hunk stage on files with a single line without lineDelimiter 2022-04-07 23:06:20 +02:00
Abdelilah El Aissaoui
d055060483 Fixed crash on empty graph 2022-04-07 22:57:32 +02:00
Abdelilah El Aissaoui
7b4ab49a30 Increased refresh time when having multiple consecutive changes to 1s and added refresh when diff missing 2022-04-07 22:50:52 +02:00
Abdelilah El Aissaoui
c20021832f Fixed graph size not being recalculated after changing uncommited changes status 2022-04-07 22:44:34 +02:00
Abdelilah El Aissaoui
c71f7555de Fixed stage/unstage hunks not working on properly on specific line endings 2022-04-07 22:39:33 +02:00
Abdelilah El Aissaoui
5982c65c79 Fixed diff on index files when a repository is empty 2022-04-07 19:19:21 +02:00
Abdelilah El Aissaoui
685769a154 Increased project version to 0.1.1 2022-04-07 18:44:52 +02:00
Abdelilah El Aissaoui
1baab9e3f8 Fixed clone state being lost on error & multiple errros not being reported
Also updated errors strings to better clarify the issue
2022-04-07 18:41:53 +02:00
Abdelilah El Aissaoui
716d04df9a Merge branch 'status_optimizations' into main 2022-04-06 20:19:54 +02:00
Abdelilah El Aissaoui
b53b9b0b79 Now staged and unstaged use the same status to update the data (instead of executing it twice) 2022-04-06 20:19:29 +02:00
Abdelilah El Aissaoui
7f9da646ff Fixed uncommited changes line not appearing on rebase with a single conflict (no other changes) 2022-04-06 20:18:59 +02:00
Abdelilah El Aissaoui
51ea75c033 Removed done TODO tasks and added appScope cancellation on app exit 2022-04-06 20:02:56 +02:00
Abdelilah El Aissaoui
ab9c8ce2df Fixed unstage hunk not restoring lines properly 2022-04-06 19:48:30 +02:00
Abdelilah El Aissaoui
1e0660dca0 Refactored status to improve its performance and removed diff update handling 2022-04-06 19:39:06 +02:00
Abdelilah El Aissaoui
9927a249b9 Fixed invalid directory string on clone 2022-04-06 17:50:31 +02:00
Abdelilah El Aissaoui
4108537825 [WIP] started refactor of status 2022-04-06 17:49:38 +02:00
Abdelilah El Aissaoui
60a6fb1a3e Fixed file name not being completly displayed when it's in the root of the dir for commited changes 2022-04-04 21:00:17 +02:00
Abdelilah El Aissaoui
8d066f15dc Updated description 2022-04-04 19:00:32 +02:00
Abdelilah El Aissaoui
f8c7bd5515 Renamed project from references 2022-04-04 18:43:27 +02:00
Abdelilah El Aissaoui
f1868844a2 Extracted project name as a constant 2022-04-04 18:32:56 +02:00
Abdelilah El Aissaoui
27e8efcaf7 Added additional info dialog 2022-04-04 18:32:06 +02:00
Abdelilah El Aissaoui
6c1790ce24 Added refresh even if stash has failed 2022-04-04 05:12:11 +02:00
Abdelilah El Aissaoui
61d5ee941a Fixed file name not being completly displayed when it's in the root of the dir 2022-04-04 05:05:50 +02:00
Abdelilah El Aissaoui
dac6d597a2 Fixed date being moved if the message is too long 2022-04-04 03:00:51 +02:00
Abdelilah El Aissaoui
b980784b1f Changed secondary color & reorganized welcome/home screen 2022-04-04 02:58:51 +02:00
Abdelilah El Aissaoui
8f92b6d195 Added updates check 2022-04-04 02:48:40 +02:00
Abdelilah El Aissaoui
11ea0986c3 Fixed clone url replacing inbetween ".git" string (should only remove suffixes) 2022-04-04 00:19:03 +02:00
Abdelilah El Aissaoui
c1fdd891c6 Added clone progress and changed clone button to PrimaryButton 2022-04-03 19:43:54 +02:00