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

Issue 10388142: Show the message 'No files match "abc"' if the search results are empty. (Closed)

Created:
8 years, 7 months ago by Oleg Eterevsky
Modified:
8 years, 7 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Show the message 'No files match "abc"' if the search results are empty. Make search case-insensitive. Match files by extensions and other substrings. BUG=126633, 126704, 126993 TEST="The message is shown in place of file list if the search results are empty." Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137377

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -3 lines) Patch
M chrome/browser/resources/file_manager/css/file_manager.css View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 5 1 chunk +18 lines, -2 lines 0 comments Download
M chrome/browser/resources/file_manager/js/mock_chrome.js View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/file_manager/main.html View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Oleg Eterevsky
8 years, 7 months ago (2012-05-15 12:23:31 UTC) #1
dgozman
https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css#newcode1290 chrome/browser/resources/file_manager/css/file_manager.css:1290: #list-container:not([no-search-results='true']) #no-search-results { Drop the |='true'|. It's cleaner. https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/js/file_manager.js ...
8 years, 7 months ago (2012-05-15 13:12:38 UTC) #2
SeRya
https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css#newcode1290 chrome/browser/resources/file_manager/css/file_manager.css:1290: #list-container:not([no-search-results='true']) #no-search-results { Use 'hidden' instead of custom attribute.
8 years, 7 months ago (2012-05-15 13:19:01 UTC) #3
Vladislav Kaznacheev
https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css#newcode1287 chrome/browser/resources/file_manager/css/file_manager.css:1287: top: 28px; /* Leave room for the file list ...
8 years, 7 months ago (2012-05-15 13:38:12 UTC) #4
Oleg Eterevsky
Please have another look. https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/1/chrome/browser/resources/file_manager/css/file_manager.css#newcode1287 chrome/browser/resources/file_manager/css/file_manager.css:1287: top: 28px; /* Leave room ...
8 years, 7 months ago (2012-05-15 13:55:27 UTC) #5
SeRya
https://chromiumcodereview.appspot.com/10388142/diff/7/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/7/chrome/browser/resources/file_manager/css/file_manager.css#newcode1291 chrome/browser/resources/file_manager/css/file_manager.css:1291: #no-search-results[hidden] { There is global [hidden] rule, you only ...
8 years, 7 months ago (2012-05-15 14:08:03 UTC) #6
Oleg Eterevsky
https://chromiumcodereview.appspot.com/10388142/diff/7/chrome/browser/resources/file_manager/css/file_manager.css File chrome/browser/resources/file_manager/css/file_manager.css (right): https://chromiumcodereview.appspot.com/10388142/diff/7/chrome/browser/resources/file_manager/css/file_manager.css#newcode1291 chrome/browser/resources/file_manager/css/file_manager.css:1291: #no-search-results[hidden] { On 2012/05/15 14:08:03, SeRya wrote: > There ...
8 years, 7 months ago (2012-05-15 14:16:50 UTC) #7
SeRya
lgtm https://chromiumcodereview.appspot.com/10388142/diff/11001/chrome/browser/resources/file_manager/main.html File chrome/browser/resources/file_manager/main.html (right): https://chromiumcodereview.appspot.com/10388142/diff/11001/chrome/browser/resources/file_manager/main.html#newcode168 chrome/browser/resources/file_manager/main.html:168: <div id="no-search-results" hidden="true"></div> Just hidden. Without ="true"
8 years, 7 months ago (2012-05-15 14:21:28 UTC) #8
Oleg Eterevsky
Added a few lines in FileManager.prototype.onSearchBoxUpdate_ to make search case-insensitive and find substrings. Could you ...
8 years, 7 months ago (2012-05-15 14:27:08 UTC) #9
dgozman
I don't see the change about case sensitiveness and substrings. https://chromiumcodereview.appspot.com/10388142/diff/11001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/10388142/diff/11001/chrome/app/generated_resources.grd#newcode11048 ...
8 years, 7 months ago (2012-05-15 14:32:53 UTC) #10
Oleg Eterevsky
Sorry, last time I forgot to upload the change regarding case sensitivity and substrings. I've ...
8 years, 7 months ago (2012-05-16 06:51:28 UTC) #11
SeRya
8 years, 7 months ago (2012-05-16 07:27:34 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698