Commit Graph

14 Commits

Author SHA1 Message Date
Sam Chau
03059638ce refactor: remove API key from clone functionality 2025-02-05 16:09:58 +10:30
Sam Chau
77a4411ca7 fix: change status message only on git status fetch 2025-02-05 16:09:58 +10:30
Sam Chau
ed12fff994 chore: add watchdog support for backend HMR 2025-02-05 16:09:58 +10:30
Sam Chau
3cc21c6951 feat: new button to push local branches, no longer auto pushes new branches to remote 2025-02-05 16:09:58 +10:30
Sam Chau
856fc300de feat: improve unlink functionality - option to remove existing files - confirmation modal 2025-02-05 16:09:58 +10:30
Sam Chau
a44804cd1d fix: add pull button back 2025-02-05 16:09:58 +10:30
Sam Chau
92b38db7a9 refactor: seperated cloning from settings 2025-02-05 16:09:58 +10:30
Sam Chau
b6c3f3a545 feat: add unlink button to frontend 2025-02-05 16:09:58 +10:30
santiagosayshey
06a230eeba feat(branch): Improve styling 2025-02-05 16:09:58 +10:30
santiagosayshey
650cfa2dc7 feat(diffViewer): Improve diff viewer - Show untracked, deleted, modified outgoing changes - Improve modal style 2025-02-05 16:09:58 +10:30
santiagosayshey
ab3c6183c5 feat(settings-page): Add sorting options for git status 2025-02-05 16:09:58 +10:30
santiagosayshey
330c162b0e refactor(nav): Implement React Router for navigation
- Replace button-based navigation with React Router Links in Navbar
- Add BrowserRouter, Routes, and Route components in App.js
- Update Navbar to determine active tab based on current route
- Remove setActiveTab prop from Navbar component
- Update RegexPage, FormatPage, and SettingsPage imports in App.js
- Adjust Navbar propTypes to remove activeTab and setActiveTab
2025-02-05 16:09:58 +10:30
Sam Chau
fd9d23a828 Refactor backend, enhance Git functionality, and improve UI/UX (#2)
## Backend Changes
- Refactored and restructured backend code
- Consolidated utility functions and updated directory structure
- Improved Git clone functionality to merge local files
- Enhanced Git status retrieval and diff parsing
- Implemented file revert and delete functionality
- Optimized Git status checks for better performance

## Frontend Enhancements
- Added smooth animated background transition in navbar
- Implemented comprehensive Git status display in SettingsManager
- Created branch management modal with improved UI and functionality
- Added loading indicators for Git operations
- Integrated DiffViewer for side-by-side comparisons of changes
- Implemented Toast notifications for better user feedback
- Enhanced file management with conditional revert/delete options
- Added ability to selectively pull incoming changes

## UI/UX Improvements
- Improved branch management UI with tooltips and confirmation dialogs
- Enhanced alert notifications using react-toastify
- Added fun loading messages for Git status
- Implemented CommitSection component for improved commit functionality

## Miscellaneous
- Updated sanitization to be less aggressive
- Initialized database folders on Flask startup
- Added Docker volumes for data storage
- Changed application name to Profilarr
2025-02-05 16:09:58 +10:30
Sam Chau
ae75baca26 feat(backend): Major overhaul of backend structure, git integration, and settings management
- **Backend Refactor:**
  - Merged route and operation files for regex and format.
  - Updated directory structure and consolidated utility functions.
  - Removed unnecessary app.py, using `__init__.py` for app creation.

- **Git Integration:**
  - Enhanced git cloning and merging methods, ensuring accurate local file updates.
  - Implemented comprehensive git status fetching with improved file status display and error handling.
  - Added branch management features, including branch creation, checkout, deletion, and associated UI improvements.
  - Integrated loading indicators and fun messages for better user feedback during git operations.

- **Settings Manager Enhancements:**
  - Expanded Git status display, including connected repository link, branch information, and detailed change listings.
  - Added revert functionality for individual files and all changes, with conditional UI updates based on file statuses.
  - Integrated `react-toastify` for alert notifications with improved styling.
  - Improved file name parsing, handling of file paths, and consistent API request structure.
  - Added UI components for a smooth tab transition and enhanced settings layout.

- **General Improvements:**
  - Revised sanitization logic for less aggressive handling, particularly for regex101 links.
  - Refactored backend logic to improve performance, specifically optimizing git status checks.
  - Implemented dynamic retrieval of default branches and enhanced handling of IDs in files.

**fixes, refactors, and additional features included**:
- Bug fixes for branch handling, git status accuracy, and file name adjustments.
- Improved error handling, logging, and user feedback across various components.
2025-02-05 16:09:58 +10:30