Skip to content

Make Configuration tab settings persistent across browser resets #161

@anfredette

Description

@anfredette

Problem

Settings on the Configuration tab (e.g., Estimated Performance toggle, Deployment Mode) are stored only in Streamlit session state, which is lost when the browser tab is closed or refreshed. Users have to reconfigure their preferences every time they reload the UI.

Expected Behavior

Configuration tab settings should persist across browser resets so users don't need to reconfigure them each session.

Possible Approaches

  • Use Streamlit's st.query_params to encode lightweight settings in the URL
  • Persist settings to a backend endpoint (e.g., /api/v1/settings) backed by the database or a config file
  • Use browser local storage via a Streamlit component

Settings Affected

  • Deployment Mode (Simulator / Production)
  • Estimated Performance toggle (enable/disable roofline estimation)
  • Any future configuration options added to this tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions