Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: migrate UIElementId to use NewType #3843

Merged
merged 6 commits into from
Feb 19, 2025

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Feb 18, 2025

Similar to SessionId, migrate UIElementId to use NewType for better type safety.

This change ensures proper type checking across the codebase for UI element IDs.

Changes:

  1. Added NewType support to parse_raw for proper deserialization
  2. Removed downstream casting of UIElementId
  3. Fixed lint issues and unused imports

Link to Devin run: https://app.devin.ai/sessions/b3b7462a98fa480a90d5a521111a308b
Requested by: Myles

Similar to SessionId, migrate UIElementId to use NewType for better type safety.
This change ensures proper type checking across the codebase for UI element IDs.

Co-Authored-By: Myles Scolnick <[email protected]>
@devin-ai-integration devin-ai-integration bot added the enhancement New feature or request label Feb 18, 2025
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link

vercel bot commented Feb 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 1:27am
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 1:27am

Copy link
Contributor Author

pre-commit.ci autofix

@mscolnick mscolnick merged commit ebc52d3 into main Feb 19, 2025
33 of 34 checks passed
@mscolnick mscolnick deleted the devin/1739917041-migrate-uielementid-to-newtype branch February 19, 2025 01:34
Copy link
Contributor Author

Devin is archived and cannot be woken up. Please unarchive Devin if you want to continue using it.

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant