Commit Graph

57 Commits

Author SHA1 Message Date
Sam Chau
daa3a70c2c feat: Add button visibility depending on various factors - dev mode hide stage / commit - buttons show tooltips / are greyed out when they cant be clicked 2025-02-05 16:09:58 +10:30
Sam Chau
8df03175a2 refactor: move action buttons into seperate component 2025-02-05 16:09:58 +10:30
Sam Chau
a86cd8425b fix: Add back noChanges messages to Sync Status 2025-02-05 16:09:58 +10:30
Sam Chau
c1f90b3c37 refactor: move branch functionality into repo container. Add some icons 2025-02-05 16:09:58 +10:30
Sam Chau
6d3c5064da feat: improve aesthetics of branch buttons 2025-02-05 16:09:58 +10:30
Sam Chau
c45af368b9 feat: add double clock confirmations to branch modal 2025-02-05 16:09:58 +10:30
Sam Chau
79e1b77381 feat: improve modal design 2025-02-05 16:09:58 +10:30
Sam Chau
e77edfb099 fix: add back git operation functions 2025-02-05 16:09:58 +10:30
Sam Chau
9faf46a3ea feat: add tab navigation to settings page 2025-02-05 16:09:58 +10:30
Sam Chau
22d61d2547 refactor: Adjust rest of git component names 2025-02-05 16:09:58 +10:30
Sam Chau
7c6b476e96 refactor: complete refactor for settings page 2025-02-05 16:09:58 +10:30
Sam Chau
98ed762e04 refactor: move repo functions into seperate component 2025-02-05 16:09:58 +10:30
Sam Chau
34cbaa4776 refactor: convert repo settings into a seperate component 2025-02-05 16:09:58 +10:30
Sam Chau
bc382e91b3 feat: add components for arr settings 2025-02-05 16:09:58 +10:30
Sam Chau
d1d1296526 feat: add props to addNewCard to change size 2025-02-05 16:09:58 +10:30
Sam Chau
adc7fe836a feat: add auth to git operations 2025-02-05 16:09:58 +10:30
Sam Chau
30bc238105 feat: overhaul branch modal design 2025-02-05 16:09:58 +10:30
Sam Chau
15cd66a775 fix: delete and checkout now work properly - checkout local only / remote only branches - delete local only / not remote branches if !dev mode 2025-02-05 16:09:58 +10:30
Sam Chau
450fcb4973 feat: implement dev mode 2025-02-05 16:09:58 +10:30
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
fa4818cb6a refactor: move git operations into their own route 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
Sam Chau
549dec7aab feat: api function to unlink repo 2025-02-05 16:09:58 +10:30
santiagosayshey
3947c1e319 Sorting options in profile modal 2025-02-05 16:09:58 +10:30
santiagosayshey
57f045a8cf Highlight input fields on click in profile modal 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
1cee08bdbd feat(profile-modal): Improvements - Show quality profile type in status page - Increase modal size, split things into columns - Filter formats - Bigger description size 2025-02-05 16:09:58 +10:30
santiagosayshey
d9601eac0f feat(Modal): Modal, profile improvements - Adjust title based on state - Score formats based on tags 2025-02-05 16:09:58 +10:30
santiagosayshey
174e4ec82d feat(delete): Improve delete functionality - Don't allow deletion of regex / format in use - Add confirmation for deleting before allowing request 2025-02-05 16:09:58 +10:30
santiagosayshey
8cb3d7a827 feat(profiles): Add basic functionality for profile page
- Create ProfileCard and ProfileModal components
- Implement profile.py backend file for CRUD operations
- Update API file with profile-related functions
- Modify main application file to include profile blueprint
- Add profile directory initialization
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
santiagosayshey
4d9514b35f fix(regex): Check if regex is being used in custom format(s) before deleting 2025-02-05 16:09:58 +10:30
santiagosayshey
ff9093de6c style(buttons): change style and position of regex101 buttons 2025-02-05 16:09:58 +10:30
santiagosayshey
d9928f4f2e style(ui): Refine AddNewCard styling for instant border highlight on hover 2025-02-05 16:09:58 +10:30
santiagosayshey
c80b80f385 fix(clone): Ensure cloned items open in "Add New" modal instead of "Edit" modal 2025-02-05 16:09:58 +10:30
santiagosayshey
3571b35c5f fix(regex): Remove regex101 link when cloning a regex pattern 2025-02-05 16:09:58 +10:30
santiagosayshey
fe768935f8 feat(regex): Implement clone functionality and enhance UI with adjusted clone button size and animation 2025-02-05 16:09:58 +10:30
santiagosayshey
08a868254e refactor(clone-button): Reduce size and adjust hover animation for clone button 2025-02-05 16:09:58 +10:30
santiagosayshey
851a02a794 refactor: Update hover styles for FormatCard and RegexCard components 2025-02-05 16:09:58 +10:30
santiagosayshey
0c0a4cb5d1 feat: Add clone button with SVG icon to FormatCard component 2025-02-05 16:09:58 +10:30