Commit Graph

841 Commits

Author SHA1 Message Date
Abdelilah El Aissaoui
1835ff748d Added new tooltip component 2022-06-19 16:36:40 +02:00
Abdelilah El Aissaoui
55ebd9ee0d Removed no longer valid TODOs 2022-06-19 16:35:09 +02:00
Abdelilah El Aissaoui
3bea4f22e8 Added bottom status bar 2022-06-19 16:10:57 +02:00
Abdelilah El Aissaoui
ca32f7c551 Fixed padding of merge/rebase buttons when having conflicts 2022-06-17 17:47:25 +02:00
Abdelilah El Aissaoui
86a7f85e74 Rebase conflict now shows current commit message as read-only 2022-06-17 17:45:18 +02:00
Abdelilah El Aissaoui
dc45551259 Fixed uncommited changes node size on density > 1 2022-06-17 14:08:21 +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
a43c13462a The app now remembers the window state.
The resolution won't be saved to avoid issues when adding or removing screens with different resolution.

Fixes https://github.com/JetpackDuba/Gitnuro/issues/8
2022-06-17 03:14:21 +02:00
Abdelilah El Aissaoui
d79095533d Added option to delete remote branch from log 2022-06-11 23:54:43 +02:00
Abdelilah El Aissaoui
27d28cfdce OnClick is now null on default for SideMenuSubentry.
Implementing an empty callback would break the behavior of the VerticalExpandable.
2022-06-11 23:46:56 +02:00
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
Abdelilah El Aissaoui
df638defb8 Removed unnecessary dispose (already using "use" extension) 2022-04-03 19:43:26 +02:00
Abdelilah El Aissaoui
e2449db568 Added padding at the end of the graph to avoid the last line being partially covered by the horizontal scrollbar of the graph 2022-04-03 19:22:45 +02:00
Abdelilah El Aissaoui
154ab89a21 Changed old style buttons to the new one 2022-04-03 01:29:18 +02:00
Abdelilah El Aissaoui
d662edba9d Improved clone dialog features by adding more error management & directory picker 2022-04-03 01:16:55 +02:00
Abdelilah El Aissaoui
59a36fed08 Graph now shows properly the HEAD commits when rebasing & commits referenced by unpeeled tags 2022-04-02 04:03:01 +02:00
Abdelilah El Aissaoui
457d604575 Removed unnecessary parameters from callbacks 2022-04-02 00:36:09 +02:00
Abdelilah El Aissaoui
5ab529e22b Updated repo URLs 2022-04-02 00:35:33 +02:00
Abdelilah El Aissaoui
a9accafafb Replaced direct usage of manager coroutineScope to use an method that handles errors 2022-04-01 20:30:19 +02:00
Abdelilah El Aissaoui
558f02fca4 Implemented basic local git init 2022-04-01 05:42:44 +02:00
Abdelilah El Aissaoui
54a1ab4436 Added loading screen when opening a repository 2022-04-01 05:00:06 +02:00
Abdelilah El Aissaoui
2dd6fb106e Filtered out uninitialized submodules from git diff 2022-03-31 22:09:59 +02:00
Abdelilah El Aissaoui
a32f4d5ccd Fixed text not being cleared after commit 2022-03-31 20:40:25 +02:00
Abdelilah El Aissaoui
054778bdcc Implemented graph search
Fixed bug where deleting text input value too fast (keeping pressed backspace) would not behave properly
2022-03-31 20:39:25 +02:00
Abdelilah El Aissaoui
d544cc4e94 Moved repository opening to repository manager 2022-03-30 00:08:53 +02:00
Abdelilah El Aissaoui
3c40069ec7 Updated icon 2022-03-27 06:27:43 +02:00
Abdelilah El Aissaoui
fc821ecb92 Fixed git paths using system dependant separator instead of fixed "/" 2022-03-04 15:43:29 +01:00
Abdelilah El Aissaoui
2466dd7a33 File picker styling is only applied in windows/macOs now 2022-03-04 14:53:49 +01: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
33eb0f3c8a File watcher now also watched new added directories 2022-03-03 20:00:34 +01:00
Abdelilah El Aissaoui
aae80445f9 Moved delayed refresh to tabViewModel instead of the file watched and added detection of git dir changed to refresh the whole repository information 2022-02-25 16:51:52 +01:00
Abdelilah El Aissaoui
bbea356eb2 Added missing horizontal padding to commited changes files icon 2022-02-25 00:41:03 +01:00
Abdelilah El Aissaoui
afc7d9df8e Improved performance when multiple FS changes occur in a fraction of a second
Between update there is a minimum of 0.5s even if there have been multiple file updates
2022-02-25 00:40:11 +01:00
Abdelilah El Aissaoui
41ff6a57b8 Improved display of branches' names in branch context menu 2022-02-24 23:07:28 +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
970132f1d7 File name is always shown in the changes log to cut the dir path 2022-02-24 14:51:12 +01:00
Abdelilah El Aissaoui
250ca295b9 Added option to pull/push from specific branch 2022-02-24 14:25:15 +01:00
Abdelilah El Aissaoui
b8e76aa7a8 Added push including tags option 2022-02-23 02:19:11 +01:00
Abdelilah El Aissaoui
8d00141df2 Improved settings dialog UI 2022-02-21 16:03:36 +01:00
Abdelilah El Aissaoui
84d986587d Reduced status sumary font size + fixed typo 2022-02-21 15:19:45 +01:00
Abdelilah El Aissaoui
b6c4fa0ed7 Reduced number of operations that have to be executed to update the status 2022-02-21 15:14:31 +01:00
Abdelilah El Aissaoui
4ed10c0682 Reformated project's code 2022-02-21 01:49:14 +01:00
Abdelilah El Aissaoui
a2d687caa8 Fixed flow warning 2022-02-20 23:02:12 +01:00
Abdelilah El Aissaoui
d8d4147d18 Fixed currently displayed diff entry being updated twice when changes are detected 2022-02-20 22:59:43 +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
7a86ed8227 Changed abort button colors 2022-02-18 12:30:30 +01:00
Abdelilah El Aissaoui
902626f04b Added exception when pull has failed 2022-02-17 23:18:51 +01:00
Abdelilah El Aissaoui
9dc5296a61 Return header if no branches match current ref (or null if empty repo) 2022-02-17 23:18:51 +01:00
Abdelilah El Aissaoui
32ef5d50cd Fixed crash when commits list is empty 2022-02-17 23:18:51 +01:00
Abdelilah El Aissaoui
f314dc2c26 Limited tab title lines to 1 2022-02-17 23:18:51 +01:00
Abdelilah El Aissaoui
afce2a2aa7 Added basic remotes management 2022-02-17 19:24:36 +01:00
Abdelilah El Aissaoui
df3f47f073 Untracked files are now staged before stash 2022-02-15 20:05:49 +01:00
Abdelilah El Aissaoui
0ff882a31c Added native look and file for system dialogs 2022-02-11 20:55:10 +01:00
Abdelilah El Aissaoui
587843d246 Changed how the diff list is created to improve scrollbar's behavior (used to change its size depending on the scroll position ???) 2022-02-11 20:47:20 +01:00
Abdelilah El Aissaoui
c374ac77d5 Fixed weird spacing when using fonts with different heights in lines with empty text in the diff 2022-02-11 20:34:13 +01:00
Abdelilah El Aissaoui
a3f233d363 Added option to refresh repository 2022-02-10 00:46:26 +01:00
Abdelilah El Aissaoui
93a1ef3240 Replaced hardcoded separator by OS dependant appropach 2022-02-08 19:29:20 +01:00
Abdelilah El Aissaoui
2a12c3e883 Changed scrollbar color scheme to make it more visible 2022-02-07 22:04:06 +01:00
Abdelilah El Aissaoui
e54ba6d8a0 Log code cleanup and added more comments 2022-02-07 20:39:30 +01:00
Abdelilah El Aissaoui
759d30014b Fixed context menu not working when clicking on the graph 2022-02-07 15:37:14 +01:00
Abdelilah El Aissaoui
7e86e3b2fd Reimplemented log view. Now graph can be horizontally scrolled 2022-02-07 15:34:21 +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
fff18b7fef Added uncommited files count to "uncommited changes" line in the log
Also improved log performance when a file has changed to only update the header and not the whole list
2022-02-06 20:49:54 +01:00
Abdelilah El Aissaoui
72e77f41fd Implemented cherry-pick 2022-02-05 19:19:49 +01:00
Abdelilah El Aissaoui
cb609c44cc Removed unused annotation 2022-02-05 03:12:20 +01:00
Abdelilah El Aissaoui
ac21b59f6c Implemented amend previous commit 2022-02-05 03:01:03 +01:00
Abdelilah El Aissaoui
e473d29167 Reformated project's code 2022-02-05 02:55:26 +01:00
Abdelilah El Aissaoui
df48b40ce5 Refactored safeProcessing to be able to refresh data even after a crash 2022-02-05 02:06:55 +01:00
Abdelilah El Aissaoui
9105940e00 Push deletion is done before doing it locally to prevent deleting the local branch in case of error 2022-02-05 01:35:44 +01:00
Abdelilah El Aissaoui
857032ec04 Remote branches in side panel is shown now without the remote name 2022-02-05 01:35:21 +01:00
Abdelilah El Aissaoui
cc787064b6 Clicking on a remote now colpases it
Removed animations from expandable to improve performance in big lists
2022-02-05 01:28:48 +01:00
Abdelilah El Aissaoui
7dc2ad0a72 All the tab is refreshed now after a push 2022-02-04 18:54:03 +01:00
Abdelilah El Aissaoui
07703a66be Added remote branch deletion 2022-02-04 18:53:21 +01:00
Abdelilah El Aissaoui
fc4d52b57a Temporary files are now deleted when exiting the app 2022-02-04 01:34:22 +01:00
Abdelilah El Aissaoui
8549f59396 Updated logo 2022-02-03 15:12:09 +01:00
Abdelilah El Aissaoui
35a6b9cdeb Limited max lines to 1 in the graph text 2022-02-03 15:12:04 +01:00
Abdelilah El Aissaoui
832189e91e Changed side panel headers to be expandables and improved its UI 2022-02-03 14:47:25 +01:00
Abdelilah El Aissaoui
09d4184c40 Changed header weight for commited and uncommited changes 2022-02-02 21:45:24 +01:00
Abdelilah El Aissaoui
b042dcf2b9 Fixed delete and rebase branch being inverted 2022-02-02 20:25:21 +01:00
Abdelilah El Aissaoui
dabdaca3b1 UI improvements + code cleanup in side panels 2022-02-02 20:24:22 +01:00
Abdelilah El Aissaoui
13684e4f90 Fixed file delete not deleting the file using the repo path 2022-02-02 20:23:04 +01:00
Abdelilah El Aissaoui
1dca2dfd51 Added fetch all & after pull all the repository is reloaded 2022-02-02 10:33:08 +01:00
Abdelilah El Aissaoui
a3ff073b54 Fixed project's formatting 2022-02-02 00:26:46 +01:00
Abdelilah El Aissaoui
6142ecef5b Added option to delete file in uncommited changes context menu 2022-02-02 00:23:31 +01:00
Abdelilah El Aissaoui
2efaf654c7 Added webp support 2022-02-01 19:46:17 +01:00
Abdelilah El Aissaoui
171e9dc0be Added force push 2022-02-01 14:31:56 +01:00
Abdelilah El Aissaoui
c746f845ee Fixed tags not being properly detected as tags in the graph 2022-02-01 14:29:18 +01:00
Abdelilah El Aissaoui
de9e982ff3 Added pull with rebase 2022-02-01 14:18:59 +01:00
Abdelilah El Aissaoui
a4ce691679 Fixed push not showing errors 2022-02-01 12:52:56 +01:00
Abdelilah El Aissaoui
0091f3abb8 Fixed error dialog font color 2022-02-01 12:52:56 +01:00
Abdelilah El Aissaoui
edbb095246 Added try catch to dir opening to avoid crash if the dir has been removed 2022-02-01 12:52:56 +01:00
Abdelilah El Aissaoui
6ca1e15ce8 UI improvements 2022-01-31 15:15:05 +01:00
Abdelilah El Aissaoui
d3c1664f45 Added repository directory in file explorer button 2022-01-31 14:36:14 +01:00
Abdelilah El Aissaoui
234e04192b Removed unused logs 2022-01-31 14:28:56 +01:00
Abdelilah El Aissaoui
fe718fdfec Fixed errors not being displayed 2022-01-31 14:17:54 +01:00
Abdelilah El Aissaoui
2354602e6d Selected branch is the first one always now 2022-01-31 02:02:11 +01:00
Abdelilah El Aissaoui
0f484a9b26 Changed tabs design to use different colors and fixed width 2022-01-31 01:55:56 +01:00
Abdelilah El Aissaoui
42fec7c591 Implemented merge & rebase 2022-01-31 01:30:25 +01:00
Abdelilah El Aissaoui
ef5bd9a254 Completed images & binaries diff 2022-01-30 02:27:41 +01:00
Abdelilah El Aissaoui
27f216aa5d Added basic images diff 2022-01-29 20:33:08 +01:00
Abdelilah El Aissaoui
57e428a9e8 Disabled softwarp for branches and uncommited changes 2022-01-23 17:16:28 +01:00
Abdelilah El Aissaoui
d14c13595c Improved diff design 2022-01-19 01:06:10 +01:00
Abdelilah El Aissaoui
5bd15a0c22 Adjusted UI font size 2022-01-19 00:57:08 +01:00
Abdelilah El Aissaoui
934413557d Remove unused class 2022-01-06 17:15:53 +01:00
Abdelilah El Aissaoui
1508e27b13 Fixed warnings and removed unused code 2022-01-05 03:19:52 +01:00
Abdelilah El Aissaoui
61c4abda5c Updated dependencies and removed unused dep 2022-01-05 03:17:51 +01:00
Abdelilah El Aissaoui
1d2ad6f947 Fixed crash when trying to diff binary files 2022-01-05 03:02:36 +01:00
Abdelilah El Aissaoui
7c0316b2d3 Reduced diff header size 2022-01-05 02:58:57 +01:00
Abdelilah El Aissaoui
1ed6572170 Added lines numbers in diff view 2022-01-05 02:52:32 +01:00
Abdelilah El Aissaoui
f20cfbb698 Fixed tabs not selecting/creating the next tab properly 2022-01-05 01:51:08 +01:00
Abdelilah El Aissaoui
9271dcdd60 Added file path to the diff view 2022-01-04 22:04:10 +01:00
Abdelilah El Aissaoui
14c8b24456 Changed "Stage" to "Stage hunk" in diff hunks 2022-01-04 20:01:36 +01:00
Abdelilah El Aissaoui
97a082bc47 Completed arch refactor 2022-01-04 19:54:56 +01:00
Abdelilah El Aissaoui
e7de563b28 Fixed adding a new tab crashing 2022-01-04 17:53:31 +01:00
Abdelilah El Aissaoui
620fd1022b Commit message is now preserved even after disposing the composable (stored in he VM) 2022-01-03 23:04:04 +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
997a651faf Fixed status not being updated when merging 2022-01-02 01:47:45 +01:00
Abdelilah El Aissaoui
c0c07ef5b1 Added conflict indicator during merge in uncommited changes 2022-01-02 01:46:23 +01:00
Abdelilah El Aissaoui
2313ad4591 Added tabs management comments 2022-01-01 18:41:26 +01:00
Abdelilah El Aissaoui
474cc9a1d7 Fixed fast forward text in merge dialog when using dark theme 2022-01-01 18:32:51 +01:00
Abdelilah El Aissaoui
d4b2a1c57f Refactored tabs management 2022-01-01 18:32:35 +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
ad55f41f58 Fixed unstage hunk not working properly when having context lines inbetween changes 2021-12-28 02:01:08 +01:00
Abdelilah El Aissaoui
2e157aa773 Added try catch that unlocks the dir cache in case of error in hunk unstage 2021-12-28 01:37:21 +01:00
Abdelilah El Aissaoui
a8ed01784d Implemented stage/unstage by hunks 2021-12-28 01:19:29 +01:00
Abdelilah El Aissaoui
86fd61d0d7 Extracted RawFile generation to its own class 2021-12-27 22:55:31 +01:00
Abdelilah El Aissaoui
bd719be963 Refactored diff by replacing text diff patch with a custom Hunk class 2021-12-27 05:13:55 +01:00
Abdelilah El Aissaoui
908696735b Added error display when a push has failed 2021-12-21 02:26:52 +01:00
Abdelilah El Aissaoui
3ed5f0cc1e Uncommited changes line now show if merging/rebasing
This commit starts not only the rebase support but also manage merges when conflicts appear [WIP]
2021-12-18 04:18:48 +01:00
Abdelilah El Aissaoui
d81c81de87 Fixed log not updating when new uncommited changes appear 2021-12-18 02:33:13 +01:00
Abdelilah El Aissaoui
1943bd6906 Fixed crashes when opening an empty repository 2021-12-18 02:23:39 +01:00
Abdelilah El Aissaoui
6c550960a1 Changed clone repo icon 2021-12-18 00:06:15 +01:00
Abdelilah El Aissaoui
79aff9104a Replaced elmo avatar placeholder by Color+Initial 2021-12-17 23:54:10 +01:00
Abdelilah El Aissaoui
7f6cc7c32a Fixed flickering when (un)staging many files due to file watcher updating
Commiting show progress bar
2021-12-14 20:06:18 +01:00
Abdelilah El Aissaoui
23a6b741b8 Fixed FileWatcher triggering status update while an operation is running 2021-12-14 13:40:01 +01:00
Abdelilah El Aissaoui
cd19a62ae9 Fixed checking out remote branch doesn't preserve the starting point 2021-12-14 13:33:25 +01:00
Abdelilah El Aissaoui
45d89f3699 Fixed crash when clicking on a ref with a ref that's not shown in the log 2021-12-12 20:16:00 +01:00
Abdelilah El Aissaoui
e12a5ee2e2 Doing a commit now refreshes the whole repo info, not just the log 2021-12-12 20:11:33 +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
2d32b77a69 Implemented context menu in side panel branches/tags 2021-12-12 06:04:19 +01:00
Abdelilah El Aissaoui
e068ac42de Changed log's ref chips design 2021-12-12 02:02:33 +01:00
Abdelilah El Aissaoui
05326f3a1d Fixed crash when being detached from any branch 2021-12-12 01:07:42 +01:00
Abdelilah El Aissaoui
0fec32e25f Pixed password field text color in dark theme 2021-12-12 00:43:01 +01:00
Abdelilah El Aissaoui
2e2277885c Removed splitter from SplitPane 2021-12-12 00:42:40 +01:00
Abdelilah El Aissaoui
43fa81c090 Fixed "Recent" text color in dark theme 2021-12-08 19:33:15 +01:00
Abdelilah El Aissaoui
6f542d4869 Changes dark theme color scheme 2021-12-08 19:23:48 +01:00
Abdelilah El Aissaoui
330a7aa6b8 Fixed text field colors in dark theme 2021-12-08 19:21:41 +01:00
Abdelilah El Aissaoui
7eb26f0f4b Dark theme is now the default one 2021-12-08 19:12:08 +01:00
Abdelilah El Aissaoui
2a5b3097ad Fixed commit message color in dark theme 2021-12-08 19:05:09 +01:00
Abdelilah El Aissaoui
0565bf1a33 Added settings dialog & improved dark theme 2021-12-08 19:04:16 +01:00
Abdelilah El Aissaoui
c7954af9ad Added remotes to side panel 2021-12-08 18:30:41 +01:00
Abdelilah El Aissaoui
bc52221ef1 Added app logo 2021-12-07 20:03:40 +01:00
Abdelilah El Aissaoui
a141b0676e Fixed remote branch checkout
Also removed remote branches from "Branches" list in left menu (will add a future "remotes" list)
2021-12-07 19:17:18 +01:00
Abdelilah El Aissaoui
7a3d68e3a6 Limited images concurrent loading to 3 2021-12-07 17:42:15 +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
d4991bf7b4 Changes stash list to show short message instead of the name 2021-12-07 01:09:58 +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
5493451719 Added current branch icon to detached HEAD 2021-12-07 00:02:49 +01:00
Abdelilah El Aissaoui
6d190614e5 Added branch current branch identifier to log & branch sorting 2021-12-06 23:52:51 +01:00
Abdelilah El Aissaoui
efab5b0bfa Added remove tag functionality 2021-12-06 23:15:31 +01:00
Abdelilah El Aissaoui
2a43cdeca8 Disabled allowing empty git commits 2021-12-06 23:05:06 +01:00
Abdelilah El Aissaoui
ed55ba2814 Added full date-time tooltip 2021-12-06 23:02:14 +01:00
Abdelilah El Aissaoui
e23181d530 Removed completly dialog manager 2021-12-06 22:54:25 +01:00
Abdelilah El Aissaoui
3c3b044c80 Changed author info to show commit id instead of mail
E-mail is shown as a tooltip of the username
2021-12-06 22:47:09 +01:00
Abdelilah El Aissaoui
2a8794d62d Disabled commit with ctrl+enter if commtis conditions are not met 2021-12-04 06:53:13 +01:00
Abdelilah El Aissaoui
7b1a79e2cf Fixed commit msg not cleared after commit 2021-12-04 06:50:41 +01:00
Abdelilah El Aissaoui
d099c94fcf Fixed credentials dialogs not showing as MaterialDialogs 2021-12-04 06:48:28 +01:00
Abdelilah El Aissaoui
7436eb80cf Added ctrl+enter to commit in commit's msg field 2021-12-04 06:46:22 +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
f9a2917bbd Improved dialog background code 2021-12-04 04:24:59 +01:00
Abdelilah El Aissaoui
5f4762691c Fixed branch dialog not showing as a material dialog 2021-12-02 22:49:35 +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
8a7e8c470e Fixed clone not asking http credentials 2021-12-02 22:45:26 +01:00
Abdelilah El Aissaoui
2b479d1d3f Added popupPositionProvider to MaterialDialog 2021-12-02 01:55:04 +01:00
Abdelilah El Aissaoui
b518c5007e Added avatar caching 2021-12-02 01:50:59 +01:00
Abdelilah El Aissaoui
f5ab2b0881 Added basic clone implementation
Also fixed crash when selecting non-existant file to diff
2021-11-29 18:50:39 +01:00
Abdelilah El Aissaoui
d8f1bcb8bf Changed current branch design in left branches panel 2021-11-28 06:44:50 +01:00
Abdelilah El Aissaoui
849aeb17cc Now whole repository tab refreshes when deleting a branch 2021-11-28 06:09:49 +01:00
Abdelilah El Aissaoui
26682daa96 Added comments & improved logs 2021-11-28 03:35:28 +01:00
Abdelilah El Aissaoui
239d004b84 Added git manager scope cancellation on disposal of the tab 2021-11-28 03:30:30 +01:00
Abdelilah El Aissaoui
5ab88ecce0 Made safeGit private 2021-11-28 03:15:49 +01:00
Abdelilah El Aissaoui
ca3a55ce21 Added status update when file system changes (excluding ignored dirs) 2021-11-28 03:15:18 +01:00
Abdelilah El Aissaoui
4abd9e331d Added support for local branch deletion 2021-11-27 20:22:05 +01:00
Abdelilah El Aissaoui
fc0fc8c448 Added enter support for input dialogs 2021-11-27 07:16:26 +01:00
Abdelilah El Aissaoui
619083f829 Changed tabs background color 2021-11-27 07:02:56 +01:00
Abdelilah El Aissaoui
af09479fcf Changed menu design 2021-11-26 06:34:49 +01:00
Abdelilah El Aissaoui
a89317305e Changed log to use the new design 2021-11-26 05:32:14 +01:00
Abdelilah El Aissaoui
b394d9f33b Changed commited and uncommited changes to use new design 2021-11-26 05:24:14 +01:00
Abdelilah El Aissaoui
317947cee7 Moved to compose 1.0.0-rc4 2021-11-26 05:13:56 +01:00
Abdelilah El Aissaoui
ee010b1f55 Removed log card 2021-11-22 03:39:53 +01:00
Abdelilah El Aissaoui
2ec3815abf Added split pane support 2021-11-22 03:38:16 +01:00
Abdelilah El Aissaoui
c4afb9e457 Added new possible color scheme 2021-11-19 20:08:35 +01:00
Abdelilah El Aissaoui
03201972e7 Checking out a remote branch create now a local branch with the same name 2021-11-19 03:36:23 +01:00
Abdelilah El Aissaoui
4e15fabf75 Fixed release build 2021-11-19 03:09:09 +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
3dd9b4a2cd Replaced drawn in canvas commit node by box composable 2021-11-17 05:23:32 +01:00
Abdelilah El Aissaoui
9322691565 Reduced click effect area to the chip shape 2021-11-17 04:42:35 +01:00
Abdelilah El Aissaoui
1056e60f96 Changed log commits design 2021-11-13 00:07:31 +01:00
Abdelilah El Aissaoui
61464a02ba Fixed welcome page on dark theme 2021-11-12 23:54:52 +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
d3633151f7 More cleanup 2021-11-05 04:32:31 +01:00
Abdelilah El Aissaoui
e9bf65e854 Code cleanup 2021-11-05 04:29:33 +01:00
Abdelilah El Aissaoui
da3f3c8935 Added password for ssh keys 2021-11-05 04:27:35 +01:00
Abdelilah El Aissaoui
b63614d68d Fixed uncommited changes parent node lane position 2021-10-30 19:38:11 +02:00
Abdelilah El Aissaoui
ba4c9596f8 Changed zenity dialog name 2021-10-30 19:11:37 +02:00
Abdelilah El Aissaoui
73659a2a10 Added support for zenity dialogs in linux 2021-10-30 19:06:03 +02:00
Abdelilah El Aissaoui
4a6542abcd Fixed previous commits of uncommited changes not showing in the same column 2021-10-28 17:03:06 +02:00
Abdelilah El Aissaoui
7c2029d602 Improved merge dialog UI 2021-10-28 04:28:50 +02:00
Abdelilah El Aissaoui
67f1135b85 Added reset branch feature 2021-10-28 04:28:37 +02:00
Abdelilah El Aissaoui
cc1f6b3cd5 Added bottom padding to error message 2021-10-28 04:04:32 +02:00
Abdelilah El Aissaoui
61f0c00290 Fixed graph not updating properly when switching branches 2021-10-28 04:04:19 +02:00
Abdelilah El Aissaoui
71bf75ceca Added merge feature 2021-10-27 20:41:05 +02:00
Abdelilah El Aissaoui
d60b1a14a2 Added revert commit feature 2021-10-27 03:57:15 +02:00
Abdelilah El Aissaoui
a7d89aabaf Fixed context menu not showing up in branches/tags 2021-10-27 03:52:21 +02:00
Abdelilah El Aissaoui
d4d057c291 Added context menu to branches/tags & moved code to their correct managers 2021-10-27 03:45:22 +02:00
Abdelilah El Aissaoui
414bce560f Added context menu to log and added tag creation 2021-10-27 03:23:06 +02:00
Abdelilah El Aissaoui
cafe8f1b19 Removed unnecessary comment 2021-10-27 02:53:40 +02:00
Abdelilah El Aissaoui
1116a093c7 Migrated project to compose-jb beta 3 2021-10-27 02:38:31 +02:00
Abdelilah El Aissaoui
40fe4c694f Added basic implementation of error manager 2021-10-26 18:59:52 +02:00
Abdelilah El Aissaoui
469fe530ee Log updates after creating a new branch 2021-10-26 03:25:48 +02:00
Abdelilah El Aissaoui
c465b89b61 Added field focus when opening branch and credentials dialogs 2021-10-26 03:25:27 +02:00
Abdelilah El Aissaoui
e6cd822b17 Created custom dialog UI 2021-10-25 02:26:58 +02:00
Abdelilah El Aissaoui
e718f10b60 Added new branch dialog 2021-10-25 02:01:53 +02:00
Abdelilah El Aissaoui
a4f0820857 Moved credentials dialog to a different file 2021-10-21 23:55:08 +02:00
Abdelilah El Aissaoui
d27161eb98 Added non-functional settings button 2021-10-21 01:37:15 +02:00
Abdelilah El Aissaoui
cd592292d1 Improved welcome/new tab page 2021-10-16 03:39:59 +02:00
Abdelilah El Aissaoui
cc2a7e180f Log is now updated if uncommited changes status changed 2021-10-15 14:10:59 +02:00
Abdelilah El Aissaoui
eef36cf53c Fixed credentials dialog string 2021-10-15 03:15:04 +02:00
Abdelilah El Aissaoui
a719c2355a Fixed refs not updating after a log change 2021-10-15 03:09:21 +02:00
Abdelilah El Aissaoui
0547c2fe9a Changed max commits loaded in the log to 1000 2021-10-15 03:02:57 +02:00
Abdelilah El Aissaoui
8b325b117a Added progress loading animation 2021-10-15 03:01:24 +02:00
Abdelilah El Aissaoui
894138b39f Renamed Gitnuro composable to App 2021-10-15 02:38:36 +02:00
Abdelilah El Aissaoui
fda901c0f2 Now opened tabs will be saved 2021-10-15 02:34:26 +02:00
Abdelilah El Aissaoui
87d7f1cdae Added new log tree 2021-10-15 01:09:25 +02:00
Abdelilah El Aissaoui
5113ca9a71 Removed unnecessary new line 2021-10-10 03:01:20 +02:00
Abdelilah El Aissaoui
4b4644bc73 Added line jump at the end of each diff line 2021-10-10 03:00:56 +02:00
Abdelilah El Aissaoui
0e7a682cdb Changed apply stash to pop stash 2021-10-10 03:00:09 +02:00
Abdelilah El Aissaoui
ee745bd4e0 Added un/stage all buttons 2021-10-10 02:59:26 +02:00
Abdelilah El Aissaoui
6d0f621bcd Added new log graph 2021-10-08 22:57:18 +02:00
Abdelilah El Aissaoui
03afe8c1d2 Renamed Main file to App to avoid problems in case insensitive FS 2021-10-07 12:48:42 +02:00
Abdelilah El Aissaoui
2b3c12e20d Migrated project to use Dagger 2021-10-06 20:45:33 +02:00
Abdelilah El Aissaoui
25990253fa Fixed broken import 2021-10-06 19:07:41 +02:00
Abdelilah El Aissaoui
642cfd5f1e Added dagger dependencies and moved code to package to avoid kapt warnings 2021-10-06 19:05:07 +02:00
Abdelilah El Aissaoui
e34ded9e29 Moved menu to be shown only when a repo is open and improved welcome screen 2021-10-04 20:56:03 +02:00
Abdelilah El Aissaoui
7af1756a8e Moved opening dialog to a function 2021-10-04 20:34:39 +02:00
Abdelilah El Aissaoui
0a107ee558 Fixed incorrect stash list text 2021-10-04 19:56:31 +02:00
Abdelilah El Aissaoui
68917c40c9 Added basic tabs support 2021-10-04 19:55:03 +02:00
Abdelilah El Aissaoui
1433c0f601 Reestructured project directories 2021-10-03 05:03:38 +02:00
Abdelilah El Aissaoui
0d7c42b1bf Added scroll to all lists 2021-10-03 04:43:21 +02:00
Abdelilah El Aissaoui
2f77127119 Moved commit's diffEntry list loading to DiffManager 2021-10-03 00:44:10 +02:00
Abdelilah El Aissaoui
408d3d6dce Slightly improved credentials dialog 2021-10-03 00:15:30 +02:00
Abdelilah El Aissaoui
8db1f183ff Added network credentials management 2021-10-02 19:12:27 +02:00
Abdelilah El Aissaoui
54f013d291 Added basic clone code and ssh authentication code using Apache SSHD 2021-10-02 18:08:33 +02:00
Abdelilah El Aissaoui
ef39c6f6d5 Certain menu icons are now enabled only if there is an open repository 2021-10-02 17:49:39 +02:00
Abdelilah El Aissaoui
87b5b49291 Added new menu icons 2021-10-02 04:03:27 +02:00
Abdelilah El Aissaoui
fcea394f35 Changed how status is refreshed
Now LaunchEffect is used instead of starting the coroutine from the gitmanager. This way compose will take care of cancelling the coroutine if needed
2021-10-02 01:16:03 +02:00
Abdelilah El Aissaoui
3cde9d44ad Fixed staging for deleted files 2021-09-30 20:19:25 +02:00
Abdelilah El Aissaoui
20dba6402e Adapted main components size to better fit their information 2021-09-30 18:27:34 +02:00
Abdelilah El Aissaoui
fe915f68d1 Improved git diff performance by using coroutines 2021-09-30 18:02:34 +02:00
Abdelilah El Aissaoui
54092ba112 Fixed crash when clicking on the first commit 2021-09-30 17:23:39 +02:00
Abdelilah El Aissaoui
47b89de37e Added color to the date in the selected log row 2021-09-30 16:36:21 +02:00
Abdelilah El Aissaoui
ce3677681e Added colors to icons in changed files 2021-09-30 16:11:46 +02:00
Abdelilah El Aissaoui
265d4647ab Reduced more font sizes
Reduced font size commit changes header & for commit message box in uncommited changes
2021-09-30 03:27:27 +02:00
Abdelilah El Aissaoui
790845b3ec Improved diff design
Also removed unecessary information and reduced font size to match better a desktop design
2021-09-30 03:20:11 +02:00
Abdelilah El Aissaoui
9e5627d5e9 Improved general desktop experience
Done by using a smaller font size and not the default one which is better fit for mobile
2021-09-30 03:06:02 +02:00
Abdelilah El Aissaoui
ccd345d5ea Added reset file button 2021-09-30 02:25:52 +02:00
Duba
c24908cc5a Made log rows smaller and showing date instead of author 2021-09-30 02:25:52 +02:00
Abdelilah El Aissaoui
4e87a89ea5 Reduced "Files changed" horizontal padding 2021-09-27 01:23:52 +02:00
Abdelilah El Aissaoui
58d3f06998 Fixed crash when doing a diff in previously deleted file
Also diff was showing changes from the current workdir
2021-09-27 01:23:08 +02:00
Abdelilah El Aissaoui
e3a2b0b31a Current branch now uses bold fontWeight 2021-09-27 00:36:01 +02:00
Abdelilah El Aissaoui
9a76d13483 Added branch creaton/deletion methods and changes hasUncommitedChanges to be stateful 2021-09-26 21:34:15 +02:00
Abdelilah El Aissaoui
b2a93cd339 After a commit text is cleared and buttons is now enabled only when there are staged changes 2021-09-26 14:08:03 +02:00
Abdelilah El Aissaoui
04a9fc2c25 Implemented stash and refactored hasUncommitedChanges code 2021-09-26 14:05:11 +02:00
Abdelilah El Aissaoui
719d4a2654 Replaced branch icon with an SVG 2021-09-26 13:59:55 +02:00
Abdelilah El Aissaoui
90d83fa83e Replaced header divider by a background color
Updated background color
2021-09-25 04:41:01 +02:00
Abdelilah El Aissaoui
4d24b2d5bf Improved diff view and moved to a separate file 2021-09-25 03:04:41 +02:00
Abdelilah El Aissaoui
1e3b6d02b7 Added basic branches listing 2021-09-25 02:48:13 +02:00
Abdelilah El Aissaoui
9c99bd1b10 Reorganized author info and readjusted paddings to match other components 2021-09-25 02:21:15 +02:00
Abdelilah El Aissaoui
c6d1271743 Joined commit message card with the author card 2021-09-25 02:11:13 +02:00
Abdelilah El Aissaoui
3ba7aed256 Added basic pull/push functionality 2021-09-25 02:07:00 +02:00
Abdelilah El Aissaoui
7ce954252e Additional UI improvements by adding cards to log and titles to commit detail 2021-09-25 01:53:51 +02:00
Abdelilah El Aissaoui
c96a0201ec Updated background color 2021-09-24 21:51:41 +02:00
Abdelilah El Aissaoui
3a7afa9d08 Fixed corners in ComitChanges message 2021-09-24 21:32:56 +02:00
Abdelilah El Aissaoui
9b971d844d Improved CommitChanges design 2021-09-24 17:09:02 +02:00
Abdelilah El Aissaoui
67d410fd12 Added author to commit and UI improvements 2021-09-24 16:46:01 +02:00
Abdelilah El Aissaoui
3ad0d12503 Reestructured project 2021-09-24 14:32:22 +02:00
Abdelilah El Aissaoui
7196b1b8e5 Initial commit 2021-09-24 14:25:17 +02:00