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

Issue 2503513003: Show a label to describe some invalid drag-drop operations in Files app. (Closed)

Created:
4 years, 1 month ago by yamaguchi
Modified:
4 years ago
Reviewers:
fukino
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show a label to describe some invalid drag-drop operations in Files app. 1. If the destination (volume or folder) is in a write-protected external storage, "Device is write-protected". 2. If the destination is in an external storage device and writing access to there is restricted, "Access restricted". 3. Otherwise, no message. TEST=manual test BUG=655003 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/39b15cae8da27648a916ef320c4e0eb2e6ca7637 Cr-Commit-Position: refs/heads/master@{#435239}

Patch Set 1 #

Patch Set 2 : Show label while dragging. #

Patch Set 3 : Add the new file to gyp. #

Patch Set 4 : Fix some compilation errors. #

Patch Set 5 : Declare label as optional. #

Total comments: 9

Patch Set 6 : Remove redundant annotation. Style fix. #

Patch Set 7 : sync to head #

Patch Set 8 : Fix unit test failures. #

Patch Set 9 : fix message text #

Patch Set 10 : Apply new style. #

Total comments: 12

Patch Set 11 : Remove redundant properties in style. #

Patch Set 12 : Sort properties alphabetically. #

Patch Set 13 : Fix test failure of FileManagerJsTest.DirectoryTreeTest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -16 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/mock_volume_manager.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/volume_info_impl.js View 1 4 chunks +10 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager_unittest.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager_util.js View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/css/file_manager.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/drop_effect_and_label.js View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_transfer_controller.js View 1 2 3 4 5 7 chunks +61 lines, -15 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/main_scripts.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/providers_model_unittest.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/main.html View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 58 (43 generated)
yamaguchi
4 years, 1 month ago (2016-11-15 10:08:48 UTC) #2
yamaguchi
Revise the CL to contain the entire logic to show the message. ptal.
4 years, 1 month ago (2016-11-16 09:49:54 UTC) #18
yamaguchi
Revised the CL to contain the entire logic to show the message. ptal.
4 years, 1 month ago (2016-11-16 09:50:02 UTC) #19
fukino
Looking good. Please mention in the description that the design and copy are TBD. https://codereview.chromium.org/2503513003/diff/80001/ui/file_manager/file_manager/foreground/js/drop_effect_and_label.js ...
4 years, 1 month ago (2016-11-16 11:58:19 UTC) #20
yamaguchi
https://codereview.chromium.org/2503513003/diff/80001/ui/file_manager/file_manager/foreground/css/file_manager.css File ui/file_manager/file_manager/foreground/css/file_manager.css (right): https://codereview.chromium.org/2503513003/diff/80001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode2423 ui/file_manager/file_manager/foreground/css/file_manager.css:2423: border: black thin solid; I think this style should ...
4 years, 1 month ago (2016-11-16 12:33:44 UTC) #25
yamaguchi
Updated the style reflecting the mock. ptal. Here is the screenshot with current patchset. https://bugs.chromium.org/p/chromium/issues/detail?id=655003#c17
4 years ago (2016-11-30 05:45:20 UTC) #37
fukino
https://codereview.chromium.org/2503513003/diff/170001/ui/file_manager/file_manager/foreground/css/file_manager.css File ui/file_manager/file_manager/foreground/css/file_manager.css (right): https://codereview.chromium.org/2503513003/diff/170001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode2419 ui/file_manager/file_manager/foreground/css/file_manager.css:2419: #drop-label { Sort alphabetically. https://codereview.chromium.org/2503513003/diff/170001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode2423 ui/file_manager/file_manager/foreground/css/file_manager.css:2423: margin: 0; Is ...
4 years ago (2016-11-30 06:01:14 UTC) #38
yamaguchi
https://codereview.chromium.org/2503513003/diff/170001/ui/file_manager/file_manager/foreground/css/file_manager.css File ui/file_manager/file_manager/foreground/css/file_manager.css (right): https://codereview.chromium.org/2503513003/diff/170001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode2419 ui/file_manager/file_manager/foreground/css/file_manager.css:2419: #drop-label { On 2016/11/30 06:01:14, fukino wrote: > Sort ...
4 years ago (2016-11-30 06:26:11 UTC) #39
fukino
lgtm
4 years ago (2016-11-30 06:33:37 UTC) #40
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/2503513003/210001
4 years ago (2016-11-30 06:49:38 UTC) #42
commit-bot: I haz the power
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_chromeos_rel_ng/builds/324280)
4 years ago (2016-11-30 09:21:18 UTC) #44
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/2503513003/230001
4 years ago (2016-11-30 13:21:43 UTC) #51
commit-bot: I haz the power
Committed patchset #13 (id:230001)
4 years ago (2016-11-30 13:25:42 UTC) #54
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/39b15cae8da27648a916ef320c4e0eb2e6ca7637 Cr-Commit-Position: refs/heads/master@{#435239}
4 years ago (2016-11-30 13:28:18 UTC) #56
yamaguchi
4 years ago (2016-11-30 13:50:59 UTC) #58
Message was sent while issue was closed.
On 2016/11/30 13:28:18, commit-bot: I haz the power wrote:
> Patchset 13 (id:??) landed as
> https://crrev.com/39b15cae8da27648a916ef320c4e0eb2e6ca7637
> Cr-Commit-Position: refs/heads/master@{#435239}

Note: I had missed to remove the line which says "<<< The design and the copy
are still TBD. >>>" in the description before this patch landed. However,
actually the patch contains the latest design as noted in Patch Set 11.

Powered by Google App Engine
This is Rietveld 408576698