Description
Display recently opened snippets on the dashboard for quick access. Persist the recent history across sessions and provide users with an option to clear it.
Requirements
-
Display Recently Viewed
Show a list of snippets that the user has recently opened.
-
Quick Access
Allow users to click and reopen snippets directly from the dashboard.
-
Persist History
Maintain recent snippet history across sessions (local storage or backend persistence).
-
Clear History Option
Provide a button or menu option to clear the recent snippets list.
-
Responsive UI
Ensure the section adapts well to different screen sizes.
Acceptance Criteria
- ✅ Visible on dashboard — Recently viewed snippets are displayed prominently.
- ✅ Clickable entries — Users can quickly reopen snippets from the list.
- ✅ Persistent history — Snippets remain in the list across sessions until cleared.
- ✅ Clear option available — Users can clear history with a single action.
- ✅ Graceful empty state — Show a placeholder message when no snippets have been viewed.
Description
Display recently opened snippets on the dashboard for quick access. Persist the recent history across sessions and provide users with an option to clear it.
Requirements
Display Recently Viewed
Show a list of snippets that the user has recently opened.
Quick Access
Allow users to click and reopen snippets directly from the dashboard.
Persist History
Maintain recent snippet history across sessions (local storage or backend persistence).
Clear History Option
Provide a button or menu option to clear the recent snippets list.
Responsive UI
Ensure the section adapts well to different screen sizes.
Acceptance Criteria