Skip to content

Reset Analysis State on New Login/Dashboard Entry #110

Description

@sutanjoyb

Currently, when a user logs in and redirects to the dashboard, the UI may persist data from a previous session (graphs, tables, and scores). To ensure a professional forensic workflow, the dashboard should automatically reset its "Active Analysis" state upon entry, while preserving the user's historical data.

Upon reaching the dashboard page after login:

  1. Persistent Data:
  • Last Session Timestamp: Display the date/time of the last active session.

  • History Section: Keep all previous records intact as they currently are.

  1. Reset Data (Set to Null/Default):
  • Graphs: Clear all active Chart.js instances.

  • Registry Tables: Clear all rows from the current analysis table.

  • Export Center: Disable download buttons until a new analysis is run.

  • Forensic Metrics: Reset the Integrity Score, Compromise Risk, and Gaps Detected to zero or "No Data."

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions