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

Increase debounce time, add flush on blur, ui tweaks #167

Merged
merged 22 commits into from
Feb 5, 2022
Merged

Conversation

eatonphil
Copy link
Member

@eatonphil eatonphil commented Feb 4, 2022

Typing is janky because of waiting for updates. This PR does three things for that:

  • Wrap http updates in a setTimeout to make the UI not freeze on updates
  • Bump the update interval while editing text/code from 125ms to 3s
  • Flush updates to text/code onblur and on ctrl-enter in panels

This PR also updates the UI

  • Switch to ionic fonts
  • Soften the UI
  • Drop group labels
  • Buttons to automatically create graphs and tables
    • Should probably be more contextual (near Result/Preview section?)
    • Maybe make preview section not black
  • Fullscreen mode for panels
  • Line wrap on code editor
  • Automatic resizing on code editor (bugfix)
  • More state synced to url (expanded, sidebar open)

image

Notes:

  • Always reading from localstorage on desktop (urlstate) is too slow (changing pages for example)
  • Filter aggregate panel is very tall vertically when exposed

@eatonphil eatonphil changed the title Increase debounce time, add flush on blur Increase debounce time, add flush on blur, ui tweaks Feb 5, 2022
@eatonphil eatonphil merged commit 834dbd6 into main Feb 5, 2022
@eatonphil eatonphil deleted the pe/ui-perf branch February 5, 2022 21:19
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

Successfully merging this pull request may close these issues.

1 participant