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

fix: display error if tool creation failed #738

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

ivyjeong13
Copy link
Contributor

@ivyjeong13 ivyjeong13 commented Dec 3, 2024

Addresses #502

After syncing with Donnie, resolved field was added to the ToolReference. Similarly to aliasAssigned:

  • undefined, the creation of tool is still resolving
  • true/false, tool has or has not been resolved

Once resolved, error should be supplied.

Needed to implement polling to fetch the ToolReference until it is resolved.

Once resolved, error is shown in ErrorDialog, but lemme know if there is a different preferred error handling!

Screen.Recording.2024-12-03.at.10.13.18.AM.mov

(Tempted to see if I can make it scroll to the created tool once it's completed so user immediately sees their uploaded tool or maybe sort by recently created so it immediately shows at the top?)

@ivyjeong13 ivyjeong13 force-pushed the fix/error-tool-creation branch from 3231a6a to 548a9bf Compare December 3, 2024 15:20
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of small things, but looks good overall!

Copy link
Contributor

@ryanhopperlowe ryanhopperlowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! All set

@ivyjeong13 ivyjeong13 merged commit 91dcd71 into obot-platform:main Dec 3, 2024
1 check passed
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.

2 participants