Skip to content

Rework advanced-search form query live-update. #44

Description

@sevko

Currently, when the user is entering data into the advanced search-form, a loop assembles the full-query represented by the form and checks it for equality with the query already inside the search bar. This approach was taken because the Javascript callbacks for a change in an input[type=text] field's value occasionally failed, and failed to update the query bar, while polling at intervals invariably succeeded.

Another attempt to implement callbacks is necessary, because the looping mechanism in place is both wasteful (queries get regenerated sixty times a second), and bad form.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions