Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 2972963003: MD Bookmarks: Prevent flash of folder contents when changing search term (Closed)

Created:
3 years, 5 months ago by tsergeant
Modified:
3 years, 5 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Bookmarks: Prevent flash of folder contents when changing search term In MD Bookmarks, changing search term would clear the results of the current search, then fire off a new search request, which would bring in new results <1 second later. This caused a brief flash of folder contents for whatever folder was currently selected. This CL fixes that issue by holding on to the old search results until the new search results are available. BUG=737076 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2972963003 Cr-Commit-Position: refs/heads/master@{#484494} Committed: https://chromium.googlesource.com/chromium/src/+/ca6bd61910347a8d6b53299b2a621c312aed7129

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -10 lines) Patch
M chrome/browser/resources/md_bookmarks/reducers.js View 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/types.js View 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/util.js View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/reducers_test.js View 2 chunks +31 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (10 generated)
tsergeant
3 years, 5 months ago (2017-07-06 05:57:10 UTC) #7
calamity
lgtm Side note: a search for spaces is valid and returns no results. Worth dealing ...
3 years, 5 months ago (2017-07-06 07:59:30 UTC) #8
tsergeant
On 2017/07/06 07:59:30, calamity wrote: > lgtm > > Side note: a search for spaces ...
3 years, 5 months ago (2017-07-06 08:09:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2972963003/1
3 years, 5 months ago (2017-07-06 08:10:05 UTC) #11
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 08:21:33 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ca6bd61910347a8d6b53299b2a62...

Powered by Google App Engine
This is Rietveld 408576698