Group and better organize variables
S
Sorin Oprisor
I am relying quite a lot on variables and manage to sometimes have quite a number of then in a prototype.
1
A way to group the variables together would be great. All variables related to a purpose to sit together and be able to hide/collapse together
2
a table view (like a excel sheet with two columns) where large amounts of data could be entered quickly. Maybe even pasted from excel.
My use cases. I prototype a map. And I would like to let the user tap on the map. At different coordinates there are different points of interest. I store those coordinates in variables.
Or, I have a pop in dialog that I want to reuse for. Instead of using a symbol and editing 10 times to override the text. It would be great to set the text to be read from a set of 10 variables.
3
maybe a quick filter to display only related variables to the selected layer or action. I could enable it in order to quickly hide all the unrelated variables.
4
maybe allow to color code these variables
Just a few ideas for improvement.
Great job guys so far!
Patricia (ProtoPie Team)
Merged in a post:
Enhanced variables management
P
Philipp Nürnberg
I think we had this FR already, but I can't find it. So, I would like to bring this up again. It would be great to have a more nested type of variables as we know it from json files, or databases.
Additionally, it would be helpful to re-organize the UI to have a "global" and "local" section. Right now, it can be a mess dealing with like 30 variables in this small window, and they are not really organized.
Attached, you can find a quick scribble, how I can imagine the feature update.
Here is some inspiration:
1) Vuex state management
2) UE5 state tree
3) json files
4) databases and similar: firebase, mongodb, IndexedDB
Mazzy Bart
I also prefer to avoid the implementation of variables. I would love to see this feature merged with the idea of tokens. The global and local tokens idea is good but optional. Tokens would have a format of JSON and could also sync with Design tokens. Making it even more flexible to use across different platforms.
P
Philipp Nürnberg
Mazzy Bart: Good idea. Tokens would be even more design-focused than variables and could be auto-updating with the design and vice versa. But there needs to be a self-hosted version like json import or so, because not all companies are allowed to use cloud-based tokens.
And I see the tokens feature as an additional feature, because I don't need all the states or mathmatics of my prototype as a design token, hosted in the design system. Especially when they are using ProtoPie specific layers, variables, etc.
Tobias Baharanmarjo
Variables, variables, variables! 😊