YouSendIt management pane does not display used or remaining storage

RESOLVED FIXED in Thunderbird 15.0

Status

Thunderbird
Preferences
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mconley, Assigned: mconley)

Tracking

Trunk
Thunderbird 15.0
x86
Windows 7
Dependency tree / graph

Thunderbird Tracking Flags

(thunderbird13 fixed, thunderbird14 fixed)

Details

Attachments

(2 attachments, 2 obsolete attachments)

(Assignee)

Description

5 years ago
The Dropbox management pane shows us a nice graphic for how much space is used, and how much is remaining.

YouSendIt's, on the other hand, is quite empty.

I do know that YSI does not currently give us any information on how much space the user has remaining - we only get how much they've used.  If I recall, this is what prevented us from using the graph.

If YSI doesn't deliver the information we need in time, we should just display to the user how much space they've used.
(Assignee)

Comment 1

5 years ago
I have that completely backwards:

What we DO have:
- How much space the user has remaining (it's the account.availableStorage value passed back when getting user information)

What we DON'T have:
- How much space the user has been allocated to begin with.
(Assignee)

Comment 2

5 years ago
bienvenu:

Having switched to the production server, I still don't see any information coming back to us regarding how much space the user was originally allocated.

Can we assume at this point that we simply will not get that information?

-Mike
(Assignee)

Comment 3

5 years ago
Created attachment 616280 [details]
Mockup if we cannot get the allocated space value

Blake:

If it turns out that we can't get the initial allocated space for the user, would something like this suffice for YouSendIt?

-Mike
Assignee: nobody → mconley
Attachment #616280 - Flags: feedback?(bwinton)

Comment 4

5 years ago
(In reply to Mike Conley (:mconley) from comment #2)
> bienvenu:
> 
> Having switched to the production server, I still don't see any information
> coming back to us regarding how much space the user was originally allocated.
> 
> Can we assume at this point that we simply will not get that information?
I can ask again exactly which information we'll get, and when.

- David

Comment 5

5 years ago
(In reply to David :Bienvenu from comment #4)
> (In reply to Mike Conley (:mconley) from comment #2)
> > bienvenu:
> > 
> > Having switched to the production server, I still don't see any information
> > coming back to us regarding how much space the user was originally allocated.
> > 
> > Can we assume at this point that we simply will not get that information?
> I can ask again exactly which information we'll get, and when.
I have asked YSI about this yesterday: "I’ll let you know the status on the API tomorrow" was the answer.
(Assignee)

Comment 6

5 years ago
Created attachment 616689 [details] [diff] [review]
Patch if YouSendIt provides those values

If we get the values we need from YouSendIt, this patch displays the graph, etc.
Comment on attachment 616280 [details]
Mockup if we cannot get the allocated space value

Yeah, if they don't give us the information we need, then we can't really do much more than that.  f=me!

Later,
Blake.
Attachment #616280 - Flags: feedback?(bwinton) → feedback+
(Assignee)

Comment 8

5 years ago
Something else I've just noticed - the availableStorage information we get back from YouSendIt doesn't seem to change.

I just uploaded a 50MB file, and my availableStorage is still at 2147483648 bytes (2GB).

Are we misinterpreting what availableStorage means?  Or are they just not updating how much space we've used?

Comment 9

5 years ago
I'm clearly not expressing myself well - YSI is not returning "real" values for those fields yet. They're working on it.
(Assignee)

Comment 10

5 years ago
(In reply to David :Bienvenu from comment #9)
> I'm clearly not expressing myself well - YSI is not returning "real" values
> for those fields yet. They're working on it.

Ah, gotcha, understood.
(Assignee)

Updated

5 years ago
Depends on: 748215
(Assignee)

Comment 11

5 years ago
Created attachment 618725 [details] [diff] [review]
Patch if YouSendIt provides those values, v2
Attachment #616689 - Attachment is obsolete: true
(Assignee)

Comment 12

5 years ago
Comment on attachment 618725 [details] [diff] [review]
Patch if YouSendIt provides those values, v2

The graphing code is copied verbatim from Dropbox's implementation (we should probably abstract that out down the line...)

Should we try to land this, and prepare a patch for if YouSendIt can't get those values to us in time?
Attachment #618725 - Flags: review?(dbienvenu)

Updated

5 years ago
Attachment #618725 - Flags: review?(dbienvenu) → review+
(Assignee)

Comment 13

5 years ago
Comment on attachment 618725 [details] [diff] [review]
Patch if YouSendIt provides those values, v2

We'll want this for TB 13 / 14.
Attachment #618725 - Flags: approval-comm-beta?
Attachment #618725 - Flags: approval-comm-aurora?

Updated

5 years ago
Attachment #618725 - Flags: approval-comm-beta?
Attachment #618725 - Flags: approval-comm-beta+
Attachment #618725 - Flags: approval-comm-aurora?
Attachment #618725 - Flags: approval-comm-aurora+
(Assignee)

Comment 14

5 years ago
comm-central: http://hg.mozilla.org/comm-central/rev/110308412806
comm-aurora: http://hg.mozilla.org/releases/comm-aurora/rev/f4d9597e9e64
comm-beta: http://hg.mozilla.org/releases/comm-beta/rev/879174a24985
Status: NEW → RESOLVED
Last Resolved: 5 years ago
status-thunderbird13: --- → fixed
status-thunderbird14: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 15.0
(Assignee)

Comment 15

5 years ago
Created attachment 619941 [details] [diff] [review]
Patch if YouSendIt does not provide values in time, WIP patch 1
(Assignee)

Updated

5 years ago
Blocks: 750789
(Assignee)

Comment 16

5 years ago
Comment on attachment 619941 [details] [diff] [review]
Patch if YouSendIt does not provide values in time, WIP patch 1

Moving this work to bug 750789.
Attachment #619941 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.