Commit Graph

11 Commits

Author SHA1 Message Date
Adam
01e2adf492 Redesign mail categories to use label-based filtering instead of search queries (#1902)
# Redesigned Mail Categories with Label-Based Filtering

## Description

Reimplemented the mail categories feature to use label-based filtering instead of search queries. This change makes it easier for users to customize and manage their inbox views by selecting specific labels rather than writing complex search queries.

The PR enables the categories settings page in the navigation and completely redesigns the UI to focus on label selection. Users can now add, delete, reorder, and set default categories with a more intuitive interface.

## Type of Change

-  New feature (non-breaking change which adds functionality)
- 🎨 UI/UX improvement

## Areas Affected

- [x] User Interface/Experience
- [x] Data Storage/Management

## Testing Done

- [x] Manual testing performed

## Checklist

- [x] I have performed a self-review of my code
- [x] My changes generate no new warnings
- [x] My code follows the project's style guidelines

## Additional Notes

The PR also includes improvements to the thread querying logic in the backend to better support label-based filtering. The categories feature is now called "Views" in the UI to better reflect its purpose.

---

_By submitting this pull request, I confirm that my contribution is made under the terms of the project's license._

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **New Features**
  * Categories settings page is now accessible from navigation.
  * Categories (now called "Views") can be managed with multi-select label filters, drag-and-drop reordering, add/delete actions, and unsaved changes tracking.
  * Save and reset options are available for category changes.

* **Improvements**
  * Category selection supports multi-label filtering with a dropdown menu.
  * UI styling updated for better dark mode support and usability.
  * Localization updated to rename "Categories" to "Views".
  * Navigation and mail list no longer use category query parameters, simplifying URL handling.

* **Bug Fixes**
  * Removed unused and AI-related code for category search queries.

* **Chores**
  * Added a pre-commit script to enforce linting before commits.
  * Refactored internal logic for category and thread management for better maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-04 10:34:29 -07:00
Aj Wazzan
520e604178 pricingandthread-fixes 2025-05-26 18:36:15 -07:00
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
Nizzy
e350a5bca4 changes 2025-04-28 23:09:32 -07:00
Aj Wazzan
78737cdff6 Refactor user settings handling and improve UI components. Added user authentication check in saveUserSettings, updated Tooltip usage in GeneralPage, and adjusted layout in SettingsCard. Marked shortcuts navigation as disabled. 2025-04-24 20:55:58 -07:00
Nizzy
49dc34a011 label 2025-04-23 11:42:18 -07:00
autofix-ci[bot]
dc32dc46ad Apply Prettier format 2025-03-20 21:17:09 +00:00
autofix-ci[bot]
14b0cd8d03 Apply Prettier format 2025-03-17 05:47:20 +00:00
autofix-ci[bot]
8eea6b5ac5 Apply Prettier format 2025-03-17 05:45:01 +00:00
Kota Ikehara
d87ca9f999 style: remove shadow from SettingsCard and MailCategoryTabs component (#451)
Fix #449
2025-03-15 13:36:36 -04:00
Nizzy
dd34d7d420 monorepo 2025-02-24 21:00:46 -05:00