-
Notifications
You must be signed in to change notification settings - Fork 5k
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
"Source" pane is jumpy when typing repo name for a new app #15961
Comments
The jumpiness in the UI for keystrokes seems to be related to how the Autocomplete component in argo-ui is configured. To test this , I tried to set it up locally following the guidelines in the argo-ui repository. However, the build failed due to multiple compatibility issues with dependencies and versions listed in yarn.lock and package.json. |
Hi @crenshaw-dev, I've put up a PR to fix this issue As git supports many URL formats (e.g., Let me know if you have any feedback! |
Simple and effective @david-wu-octopus 👏 |
* Debounce `props.onAppChanged()` with a wait time of 500ms Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Increase debounce wait time to 800ms Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Fix linting error Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> --------- Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com>
Describe the bug
When I create a new app, each keystroke in the repo URL field causes a backend call and jumpiness in the UI.
To Reproduce
Create a new app and manually type the repo URL.
Expected behavior
I'd expect the UI to remain calm. Ideally, I'd expect the UI to validate what I've typed and not make a backend call if the URL has no chance of being a valid repo URL.
Screenshots
Screen.Recording.2023-10-13.at.1.24.32.PM.mov
Version
2.9.0-rc2
The text was updated successfully, but these errors were encountered: