You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a Proof of Concept and writing short tutorials around bubbletea. I was trying to do what I consider to be a fairly simple change but it seems like I'm doing something wrong.
I have a main model that has references to previewModel and SurveyModel. The PreviewModel takes a struct , generates the yaml representation of it and simply shows a preview of it on updates. The Main Model asks a few questions then once the questions are complete it shows a confirmation prompt (Which I tried to create using the List bubbles ) component.
My root model view, looks correct when I walk through it with a debugger but the preview is never rendered.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been working on a Proof of Concept and writing short tutorials around bubbletea. I was trying to do what I consider to be a fairly simple change but it seems like I'm doing something wrong.
I have a main model that has references to previewModel and SurveyModel. The PreviewModel takes a struct , generates the yaml representation of it and simply shows a preview of it on updates. The Main Model asks a few questions then once the questions are complete it shows a confirmation prompt (Which I tried to create using the List bubbles ) component.
My root model view, looks correct when I walk through it with a debugger but the preview is never rendered.
I pushed the code on here: https://github.com/csg33k/bubbles/tree/main/03_components and you can see a preview of the behavior on here:
(PS. Thank you for VHS I'm having a lot of fun with in capturing behaviors)
Beta Was this translation helpful? Give feedback.
All reactions