Reland "Clear password search on X and close it with back button"
This CL fixes what caused the revert in commit bed2f341. (No TBRs because the original is quite old) Original change's description: > Revert "Clear password search on X and close it with back button" > > This reverts commit dcb5b1f4. > > Reason for revert: > Regressed on some devices. Failure reason is not obvious enough for confident immediate fix. > > Bug: 834676 > > Original change's description: > > Clear password search on X and close it with back button > > > > Right now, clicking the X button in the search will close it. > > To start a new search, you have to open a new search. > > That experience isn't very discoverable, so UX developed an improved > > workflow - details in the bug. > > > > The new flow needs these changes: > > - the X button _only_ clears the query text field now > > - the X button is _only_ available when a query was entered > > - closing the search happens only via the "navigate up" button > > in the action bar. > > - the three-dots overflow menu is hidden while a search is active > > (already the case on small screens - now large screens do the same) > > > > Tests cover all of these cases. > > > > Bug: 821755 > > Change-Id: Ieb2e16c096750d66874aa4c4999759629332491b > > Reviewed-on: https://chromium-review.googlesource.com/966070 > > Reviewed-by: Theresa <twellington@chromium.org> > > Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#550955} > > TBR=twellington@chromium.org,fhorschig@chromium.org > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Bug: 821755 > Change-Id: I9035e5aed91dca19bcff94e195cf060ef61f2b29 > Reviewed-on: https://chromium-review.googlesource.com/1019150 > Reviewed-by: Friedrich Horschig <fhorschig@chromium.org> > Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> > Cr-Commit-Position: refs/heads/master@{#552101} # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 834676, 821755, 864607 Change-Id: I7afbcd0022a84a10c13b89f7538f63105ab04e52 Reviewed-on: https://chromium-review.googlesource.com/1143204Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#577136}
Showing
Please register or sign in to comment