mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Add automatic Git fetch with change detection and toast notifications
- Implement useGitFetch hook with 60-second polling - Add toast notifications for remote changes detection - Update GitDialog to show fetch status and manual refresh - Add comprehensive tests for useGitFetch - Update AGENTS.md documentation - abstract simple time ago data function
This commit is contained in:
1 parent
50897e1164
commit
056f2a0b5f
6 files changed
+576
-18
No files matched your search
@@ -91,6 +91,7 @@ Shakespeare provides full Git functionality in the browser using `isomorphic-git
|
||||
- **LightningFSAdapter**: Adapts LightningFS to the unified JSRuntimeFS interface
|
||||
- **GitCommitTool**: AI tool for automated commits with staging and validation
|
||||
- **useGitStatus Hook**: Real-time Git status monitoring (updates every 5 seconds)
|
||||
- **useGitFetch Hook**: Automatic remote fetch with change detection (updates every 60 seconds, shows toast notifications)
|
||||
- **ProjectsManager**: Handles project creation, Git initialization, and template cloning
|
||||
|
||||
#### Core Features
|
||||
@@ -219,6 +220,7 @@ This project is a Nostr client application built with React 18.x, TailwindCSS 3.
|
||||
- `useGitSettings`: Manage Git credentials and repository settings
|
||||
- `useSessionManager`: Access session management for AI chat sessions
|
||||
- `useGitStatus`: Real-time Git repository status monitoring
|
||||
- `useGitFetch`: Automatic remote fetch with change detection and toast notifications
|
||||
- `useProjects`: Project management and CRUD operations
|
||||
- `useProjectsManager`: Advanced project operations (creation, cloning, building, ZIP import)
|
||||
- `useTheme`: Theme management
|
||||
|
||||
Reference in new issue
Block a user