|
|
Created:
4 years ago by einbinder Modified:
3 years, 11 months ago Reviewers:
dgozman CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDevTools: Show not found message in FilteredListWidgets
This also lets the FilteredListWidget be smaller if it has few results.
BUG=662081
Review-Url: https://codereview.chromium.org/2599623002
Cr-Commit-Position: refs/heads/master@{#443170}
Committed: https://chromium.googlesource.com/chromium/src/+/cf75b7400451e8457d5b9489e27158173727ea09
Patch Set 1 #
Total comments: 2
Patch Set 2 : Handle showsMatchingItems #
Total comments: 6
Patch Set 3 : comments #Patch Set 4 : merge #
Messages
Total messages: 36 (18 generated)
Description was changed from ========== Merge branch 'master' into not_found partial BUG= ========== to ========== DevTools: Show not found message in FilteredListWidgets BUG=662081 ==========
einbinder@chromium.org changed reviewers: + dgozman@chromium.org
Description was changed from ========== DevTools: Show not found message in FilteredListWidgets BUG=662081 ========== to ========== DevTools: Show not found message in FilteredListWidgets This also lets the FilteredListWidget be smaller if it has few results. BUG=662081 ==========
Let's beautify the message :-) https://codereview.chromium.org/2599623002/diff/1/third_party/WebKit/Source/d... File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2599623002/diff/1/third_party/WebKit/Source/d... third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:49: this._fixedHeight = true; Let's instead position based on maxHeight (if present) in wrapsContent mode.
Let's also use different not found text.
http://i.imgur.com/mEoVAqO.png http://i.imgur.com/uI4T1J1.png http://i.imgur.com/pwNNrxF.png https://codereview.chromium.org/2599623002/diff/1/third_party/WebKit/Source/d... File third_party/WebKit/Source/devtools/front_end/ui/Dialog.js (right): https://codereview.chromium.org/2599623002/diff/1/third_party/WebKit/Source/d... third_party/WebKit/Source/devtools/front_end/ui/Dialog.js:49: this._fixedHeight = true; On 2016/12/27 at 19:36:48, dgozman wrote: > Let's instead position based on maxHeight (if present) in wrapsContent mode. Done.
lgtm https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js (left): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js:107: if (!this._delegate.itemCount()) Please restore. https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js (right): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js:304: var beforeDialogHeight = this._dialog.element.style.height; Let's have comments explaining that we rely on css to set the proper list height (based on max-height) and so on.... https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/filteredListWidget.css (right): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/filteredListWidget.css:116: height:34px; style: space after colon
https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js (left): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js:107: if (!this._delegate.itemCount()) On 2017/01/10 at 00:21:34, dgozman wrote: > Please restore. Done. https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js (right): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js:304: var beforeDialogHeight = this._dialog.element.style.height; On 2017/01/10 at 00:21:34, dgozman wrote: > Let's have comments explaining that we rely on css to set the proper list height (based on max-height) and so on.... Done. https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/devtools/front_end/ui_lazy/filteredListWidget.css (right): https://codereview.chromium.org/2599623002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/devtools/front_end/ui_lazy/filteredListWidget.css:116: height:34px; On 2017/01/10 at 00:21:34, dgozman wrote: > style: space after colon Done.
The CQ bit was checked by einbinder@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dgozman@chromium.org Link to the patchset: https://codereview.chromium.org/2599623002/#ps40001 (title: "comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by einbinder@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by einbinder@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dgozman@chromium.org Link to the patchset: https://codereview.chromium.org/2599623002/#ps60001 (title: "merge")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by einbinder@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by einbinder@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by einbinder@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1484195722133850, "parent_rev": "e0959faf15de830455fa90014920adec9c880bc2", "commit_rev": "cf75b7400451e8457d5b9489e27158173727ea09"}
Message was sent while issue was closed.
Description was changed from ========== DevTools: Show not found message in FilteredListWidgets This also lets the FilteredListWidget be smaller if it has few results. BUG=662081 ========== to ========== DevTools: Show not found message in FilteredListWidgets This also lets the FilteredListWidget be smaller if it has few results. BUG=662081 Review-Url: https://codereview.chromium.org/2599623002 Cr-Commit-Position: refs/heads/master@{#443170} Committed: https://chromium.googlesource.com/chromium/src/+/cf75b7400451e8457d5b9489e271... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/cf75b7400451e8457d5b9489e271... |