Closed Bug 744010 Opened 12 years ago Closed 12 years ago

YouSendIt management pane does not display used or remaining storage

Categories

(Thunderbird :: Preferences, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(thunderbird13 fixed, thunderbird14 fixed)

RESOLVED FIXED
Thunderbird 15.0
Tracking Status
thunderbird13 --- fixed
thunderbird14 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(2 files, 2 obsolete files)

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.
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.
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
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)
(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
(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.
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+
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?
I'm clearly not expressing myself well - YSI is not returning "real" values for those fields yet. They're working on it.
(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.
Depends on: 748215
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)
Attachment #618725 - Flags: review?(dbienvenu) → review+
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?
Attachment #618725 - Flags: approval-comm-beta?
Attachment #618725 - Flags: approval-comm-beta+
Attachment #618725 - Flags: approval-comm-aurora?
Attachment #618725 - Flags: approval-comm-aurora+
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
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 15.0
Blocks: 750789
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.

Attachment

General

Created:
Updated:
Size: