WIP: VEO video generation snackbars and editor info messages logic#7111
WIP: VEO video generation snackbars and editor info messages logic#7111ggenovgoogle wants to merge 7 commits intobreadboard-ai:mainfrom
Conversation
dglazkov
left a comment
There was a problem hiding this comment.
This is the wrong approach. Here's how I would do it:
-
create another property on the
Modetype inpackages/a2/src/generate/main.tsthat's named something likesubscriberInfoand populate it inMODESarray with the right message -
when displaying the message in the step editor, check to see if the user is a subscriber (using UIState object) and display either
infoorsubscriberInfo.
The snack bar bits should be a separate PR, as it is more involved.
| Outcome, | ||
| StoredDataCapabilityPart, | ||
| } from "@breadboard-ai/types"; | ||
| import * as BreadboardUiTypes from "@breadboard-ai/shared-ui/types"; |
There was a problem hiding this comment.
This creates a circular reference. shared-ui depends on a2 and now a2 depends on shared ui
Hey @dglazkov , thanks for the feedback! It seems there were things added in the past days which were not present at the moment i was creating the pull request. For example the UIState credits counter. I will fix the stuff and create 2 separate PR's as you suggested. 1 for the subscriberInfo message and 1 for the snackbars. Do you have any comments on the snackbar messages / events, is that okay? |
Uh oh!
There was an error while loading. Please reload this page.