Commit graph

164 commits

Author SHA1 Message Date
Silvano Cerza
786cefaf4d Correctly update metadata when extracting zip 2025-04-18 19:41:16 +02:00
Silvano Cerza
654fa6b455 Add some more logs 2025-04-18 18:14:36 +02:00
Silvano Cerza
1e16d01adf Skip hidden files when unzipping repo on first sync from remote 2025-04-18 18:06:20 +02:00
Silvano Cerza
56bd6dee4c Fix crashes when unzipping repo on first sync from remote 2025-04-18 18:05:30 +02:00
Silvano Cerza
b6be53ca16 Add retry to most requests made by SyncManager 2025-04-17 12:57:57 +02:00
Silvano Cerza
263623dad7 Fix hasTextExtension util function 2025-04-17 12:57:57 +02:00
Silvano Cerza
13383dc65c Change all GithubClient method to support retry and slightly change arguments type 2025-04-17 12:57:57 +02:00
Silvano Cerza
15cc51014c Add utility method to retry a function with exponential backoff 2025-04-17 12:57:53 +02:00
Silvano Cerza
457a0b6d24 Fix repo unzip 2025-04-17 09:57:17 +02:00
Silvano Cerza
1a2eb64959 Simplify logic that determines if a file is text or binary 2025-04-16 16:58:23 +02:00
Silvano Cerza
d0f04d5217 Add utility buttons in settings to copy or clean logs 2025-04-16 16:25:02 +02:00
Silvano Cerza
7e7eddaec3 Remove unnecessary import 2025-04-16 15:02:38 +02:00
Silvano Cerza
6c9b8625c3 Enhance first sync from remote to make less requests 2025-04-16 15:02:14 +02:00
Silvano Cerza
5879d22a52 Fix text files being treated as binaries if their size is big 2025-04-01 13:09:46 +02:00
Silvano Cerza
acf5157971 Remove unnecessary import 2025-03-30 11:10:02 +02:00
Silvano Cerza
5f0c8b1ed2 Fix binary files failing to upload to GitHub 2025-03-21 17:03:13 +01:00
Silvano Cerza
7a7c13fb5b Correctly set all settings section headings 2025-03-20 09:53:39 +01:00
Silvano Cerza
6fbf79cc87 Remove top-level heading in settings tab 2025-03-20 09:51:40 +01:00
Silvano Cerza
083e8db779 Correctly use sentence case in UI 2025-03-20 09:49:49 +01:00
Silvano Cerza
65f77c5720 Correctly register listener events 2025-03-20 09:49:01 +01:00
Silvano Cerza
45481a9ff9 Change enable logging setting default to false 2025-03-09 19:25:55 +01:00
Silvano Cerza
cccf97b0c4 Change sync config setting default to false 2025-03-09 19:20:53 +01:00
Silvano Cerza
ba541d9390 Remove hardcoded styles 2025-03-09 19:13:37 +01:00
Silvano Cerza
12feb2c90f Add button to reset plugin settings and metadata 2025-03-09 18:13:59 +01:00
Silvano Cerza
42c15f4479 Move diff highlight for split view in editor theme 2025-03-09 17:20:18 +01:00
Silvano Cerza
928ad73696 Remove unnecessary import 2025-03-09 16:48:05 +01:00
Silvano Cerza
8732cdc1f0 Ditch old/new nomenclature in favour of remote/local to avoid confusion 2025-03-09 16:47:08 +01:00
Silvano Cerza
41642b5174 Add settings to choose diff view mode 2025-03-09 16:39:25 +01:00
Silvano Cerza
937e576bcc Restructure conflict view files and add some documentation 2025-03-09 16:22:36 +01:00
Silvano Cerza
8dfa1fe592 Fix type checking issue 2025-03-09 15:43:27 +01:00
Silvano Cerza
bb21bf6c2e Add conflict resolution in unified view 2025-03-09 15:10:03 +01:00
Silvano Cerza
68c3b4e6df Handle conflict resolution 2025-03-06 17:37:00 +01:00
Silvano Cerza
d8ebee26e8 Move line styles to theme 2025-03-06 17:12:10 +01:00
Silvano Cerza
46186d8d23 Styled some stuff 2025-03-06 17:07:11 +01:00
Silvano Cerza
d061ab4803 Handle some errors when user tries to open unified view while already open 2025-03-06 16:32:57 +01:00
Silvano Cerza
e8c95d2824 Handle merging ranges 2025-03-05 18:58:03 +01:00
Silvano Cerza
dc2962cec8 Avoid creating line mapping by creating ranges directly 2025-03-05 17:18:43 +01:00
Silvano Cerza
08d5d05331 Adjust some stuff 2025-03-05 16:46:11 +01:00
Silvano Cerza
132ffff36e Other stuff that works 2025-03-05 15:31:04 +01:00
Silvano Cerza
e2a536c945 Testing things, kinda works 2025-03-03 16:17:11 +01:00
Silvano Cerza
f5ed38f341 Restructure diff view to get ready for mobile view 2025-03-01 18:44:48 +01:00
Silvano Cerza
f72ce44504 Some renames in the conflict view 2025-03-01 18:24:06 +01:00
Silvano Cerza
b263e24941 Move conflict view in root view and adjust style 2025-03-01 18:11:43 +01:00
Silvano Cerza
0ca42124db Respect user settings on conflict 2025-03-01 17:13:43 +01:00
Silvano Cerza
7bca8262f4 Add settings to hide button to open conflicts view 2025-03-01 17:05:09 +01:00
Silvano Cerza
fc890b5d95 Purge onboarding flow
The onboarding flow and UI was a bit clunky and made it annoying to handle
failures, backtracking, errors made by the user, etc.
I decided to remove it completely and just show a notice to the user if
the plugin is not correctly configured, forcing them to take action.
Documentation is going to be key in teaching the user how to configure
the plugin properly.
2025-03-01 16:43:25 +01:00
Silvano Cerza
b9133477c0 Add custom error for GithubClient failures 2025-03-01 16:40:53 +01:00
Silvano Cerza
cd0f54a117 Fix logger not creating log file 2025-02-28 17:51:55 +01:00
Silvano Cerza
28abd1c1cc Clarifies what metadata sha is 2025-02-28 17:40:47 +01:00
Silvano Cerza
7d389f8e0c Handle corner case in conflict check 2025-02-28 17:39:06 +01:00