Commit Graph

1784 Commits

Author SHA1 Message Date
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
Kiril Videlov
d95cbdb738 fetch after push 2023-06-30 17:34:24 +02:00
Kiril Videlov
488f7862f5 remove unused parameter 2023-06-30 17:34:24 +02:00
Kiril Videlov
f9bc13685a remove target extraction from vbranch, use origin 2023-06-30 17:34:24 +02:00
Kiril Videlov
958979c623 fix an opsie 2023-06-30 17:34:24 +02:00
Kiril Videlov
2c965e8a47 push head directly 2023-06-30 17:34:24 +02:00
Kiril Videlov
5fb2ef580e update upstream 2023-06-30 17:34:24 +02:00
Kiril Videlov
07c4d53078 persisting upstream branch on vbranch upon push 2023-06-30 17:34:24 +02:00
Scott Chacon
a4114185d2
set a remote flag on commits that have been pushed (#568) 2023-06-30 16:50:15 +02:00
Nikita Galaiko
297e0cddc9 new virtual branch button works 2023-06-30 16:00:54 +02:00
Scott Chacon
f8be69575f
Some Docs (#565)
* document these structs
2023-06-30 15:36:40 +02:00