Skip to content

feat(ui): add persistent view toggle state to upload panel (#570)#975

Open
annukumar123 wants to merge 4 commits into
imDarshanGK:mainfrom
annukumar123:feature/upload-persistent-state
Open

feat(ui): add persistent view toggle state to upload panel (#570)#975
annukumar123 wants to merge 4 commits into
imDarshanGK:mainfrom
annukumar123:feature/upload-persistent-state

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

#570

Core Modifications

  • UploadPanel.jsx: Introduced a persistent state layer to track panel minimization via localStorage on a per-session basis (upload-panel-collapsed:${sessionId}). Converted the panel container to use conditional rendering layouts so hidden assets are completely unmounted from the DOM tree when collapsed.
  • UploadPanel.test.jsx: Designed robust mock unit tests isolating JSDOM Storage prototype configurations to confirm persistence parameters decode smoothly across mounting pass loops.

Verification Checklist

  • Local state initialization validations passed via Vitest runner targets.
  • Verified localStorage configurations write correctly across active workflow state transitions.
Screenshot 2026-07-12 053020

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

@annukumar123 is attempting to deploy a commit to the Darshan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@annukumar123

Copy link
Copy Markdown
Contributor Author

@imDarshanGK
Both CI are working . you can verify now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant