daostack / daostack/alchemy_2

make DAOs search input execute less often

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Currently the DAOs search input executes a DAOs query and re-render of the page on every keypress when the input value is longer than two characters. This is often going to cause a lot of unnecessary queries and renders.

So I would like to propose that change this behavior in either of two ways:

1. execute on enter and blur (loss of focus), or
1. add a search button to the right of the input field, and an 'x' in the input field to clear it. Clicking either one executes.

I think my vote would be 1. This is how I'd like to implement the [new proposal search input](https://github.com/daostack/alchemy/issues/190).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the DAOs search input and review the linked new proposal search input issue (#190); this issue leaves two execution behaviors under consideration. Confirm the chosen interaction with maintainers, then verify that typing no longer triggers a query and page render for every character and that the agreed trigger works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.