I would change the alignment of the group they are both in based on a conditional rule for when the first screen isn’t visible, if I’m understanding the question right?
Hmm, I think it doesn’t work. The editor still puts Screen 1 first and Screen 2 second when both screens are visible.
Here a very simple loom video to showcase the problem. In this example I would like to display Screen 2 first if that was clicked first (the first clicked screen to take the left spot).
Oh! right, I misunderstood your question.
And I assume the objects within each screen will be quite different so you dont want to just notionally call each one screen 1 or two based on a custom state?
A messy way to do it would be to create the internal content for each screen as a reusable element, and have the both screens reusable elements in each screen group, then have a custom state which is triggered when you are clicking screen one or two which sets the order, then the conditional rule would show the contents based on that… but its not elegant sorry… I’ll think it over and come back to you if I have a nicer one
what exactly do you want to build here?
If you make your content dynamic and use repeating groups this would be pretty easy to achieve.
Here 10 seconds video.
I’m trying to build a webapp where you can use generative AI in chats and documents (see screenshot).
Similar to ChatGPT but with more capabilities.
I think you can create a copy of the first one and conditionally hide and show others depending on which one is open.
Simply, you will have 3 groups next to eachother:
[Chats A][Documents][Chats B], where Chat A and B is exact copies of eachother.
All hidden at first. Then, whenever chat is clicked, if documents is not visible, you show Chat B (hiding chat A). If documents is visible, you show Chat A (hiding B).
If document is clicked, and if A is visible, you hide A and show documents and B. If B is visible, you just show documents.
I hope it is clear
Yes, I thought about doing this, the downsize is that I’ll have to do the setup of all the workflows again (in this example of Chat B). Am I right or is there a way of copying all with the workflows and automations?
You can move chats into a reusable maybe.