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

API: Placeholder setting for "auto-apply preview on hover" #6021

Open
maltenuhn opened this issue Jun 21, 2024 · 0 comments
Open

API: Placeholder setting for "auto-apply preview on hover" #6021

maltenuhn opened this issue Jun 21, 2024 · 0 comments

Comments

@maltenuhn
Copy link
Member

maltenuhn commented Jun 21, 2024

Problem
Some API settings (eg those related to layout) - work best if you see a "preview" of what they do, on hover. In other tools, a common pattern for this is to apply on hover the hovered-over item in eg a list or a segment control "as if the user had already clicked on it".

Solution

  • Add an (optional) key to the API (previewable, default / in absence: false)
  • For segment controls only, implement a feature that "previews" the result on hover over a segment - but without the code editor updating yet.
@gbalint gbalint self-assigned this Jun 21, 2024
@gbalint gbalint removed their assignment Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants