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

toasts and other UI adjustments for template generation #5145

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

wendybujalski
Copy link
Contributor

@@ -129,6 +129,9 @@ const runPrototype = async (viewId: ViewId) => {
);

if (result.result.success) {
// TODO(WENDY) - for template functions, select the returned componentIds
// modelingEventBus.emit("setSelection", componentIds);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be done? Also, I dont think we need the event bus... its just an action in the view store now...


return new ApiRequest({
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer the return style, b/c things start to break if ApiRequest isn't returned.

@wendybujalski wendybujalski added this pull request to the merge queue Dec 17, 2024
Merged via the queue into main with commit ab45c1d Dec 17, 2024
8 checks passed
@wendybujalski wendybujalski deleted the wendy/templating-ui-tweaks branch December 17, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants