Above I created the “Add a pokemon.” button awhile back. Its has a lot of complexity to it and would be annoying to recreate. Later on, I decided to add three more buttons. Aesthetically, it would be nice to combine “Add a pokemon.” and “View My Pokemon” into a button bar.
This will solve a lot. Though the added functionally in case your buttons do not use a compound action would be nice. Especially in cases where you have already built a link to screen that has a lot of time invested into different components.
But yes! Moving forward with reusable compound actions it would be smarter to create those cases in compound actions.
You can do that by setting the visibility condition for those button individually.
one can be seen when “relation to pokemon table is empty”
other button can be seen when “relation to pokemon table is Not empty.”
I think single component with single setting concept is already perfect to get things done rather than lots of logics/switchings in one component. So i think it’s fine for how it goes around here like this at the moment.
Your design is nice, I like the three style “buttons” with an inline line! I can see how this would be easier to manipulate into one, two, four, or more buttons. Instead of independent screen configuration, you could create an action and use if statements to make it even more versatile. It will scale really well once you can reuse actions.
This solution still does not solve what I have an issue with, though.
@Travis I can see that some people have misunderstood your feature request. Maybe consider re-titling it for better clarity? Something like “Make Buttons & Button Bar Interchangeable” might be clearer?