Skip to content

🚀 Feature: Add Reset Filters and Clear Persisted Session Actions in Tracker Dashboard #397

@surjeetkumar8006

Description

@surjeetkumar8006

🔖 Feature description

Currently, the Tracker dashboard persists filters and GitHub authentication credentials across page refreshes using browser storage.

However, users do not have an easy way to:

  • reset saved filters
  • clear persisted search states
  • remove stored session/authentication data

without manually clearing browser storage.

✅ Proposed Solution

Add dedicated UI actions for:

1. Reset Filters

This should clear:

  • active tabs
  • search queries
  • issue/PR filters
  • pagination state
  • selected repository
  • date ranges

and restore the dashboard to its default state.

2. Clear Persisted Session / Logout

This should:

  • remove stored GitHub credentials from sessionStorage
  • reset authentication state
  • safely redirect or refresh the tracker state

🎯 Expected Benefits

  • Improved user experience
  • Easier session management
  • Better control over persisted dashboard state
  • Cleaner UX for shared/public systems

📂 Possible Implementation Areas

  • src/pages/Tracker/Tracker.tsx
  • src/hooks/useGitHubAuth.ts
  • persistence utility logic

🎤 Screenshot

No response

🔄️ Additional Information

This feature would complement the recently implemented persistence functionality and provide a complete session management experience for users.

The implementation can remain lightweight by reusing existing state setters and browser storage cleanup logic.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions