Skip to content

fix: don't error when writing UI elements values that already exist#8147

Merged
mscolnick merged 1 commit intomainfrom
ms/dont-throw-on-set-UIElementId
Feb 5, 2026
Merged

fix: don't error when writing UI elements values that already exist#8147
mscolnick merged 1 commit intomainfrom
ms/dont-throw-on-set-UIElementId

Conversation

@mscolnick
Copy link
Contributor

Since we now pre-populate the UI with the previous session, this adds/registers previous ui-elements. On refresh, we restore the values with the previous ui_values. Previously we would throw if they already existed, but now this is expected.

@mscolnick mscolnick marked this pull request as ready for review February 5, 2026 19:53
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Feb 5, 2026 7:53pm

Request Review

@mscolnick mscolnick added the bug Something isn't working label Feb 5, 2026
@mscolnick mscolnick merged commit 8e87999 into main Feb 5, 2026
30 of 32 checks passed
@mscolnick mscolnick deleted the ms/dont-throw-on-set-UIElementId branch February 5, 2026 19:59
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.19.8-dev40

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

Labels

bug Something isn't working

2 participants