Skip to content

Session state not persisted when switching between sessions (open tabs + draft input lost) #1498

@ambient-code

Description

@ambient-code

Category: bug / UX improvement

Summary

When switching between sessions, open artifact tabs and draft prompt input are not preserved — they are lost every time the user navigates away and returns.

Steps to Reproduce

  1. Open a file artifact in a new tab
  2. Switch to a different session
  3. Switch back to the original session
  4. Result: The artifact tab is gone/closed

Also:

  1. Start typing a prompt in the input box
  2. Switch to a different session
  3. Switch back
  4. Result: Draft input is gone

Expected Behavior

Session UI state (open artifact tabs + draft prompt input) should be persisted per session and restored when returning to that session.

Actual Behavior

  • Open artifact tabs are closed when switching away from a session
  • Draft prompt input is cleared when switching away from a session
  • Both issues happen every time, with all artifact types

Impact

User must re-open artifact tabs and re-type prompts every time they switch between sessions.

Notes

User identified these as the same root cause: browser UI state (tabs + input) is not being persisted per session. This falls into the category of UI/UX improvements around persisting browser actions/data for sessions.


Filed via Amber Interview

Metadata

Metadata

Assignees

No one assigned

    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