Scott Chacon
e8e41f4b11
Can commit un/re-applied branches ( #601 )
...
* if a branch has no merge base, leave it out
* change write_tree to use treeUpdater rather than the index
2023-07-03 16:52:32 +02:00
Nikita Galaiko
24988db78a
handle errors
2023-07-03 16:34:05 +02:00
Nikita Galaiko
68fadb1209
fix clippy warnings
2023-07-03 16:34:05 +02:00
Nikita Galaiko
ef5ce12fb5
subscribe to fetch events
2023-07-03 16:09:57 +02:00
Nikita Galaiko
f83df47b77
emit git fetch event
2023-07-03 16:09:57 +02:00
Nikita Galaiko
1e3d0244db
fetch project in background
2023-07-03 16:09:57 +02:00
Nikita Galaiko
21ec8d9f14
move fetch and push to project
2023-07-03 16:09:57 +02:00
Nikita Galaiko
8878c89f06
track diff timestamps
2023-07-03 14:39:25 +02:00
Scott Chacon
6e73147257
Fix unapply hunks ( #598 )
...
* fix hunk ordering
* get unapply with hunked branches working
2023-07-03 14:14:26 +02:00
Kiril Videlov
f2b7058cc3
updateBranchOrder triggers also vbranches refresh
...
This operation is weird - it needs to update 2 stores
2023-07-03 15:09:36 +03:00
Kiril Videlov
56cd409d85
updateBranchOrder refreshes branches list
2023-07-03 14:54:37 +03:00
Kiril Videlov
09718c5c4b
move updateBranchTarget to RemoteBranchOperations
2023-07-03 14:54:37 +03:00
Kiril Videlov
ed487ed916
remote branches store
2023-07-03 14:54:37 +03:00
Mattias Granlund
a1960673ae
Add and change context menus
...
- delete virtual branch from left tray
- unapply branch from swimlane menu
2023-07-03 13:46:07 +03:00
Mattias Granlund
9cfa03c642
Misc UI in tray
2023-07-03 13:46:07 +03:00
Nikita Galaiko
ac2003efca
track diff ownership
2023-07-03 09:51:51 +02:00
Kiril Videlov
e99c939d60
get branch directly
2023-07-03 09:38:58 +03:00
Mattias Granlund
ac3aa9dd30
Add syntax highlighting for hunks
2023-07-03 02:04:28 +03:00
Mattias Granlund
a6dddb3a32
Double click branch icon to maximize lane
...
This is an exploration of easy access to a more detailed view. Limiting
to 8 diff rows when full width.
2023-07-02 22:58:46 +03:00
Mattias Granlund
e06211b2d5
Clean up the "no projects" page
...
Made it real simple, the only thing you can do is start tracking.
2023-07-02 21:46:10 +03:00
Mattias Granlund
4e4d2e287a
Changing various UI things
...
- padding
- roundness
2023-07-02 21:46:10 +03:00
Mattias Granlund
9061563605
Set gravatar protocol explicitly
2023-07-02 20:16:57 +03:00
Mattias Granlund
2c590c5e9e
Stop double logging to webview
2023-07-02 20:16:57 +03:00
Mattias Granlund
59fca56995
Fix broken test
2023-07-02 18:45:13 +03:00
Mattias Granlund
adcf91d165
Right click menu for hunk
...
- allows you to open file in vs code
2023-07-02 18:45:13 +03:00
Scott Chacon
3392ca0b97
tree writing fixes ( #586 )
...
Tree writing (for commits and unapply vbranch stashing) now is tested and works properly for new and removed files as well as hunk level modifications per branch.
2023-07-02 15:48:44 +02:00
Mattias Granlund
8c888d5e65
Add apply branch to tray context menu
2023-07-02 14:23:34 +03:00
Scott Chacon
0806e94e6f
Fix some vbranch things ( #584 )
...
* add partial test, return branch id
* tests pass now. dont assign hunks if the branch isnt active
2023-07-02 12:35:50 +02:00
Mattias Granlund
f38671ab02
Add tray context menu and branch meatball menu
...
This is more useful than pretty right now, should make it easy to easily
add more actions.
2023-07-02 12:32:12 +03:00
Mattias Granlund
64da66e75d
Make the UI a bit tighter
2023-07-02 12:24:41 +03:00
Kiril Videlov
635486f815
use lscache library for local storage caching
...
its nice cause it has eviction strategies. updated the hunk summaries to
use this, with a 24 hour time to live, so that we dont leak
2023-07-01 21:45:45 +02:00
Mattias Granlund
2f7b6a5ded
Put remote/local icons back in
2023-07-01 22:41:18 +03:00
Mattias Granlund
ca757d86cc
Fix gravatar dark mode style
2023-07-01 22:41:18 +03:00
Mattias Granlund
5c3e5b8dff
Put back theme selector into top nav bar
...
- it's useful when developing
2023-07-01 22:41:18 +03:00
Mattias Granlund
5b8f4fc29b
Copy in gravatar code
2023-07-01 22:10:25 +03:00
Scott Chacon
e4e902eeac
try again
2023-07-01 22:10:25 +03:00
Scott Chacon
c63988e736
omg, pnpm
2023-07-01 22:10:25 +03:00
Scott Chacon
4b7d6739cc
gravatars
2023-07-01 22:10:25 +03:00
Mattias Granlund
5f3aebd519
Bugfix tray accordion
2023-07-01 19:30:54 +03:00
Mattias Granlund
abe07c071c
Style the tray according to designs
2023-07-01 18:56:35 +03:00
Mattias Granlund
0cab37b429
Prevent header from resizing on content changes
2023-07-01 18:56:35 +03:00
Scott Chacon
e6937368a7
Fix remote listing ( #573 )
...
* fix remote listing
* dont show commit stuff unless there is something to commit
* filter remote branches
* can create a virtual branch from a remote branch
* show remote/local a little differently
2023-07-01 14:17:32 +02:00
Kiril Videlov
9b1aa0fbcf
button spinner while pushing
2023-07-01 12:13:25 +02:00
Kiril Videlov
30a99b0bbe
add a crude branch delete button
2023-07-01 12:10:56 +02:00
Kiril Videlov
f5586aa22d
api for deleting a vbranch
2023-07-01 12:10:56 +02:00
Kiril Videlov
4bdaaacf3e
add support for deleting vbrahcnes
2023-07-01 12:10:56 +02:00
Scott Chacon
a2a30d05a8
Sc fix remote listing2 ( #574 )
...
* fix remote listing
* dont show commit stuff unless there is something to commit
2023-07-01 08:54:17 +02:00
Mattias Granlund
8858c19bdb
Fix bug causing settings page to not load theme
...
Initializing the theme in the page.svelte file meant it was not run when
accessing sub-routes.
2023-07-01 09:50:44 +03:00
Mattias Granlund
9fe8f7e86e
Update login and settings page to match design
...
- toggle for showing AI hunks not implemented yet
2023-06-30 21:21:37 +03:00
Mattias Granlund
d3ab856cdc
Separate theme management from theme component
2023-06-30 21:21:37 +03:00