Alex Gleason
fc9bd3ef02
Add useNostrRepo hook
2025-12-29 22:14:30 -06:00
Alex Gleason
69a49af983
Add NostrRepoEditDialog
2025-12-29 18:54:07 -06:00
Alex Gleason
02cc069ff8
Move git sync operations directly into GitSyncProvider
2025-12-29 17:57:16 -06:00
Alex Gleason
a752b22138
Let me configure Nostr repo name
2025-12-29 17:15:31 -06:00
Alex Gleason
db64cb3047
Refetch autosync after creating git repo
2025-12-29 17:05:10 -06:00
Alex Gleason
ffa65212bc
Hold errors in GitSyncProvider
2025-12-29 16:43:47 -06:00
Alex Gleason
71f3a08325
Load autosync state at the top level to prevent jarring toggle shifts
2025-12-29 16:25:11 -06:00
Alex Gleason
1e13ed8f36
Add unified git sync state so state is shared across components
2025-12-29 16:10:09 -06:00
Alex Gleason
758e3ab261
Add git autosync functionality
2025-12-29 16:00:23 -06:00
Alex Gleason
d8e46732b3
Nostr git improve error reporting for push
2025-12-28 23:38:22 -06:00
Alex Gleason
4216d9864c
Add the Rollback menu to SyncStep
2025-12-26 01:06:04 -06:00
Alex Gleason
739b0d50e0
Move External button to the right of Copy button
2025-12-25 06:26:48 -06:00
Alex Gleason
5ef848b45e
Include user relays in repo announcement event
2025-12-25 00:34:46 -06:00
Alex Gleason
83fec3f6d6
Invalidate git status after every git action
2025-12-25 00:23:13 -06:00
Alex Gleason
0fa4d3a199
Fix onAuth binding to this
2025-12-25 00:20:18 -06:00
Alex Gleason
e599f76787
Add back a simple useGitFetch hook
2025-12-24 21:38:57 -06:00
Alex Gleason
a9c1922e51
Include relay host in Nostr URIs when possible
2025-12-24 20:46:55 -06:00
Alex Gleason
1f87c68c4f
Display yellow indicator dots above push and pull buttons when changes need to be synced
2025-12-24 20:20:48 -06:00
Alex Gleason
cfb7242e2b
Make the Sync button display loading indicators for Push and Pull
2025-12-24 20:16:01 -06:00
Alex Gleason
9eb068c2ad
SyncStep: loading spinner on pull and push buttons
2025-12-24 20:09:40 -06:00
Alex Gleason
977c40f85b
Make Sync button a Collapsible instead of a Dropdown
2025-12-24 20:05:55 -06:00
Alex Gleason
53c8f16dec
Fix list item styles in force push/pull dialogs
2025-12-24 19:55:15 -06:00
Alex Gleason
7428a23c8d
Display remote changes message in SyncStep
2025-12-24 19:44:30 -06:00
Alex Gleason
f2e34ed9af
Display dot indicator where there are unsynced changes
2025-12-24 19:34:18 -06:00
Alex Gleason
12433320b6
Display git provider favicon in SyncStep
2025-12-24 19:20:34 -06:00
Alex Gleason
bc0eec3839
Capture git http error to Sentry
2025-12-24 19:09:01 -06:00
Alex Gleason
5f054a9a4a
Pass a parsed remoteUrl down into GitSyncSteps to simplify conditionals
2025-12-24 18:58:51 -06:00
Alex Gleason
21df7fe3dd
Link to git credentials in case of 401, improve Force Push text
2025-12-24 18:05:44 -06:00
Alex Gleason
99764670ef
Don't dismiss error just because Force Pull button was clicked
2025-12-24 17:53:59 -06:00
Alex Gleason
2948a3b4d4
Remove AlertTriangle from error text
2025-12-24 17:44:43 -06:00
Alex Gleason
46affcbdcc
Add "Force Push" functionality
2025-12-24 17:44:13 -06:00
Alex Gleason
c1427d45dc
Fix DropdownMenuItem gap in SyncStep
2025-12-24 17:27:29 -06:00
Alex Gleason
fba7d680f2
Switch ForcePullDialog to use a regular Dialog
2025-12-24 17:21:02 -06:00
Alex Gleason
fe72549e2d
Improve ForcePullDialog language
2025-12-24 17:15:16 -06:00
Alex Gleason
5c8d9b3aaa
Refactor ForcePullDialog into a separate component
2025-12-24 16:57:56 -06:00
Alex Gleason
2dc22cc40b
Add SyncStepError component
2025-12-24 16:54:34 -06:00
Alex Gleason
1fadd80adc
Add better error handling to SyncStep
2025-12-24 16:52:16 -06:00
Alex Gleason
49f535827c
SyncStep: save full Error object in the state
2025-12-24 16:30:22 -06:00
Alex Gleason
2df6887591
GitSync: dismiss error
2025-12-24 16:27:51 -06:00
Alex Gleason
1c28587bdf
Put Push and Pull side-by-side
2025-12-24 16:21:37 -06:00
Alex Gleason
91ae86bbde
SyncStep: DRY, improve display of unknown git URLs
2025-12-24 15:57:10 -06:00
Alex Gleason
0dbe51fd88
Add separate pull and push actions to sync
2025-12-24 15:49:55 -06:00
Alex Gleason
9fe97c0b61
Refactor ConfigureRepoStep to eliminate code duplication
...
- Move GRASP server URL generation before the if/else branches
- Move validation before the if/else branches
- Move 5-second wait after both branches
- Reduces code duplication by ~50 lines while maintaining identical functionality
2025-12-23 07:37:11 -06:00
Alex Gleason
f7fc018ae2
Update existing repo announcements with current GRASP servers
...
- When an existing NIP-34 repository announcement is found, extract all metadata (name, description, web URLs, t-tags, earliest commit)
- Update the announcement with current GRASP server clone URLs and relays from config
- Publish the updated event to keep repository announcements in sync with GRASP configuration
- Remove invalid onProjectDeleted prop from ProjectDetailsDialog usage (prop was removed in previous refactor)
2025-12-23 07:31:33 -06:00
Alex Gleason
8174db459f
Fix repo announcement event creation
2025-12-23 07:28:13 -06:00
Alex Gleason
5460a2e766
Fix disconnect query invalidation
2025-12-23 04:22:35 -06:00
Alex Gleason
706ec3642e
Improve copy
2025-12-23 03:23:03 -06:00
Alex Gleason
b82b4539d9
Let ngitWebUrl be configurable
2025-12-23 01:21:56 -06:00
Alex Gleason
43190b7a35
Small refactor in ConfigureRepoStep
2025-12-23 01:03:40 -06:00
Alex Gleason
e98fc617a1
Open git link externally
2025-12-23 01:02:50 -06:00