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

Issue 2271203002: Files app: Make the warning banner about local space dismissable. (Closed)

Created:
4 years, 4 months ago by fukino
Modified:
4 years, 3 months ago
Reviewers:
yamaguchi
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files app: Make the warning banner about local space dismissable. This CL includes following changes - Add a dismiss button on warning banner about Downloads space. If a user dismiss the banner, we won't show unless 36 hours have passed. - Show the warning banner about Downloads when the available size is less than 1GB. (It used to be 20%) BUG=634207 TEST=manually tested by modifying DOWNLOADS_SPACE_WARNING_DISMISS_DURATION from 36 hours to 10 seconds. Committed: https://crrev.com/214729817d1ef92f27929c090a962f633b1e5716 Cr-Commit-Position: refs/heads/master@{#414379}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a comment and set margin to warning message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -19 lines) Patch
M ui/file_manager/file_manager/foreground/css/file_manager.css View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/banners.js View 1 10 chunks +78 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
fukino
Could you take a look? Thanks!
4 years, 4 months ago (2016-08-24 12:26:14 UTC) #3
yamaguchi
https://codereview.chromium.org/2271203002/diff/1/ui/file_manager/file_manager/foreground/js/ui/banners.js File ui/file_manager/file_manager/foreground/js/ui/banners.js (right): https://codereview.chromium.org/2271203002/diff/1/ui/file_manager/file_manager/foreground/js/ui/banners.js#newcode109 ui/file_manager/file_manager/foreground/js/ui/banners.js:109: * If the warning was dismissed before, this key ...
4 years, 4 months ago (2016-08-25 05:33:00 UTC) #4
fukino
Thanks! I updated the comment, and I put a margin for the warning message not ...
4 years, 3 months ago (2016-08-25 08:28:23 UTC) #5
yamaguchi
lgtm I think the overlap can be avoided more simply if the elements are placed ...
4 years, 3 months ago (2016-08-25 09:06:00 UTC) #6
fukino
Thanks! The overall implementation of banners could be simplified. Let's do it in spare time ...
4 years, 3 months ago (2016-08-25 09:07:54 UTC) #7
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/2271203002/20001
4 years, 3 months ago (2016-08-25 09:08:21 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-25 10:00:32 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 10:02:04 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/214729817d1ef92f27929c090a962f633b1e5716
Cr-Commit-Position: refs/heads/master@{#414379}

Powered by Google App Engine
This is Rietveld 408576698