Skip to content

feat: expression/variable like feature? #244

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

Open
aktxyz opened this issue May 12, 2025 · 2 comments
Open

feat: expression/variable like feature? #244

aktxyz opened this issue May 12, 2025 · 2 comments
Labels
feature New feature or request

Comments

@aktxyz
Copy link
Contributor

aktxyz commented May 12, 2025

I have played around with another library but ultimately decided it did not have enough traction.

They did have a neat expression/variable like feature that proved useful several times, like hiding/showing widget trees based on a click or some action.

Is there anything like this in stac?

see ... https://github.com/peiffer-innovations/json_dynamic_widget/blob/main/packages/json_dynamic_widget/README.md#using-expressions

@aktxyz aktxyz added the feature New feature or request label May 12, 2025
@divyanshub024
Copy link
Member

Hey @aktxyz !! We have recently merged a PR for defining variables and fetching them.
#242

Although the listener part is missing, where you can listen to or update the widget based on the value. If something like that is required for you, then we can prioritize it.

@aktxyz
Copy link
Contributor Author

aktxyz commented May 12, 2025

very funny ... it was literally merged in an hour ago !!!

I think the listener part would open up many many possibilities -- but also seems "non trivial" to add !

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

No branches or pull requests

2 participants