Replies: 19 comments
-
I have thought about the same thing. I have different ID's that I want to use as the {{ id }} field, and whenever I create a new item in the db, I'd like to edit the new ID in the next |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
Bump. Any traction on this? |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
This would be a good feature, anyone taking this up? |
Beta Was this translation helpful? Give feedback.
-
This would be great. I would assume it would edit whichever value it's pulling from. So in the case of sub-environments, it would modify the sub-environment if the variable exists, otherwise the base. |
Beta Was this translation helpful? Give feedback.
-
I wanted to create feature request to offer possibility to edit variables in modal dialog and suddenly found that other users have already created this issue. For me this feature will be very useful. Edit variable in modal dialog will be able to make manage variables function more friendly and conveniently |
Beta Was this translation helpful? Give feedback.
-
This is a very useful feature, please add it! |
Beta Was this translation helpful? Give feedback.
-
@bbbco I would like to implement this feature. But I could need some guidance from a contributor 😃 |
Beta Was this translation helpful? Give feedback.
-
There is a map of environment names generated here: There are some problems with it though, like it does not work with nested variables (#1288). We can likely ignore this one for now and just not show the ability to edit if we cannot infer the environment. Here's a suggestion for how you might go about it:
In my opinion, step 5 is the scary part. It would be very easy for a bug to accidentally wipe out a user's environment. Let me know what you think! |
Beta Was this translation helpful? Give feedback.
-
Also, as usual, don't worry about the UI/UX too much if you don't want to. If you can put together a barebones UI, I can tweak things after. |
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks for the suggestions. Okay I can add the id to the {
"USER_ID": "123"
} and not something like: {
"PARAM": {
"USER_ID": "123"
}
} Because the I think nested variables might not be that big of a problem, when the field to edit a variable value is completely un-rendered and just contains plain Actually, I don't know where the confirmation dialog should go. I think the Modification should not break something, because only root-level entries of the JSON can be edited and not sub-objects. Or are you scared of something I'm not aware of? |
Beta Was this translation helpful? Give feedback.
-
Ya, I wouldn't worry about nested variables for now. I hesitate having a cancel/save button where the Done button is because all other dialogs (eg. environment editor) saves as you type. Having this one work differently would likely be confusing even though it makes sense in isolation. What about something like having the save button inline with where you change the value? We might not actually need a confirmation dialog to start either. We could always add it later if needed.
It's just a general worry. Data loss is the worst thing that can possibly happen in an app and even a slight chance of messing something up should be taken with great caution. Proper unit tests should be able to ensure this doesn't happen 👍 |
Beta Was this translation helpful? Give feedback.
-
Anymore traction on this? |
Beta Was this translation helpful? Give feedback.
-
indeed ... how is this feature looking? |
Beta Was this translation helpful? Give feedback.
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
-
I want to address this feature request in the near future, I started a thread in this other conversation: #3551 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hey there, has there been any news on this ? |
Beta Was this translation helpful? Give feedback.
-
Details
I'd like to arbitrarily modify/edit the values of variables when I use them inside the interface. Currently, if I want to modify them, I have to do so inside the manage environments section. However, if I click on the variable inside the interface, it shows an "Edit Variable" dialog with a read-only text field of the current value. I'd like to be able to modify this value. Of course, I understand that when you consider sub-environments, the question come up, where should the new value be applied to (base env, or one of the sub envs?). I imagine another option would be made available in the dialog allowing the user to choose what to do.
Beta Was this translation helpful? Give feedback.
All reactions