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

[ZEPPELIN-2512] Prevent slow note, interpreter search. (master, branch-0.7) #2324

Conversation

1ambda
Copy link
Member

@1ambda 1ambda commented May 8, 2017

What is this PR for?

Use debounce in search input to avoid the slow search.

See more:

image

What type of PR is it?

[Improvement]

Todos

NONE

What is the Jira issue?

ZEPPELIN-2512

How should this be tested?

  1. Create many notes with different names. (50+)
  2. Search using note name filter in home and navbar.
  3. Do the same thing for interpreters in the interpreter page

Screenshots (if appropriate)

NONE

Questions:

  • Does the licenses files need update? - NO
  • Is there breaking changes for older versions? - NO
  • Does this needs documentation? - NO

@1ambda 1ambda changed the title [ZEPPELIN-2512] Precent slow note, interpreter search. (master, branch-0.7) [ZEPPELIN-2512] Prevent slow note, interpreter search. (master, branch-0.7) May 8, 2017
@1ambda 1ambda force-pushed the ZEPPELIN-2512/add-debounce-for-search-inputs branch from 33e0942 to 8730614 Compare May 9, 2017 04:56
@Leemoonsoo
Copy link
Member

Leemoonsoo commented May 9, 2017

Tested with 200+ notebooks and it really helps!
LGTM!

CI failure looks irrlevant but could you restart failed job?
https://travis-ci.org/1ambda/zeppelin/builds/230215692

@1ambda 1ambda closed this May 9, 2017
@1ambda 1ambda reopened this May 9, 2017
@1ambda 1ambda closed this May 9, 2017
@1ambda 1ambda reopened this May 9, 2017
@1ambda
Copy link
Member Author

1ambda commented May 10, 2017

@1ambda 1ambda force-pushed the ZEPPELIN-2512/add-debounce-for-search-inputs branch from 8730614 to 20292fb Compare May 13, 2017 12:07
@1ambda 1ambda closed this May 13, 2017
@1ambda 1ambda reopened this May 13, 2017
@Leemoonsoo
Copy link
Member

Merge to master if no further comments!

asfgit pushed a commit that referenced this pull request May 15, 2017
…h-0.7)

### What is this PR for?

Use debounce in search input to avoid the slow search.

See more:

![image](https://cloud.githubusercontent.com/assets/4968473/25814653/3be8890e-3459-11e7-9be2-6a440ab41861.png)

### What type of PR is it?
[Improvement]

### Todos

NONE

### What is the Jira issue?

[ZEPPELIN-2512](https://issues.apache.org/jira/browse/ZEPPELIN-2512)

### How should this be tested?

1. Create many notes with different names. (50+)
2. Search using note name filter in home and navbar.
3. Do the same thing for interpreters in the interpreter page

### Screenshots (if appropriate)

NONE

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO

Author: 1ambda <1amb4a@gmail.com>

Closes #2324 from 1ambda/ZEPPELIN-2512/add-debounce-for-search-inputs and squashes the following commits:

20292fb [1ambda] feat: Add debounce for interpreter search input
b792ee5 [1ambda] feat: Add debounce for note name filter

(cherry picked from commit 164db07)
Signed-off-by: Lee moon soo <moon@apache.org>
@asfgit asfgit closed this in 164db07 May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants