Closed
Bug 812369
Opened 12 years ago
Closed 12 years ago
[Apps] Check for sufficient storage before starting app download
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P1)
Tracking
(blocking-basecamp:+)
People
(Reporter: jcarpenter, Assigned: julienw)
References
Details
(Keywords: feature, late-l10n)
Attachments
(1 file, 2 obsolete files)
6.86 KB,
patch
|
benfrancis
:
review+
stas
:
review+
|
Details | Diff | Splinter Review |
AppInstall-020
As a user, once I confirm an app's installation, if that app requires a download in order to complete installation, I want the system to check that there is sufficient storage to download the necessary assets before initiating download, and warn me if there is not, so that I am informed of the failure to install, understand why, and know how to fix the problem.
Enabled by: https://bugzilla.mozilla.org/show_bug.cgi?id=809948
This bug covers creating a prompt to notify user once the storage check fails. As per page 8 of the spec, here: https://www.dropbox.com/sh/b0kyykhzcfkpm8b/ReFTX_E72X
Reporter | ||
Updated•12 years ago
|
Blocks: app-install
Comment 1•12 years ago
|
||
Fernando, are you working on this?
Comment 2•12 years ago
|
||
Only on the Gecko side, so far.
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P1
Comment 3•12 years ago
|
||
Marking for C2, given this meets the criteria of known P1/P2 blocking-basecamp+ bugs at the end of C1.
Target Milestone: --- → B2G C2 (20nov-10dec)
Assignee | ||
Comment 4•12 years ago
|
||
in Bug 809948, it's said there is no need for a gaia patch.
However, as I understand it, we should still display a notice to the user. Or are we already ?
We'll receive a downloaderror event with an error "INSUFFICIENT_STORAGE".
Ben, what do you think about this ?
Comment 5•12 years ago
|
||
(In reply to Julien Wajsberg [:julienw] [:everlong] from comment #4)
> in Bug 809948, it's said there is no need for a gaia patch.
I meant that there was no need for this patch -> https://bug809948.bugzilla.mozilla.org/attachment.cgi?id=681457
> However, as I understand it, we should still display a notice to the user.
Indeed. We need to display the prompt that Josh mentions in comment 0
Assignee | ||
Updated•12 years ago
|
Assignee: ben → felash
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #685099 -
Flags: review?(ben)
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 685099 [details] [diff] [review]
patch v1
added stas for review as well because of locales changes
Attachment #685099 -
Flags: review?(stas)
Assignee | ||
Comment 8•12 years ago
|
||
sorry, fixed a very small gjslint issue
Attachment #685099 -
Attachment is obsolete: true
Attachment #685099 -
Flags: review?(stas)
Attachment #685099 -
Flags: review?(ben)
Attachment #685142 -
Flags: review?(ben)
Comment 9•12 years ago
|
||
Comment on attachment 685142 [details] [diff] [review]
patch v2
Review of attachment 685142 [details] [diff] [review]:
-----------------------------------------------------------------
::: apps/system/locales/system.en-US.properties
@@ +76,5 @@
> stopDownloading=Stop downloading {{ app }}?
> app-download-can-be-restarted=The download can be restarted later.
> app-download-stop-button=Stop Download
> +not-enough-space=Not enough space
> +# this is not exactly like the design asked (they wanted two paragraph)
nit: Please remove this comment
::: apps/system/test/unit/mock_modal_dialog.js
@@ +5,5 @@
> + ],
> +
> + mPopulate: function mmd_mPopulate() {
> + this.mMethods.forEach(function(methodName) {
> + // we could probably put this method outside if we had a closure
nit: please remove this comment
Comment 10•12 years ago
|
||
r+me with these nits
We may need a follow up to handle other types of errors.
Assignee | ||
Comment 11•12 years ago
|
||
follow-up to ben's review
Attachment #685142 -
Attachment is obsolete: true
Attachment #685142 -
Flags: review?(ben)
Attachment #685568 -
Flags: review?(ben)
Assignee | ||
Updated•12 years ago
|
Attachment #685568 -
Flags: review?(stas)
Assignee | ||
Updated•12 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → Other
Comment 12•12 years ago
|
||
Comment on attachment 685568 [details] [diff] [review]
patch v3
r+me
Attachment #685568 -
Flags: review?(ben) → review+
Comment 13•12 years ago
|
||
Comment on attachment 685568 [details] [diff] [review]
patch v3
Review of attachment 685568 [details] [diff] [review]:
-----------------------------------------------------------------
r=me, thanks.
Attachment #685568 -
Flags: review?(stas) → review+
Assignee | ||
Comment 14•12 years ago
|
||
merged https://github.com/mozilla-b2g/gaia/pull/6660
(sorry Stas, I mispelled your first name...)
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Comment 15•12 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #14)
> (sorry Stas, I mispelled your first name...)
No worries at all. Maybe I should implement a 'git stas' command ;) (Also, just to confuse everyone, staś is actually pronounced almost the same way as stash)
Updated•12 years ago
|
Whiteboard: [qa-]
Updated•12 years ago
|
Whiteboard: [qa-]
Comment 16•12 years ago
|
||
Verified through today's smoke + P1 test case run for app install.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in
before you can comment on or make changes to this bug.
Description
•