Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Forcing Global Values After Manual Interaction #504

Closed
garrettmflynn opened this issue Nov 9, 2023 · 3 comments
Closed

Allow Forcing Global Values After Manual Interaction #504

garrettmflynn opened this issue Nov 9, 2023 · 3 comments
Assignees

Comments

@garrettmflynn
Copy link
Member

Currently, it is not possible to re-assert the applicability of Global Metadata after someone has manually interacted with an input—particularly a checkbox (boolean) input. We currently assume that checkboxes are always decoupled after interaction, whereas other inputs revert to the Global Metadata if cleared (i.e. cannot be empty if a global is set).

We need a way to allow for global values to assert themselves despite previous manual interaction.

Solutions

Checkboxes

To do this, we could have a "Force All" button on the global metadata popup, which will present a warning that this will overwrite any existing manual values.

Other Inputs

Similarly, we could include a "Force Empty" button that could take the place of automatic reversion to the Global Value.

@garrettmflynn garrettmflynn self-assigned this Nov 9, 2023
@CodyCBakerPhD
Copy link
Collaborator

@garrettmflynn How does the current global metadata behave? Is this needed any longer?

@garrettmflynn
Copy link
Member Author

If a global default is specified, most inputs will fallback to this if cleared (e.g. text inputs, arrays, etc.).

However, checkboxes don't have a way to be cleared, so they're stuck with the user-defined state after the first interaction.

This would still be a nice feature to have—but we haven't had too many issues with it. There are very few checkboxes in the GUIDE at the moment

@CodyCBakerPhD
Copy link
Collaborator

Summarized and moved to #846

Re-open again whenever this starts active development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants