Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

hitting remote at each endpoint value change bogs page down #229

Open
meowsbits opened this issue Jan 10, 2020 · 1 comment
Open

hitting remote at each endpoint value change bogs page down #229

meowsbits opened this issue Jan 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@meowsbits
Copy link
Contributor

meowsbits commented Jan 10, 2020

Describe the bug
It seems that the RPC fetch method(s) are called every time the value in the input field changes.

2020-01-10-113810_360x223_screenshot

This gets really boggy for me.

Expected behavior
Set (finalize) the endpoint value when I hit Return, or when the inputted value becomes a valid URL.

Desktop (please complete the following information):

  • OS: linux
  • Browser firefox
  • Version 96e603e
@shanejonas shanejonas added the bug Something isn't working label Jan 10, 2020
@shanejonas shanejonas self-assigned this Jan 10, 2020
@meowsbits
Copy link
Contributor Author

meowsbits commented Jun 30, 2020

Just bumping. As the user types, we can expect that, for example, http://loca is not going to work because it isn't a valid FQDN. I would propose validating the endpoint before attempting to hit it, saving a lot of predictable failures (ie a failure with each letter typed, assuming the endpoint is currently tested on value change).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants