Skip to content

[Bug] [Frontend] Query History does not persist after browser refresh #718

@shivambind269-ai

Description

@shivambind269-ai

Summary

The application claims that the last 50 analyses are saved locally and available through Query History. However, after refreshing the page or reopening the browser, previously analyzed queries are no longer visible in the history panel.

Steps To Reproduce

  1. Open the QyverixAI application.
  2. Paste any code snippet and click "Analyze Code".
  3. Verify that the analysis appears in Query History.
  4. Refresh the browser page or close and reopen the browser.
  5. Check the Query History section.

Expected Behavior

Previously analyzed queries should remain available after page refresh and browser restart, as Query History is expected to be stored locally.

Actual Behavior

Query History is cleared after refresh/reopen, and previously analyzed entries are lost.

Environment

OS: Windows 11
Browser: Chrome
Version: Latest Stable Release

Possible Cause

The history state may be stored only in memory and not persisted to localStorage, or localStorage retrieval may not be functioning correctly during application initialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions