This PR adds theme customization capability for the user by showing them realtime preview of the changes
This is a draft PR as there’s still work to be but core functionality works with some bugs
https://github.com/user-attachments/assets/f6bfa771-32ad-4afb-84da-e890e910690b
Type of Change
- ✨ New feature (non-breaking change which adds functionality)
Areas Affected
- User Interface/Experience
Testing Done
Describe the tests you’ve done:
- Cross-browser testing (if UI changes)
- Mobile responsiveness verified (if UI changes)
Checklist
- I have read the CONTRIBUTING document
- My code follows the project’s style guidelines
- I have performed a self-review of my code
- I have commented my code, particularly in complex areas
/claim #883
/closes #863
Summary by CodeRabbit
-
New Features
- Added a privacy settings page for managing external images and trusted senders.
- Introduced new icons: Stop and Lock.
-
Refactor
- Replaced direct data fetching and mutations with React Query and TRPC throughout the app for improved consistency and reactivity.
- Updated email compose and draft handling to support CC/BCC fields and improved modal behavior.
- Simplified layout and provider structure for better maintainability.
- Enhanced chat and AI features with improved UI, example queries, and context-aware prompts.
-
Bug Fixes
- Improved error handling and UI feedback for drafts and settings.
- Fixed potential runtime errors in summary rendering and mail display.
-
Chores
- Removed a large number of legacy or unused files, including animated icons, old API routes, and deprecated components.
- Added a
.dockerignore file to optimize Docker builds.
- Updated workflow and Dockerfile for better build performance and clarity.
-
Tests
- Updated hook and mutation usage to align with new data fetching patterns.
-
Documentation
- Improved inline comments and type annotations for better code clarity and maintainability.
-
Style
- Standardized import statements and improved UI consistency across components.
-
Revert
- Removed deprecated or redundant features, such as early access modals and unused homepage components.