Description
Currently, favorite tasks in Ever Teams Web are stored locally in the browser (localStorage).
This limits the experience to only one device/browser, and the data is lost when users switch browsers or clear their cache.
However, Gauzy already provides a full-featured API for managing favorites, which supports not only tasks but also projects, teams, etc.
Suggested Improvement
Replace the localStorage-based implementation with a server-side integration using the Gauzy Favorites API, so that:
- Favorites are persisted across devices and sessions
- Users have a more consistent experience
- We support more types of favorites (projects, teams…)
- It aligns with our backend-first data strategy
Tasks
- Identify where favorite tasks are currently stored (e.g., localStorage or client-only state)
- Replace this logic with proper fetch and mutation logic using Gauzy Favorites API (
/api/favorites
) - Make sure favorite actions are reflected across the app (e.g., Kanban, My Tasks, Sidebar, etc.)
- If possible, extend to support favorite projects or teams in the same flow
- Use
React Query
orSWR
(if already integrated) for handling cache/mutations
Acceptance Criteria
- Favorite tasks are fetched and stored using the Gauzy API, not localStorage
- Favorites persist between sessions/devices
- UI components reflect favorite status correctly
- Code is documented and maintainable
- No broken UX or regressions introduced
References
- Gauzy Repository: https://github.com/ever-co/ever-gauzy
- API DOCS: https://api.ever.team/docs
- Existing endpoint:
POST /api/favorites
,GET /api/favorites
,DELETE /favorites/:id
Notes
This is a low-priority but high-impact improvement. It improves user experience, aligns better with our API-first design, and prepares for future features like syncing favorites across devices and using favorites in team dashboards or notifications.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status