# Refactor Tracking: Settings & Persistence

## 1. Open Issues & Future Improvements
- [x] **UI Modernization (Modals)**: Replaced all native browser pop-outs (`alert()`, `confirm()`, `prompt()`) with custom UI Modals across Nodes, Skills, and Settings features for a persistent premium experience.

## 2. Completed Items (Recent)
- [x] **Nodes feature Modals Refactor**: Replaced native browser popups with custom Error and Success modals.
- [x] **Skills feature Modals Refactor**: Replaced native browser popups with custom Error and Confirmation modals.
- [x] **Settings feature Modals Refactor**: Transitioned group/provider deletion confirmation to custom UI modals.
- [x] **Chrome Dark Mode Fixes**: Applied comprehensive dark mode visibility fixes to `SwarmControlPage`, `VoiceChatPage`, `ProfilePage`, and all settings cards.
- [x] **Login Flow Improvement**: Implemented automatic redirect to the home page upon successful local and OIDC login.
- [x] **User Preference Relocation**: Moved individual user settings (voice chat experience, AI defaults, silences sensitivity) to the Profile page.
- [x] **Export/Import Relocation**: Moved system-wide Export/Import features to a prominent "System Maintenance & Portability" card in the Settings page.
- [x] **Swarm Control Structural Fix**: Resolved JSX nesting errors and balanced tags in `SwarmControlPage.js`.
- [x] **UI Modernization (Modal Triage)**: Replaced several native alerts in core pages with a custom `ErrorModal`.
- [x] **SettingsPageContent.js Refactoring**: Modularized the settings page into domain-specific cards.
- [x] **apiService.js Refactoring**: Split monolithic API service into domain-driven modules.
- [x] **Multi-Provider Refactor**: Successfully transitioned STT and TTS to a multi-provider structure.
