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

Add error card when generated model is empty #96

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

franknoirot
Copy link
Collaborator

@franknoirot franknoirot commented Jan 10, 2024

Presents the user with an error state if the successfully-generated model from a prompt turns out to be empty, as having an empty scene with successful UI was confusing and made it hard to tell if it was an issue with the camera or something else.

Demo

empty-scene-demo-compressed.mp4

Copy link

vercel bot commented Jan 10, 2024

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

Name Status Preview Updated (UTC)
text-to-cad-ui ✅ Ready (Inspect) Visit Preview Jan 10, 2024 5:27pm

@franknoirot franknoirot self-assigned this Jan 10, 2024
@franknoirot franknoirot added bug Something isn't working enhancement New feature or request labels Jan 10, 2024
@franknoirot franknoirot changed the title Add error empty scene Add error card when generated model is empty Jan 10, 2024
@jessfraz
Copy link
Contributor

jessfraz commented Jan 10, 2024

so technically these shouldnt reach the ui and should have already thrown an error but this is good just in case, but i really wanna know if any leak thru, but new api changes are deployed

@franknoirot
Copy link
Collaborator Author

Yeah is there a way for me to log loudly when this card appears? I can do it pretty easily from the component but I'm not sure the best place to log to

@jessfraz
Copy link
Contributor

Could send it to sentry? But no worries this is good for all previous models to my patch too and if we logged those it would be noisy

@franknoirot
Copy link
Collaborator Author

Ah right wouldn't want to log every time it appeared in the UI that'd be way too much, makes sense. I'll keep an eye out though

@franknoirot franknoirot merged commit 6623941 into main Jan 11, 2024
2 checks passed
@franknoirot franknoirot deleted the add-error-empty-scene branch January 11, 2024 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants