Closed Bug 593901 Opened 14 years ago Closed 11 years ago

Need an icon for IndexedDB PopupNotifications

Categories

(Firefox :: Theme, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
blocking2.0 --- -

People

(Reporter: bent.mozilla, Assigned: shorlander)

References

Details

(Keywords: icon, Whiteboard: [doorhanger])

I've hooked up the IndexedDB PopupNotifications using a generic question mark icon, but I think we'll need something else for final. The popup is shown in two different situations, 1) when a website first tries to create an IndexedDB database for offline use, and 2) when the size of the IndexedDB database is growing beyond a soft quota limit. In each case there is an "allow", "never", and "not now" action that the user can take.
> using a generic question mark
>icon, but I think we'll need something else for final.

This will be the same icon we're developing for use with local storage.  

>The popup is shown in
>two different situations, 1) when a website first tries to create an IndexedDB
>database for offline use, and 2) when the size of the IndexedDB database is
>growing beyond a soft quota limit.

Can we only prompt in the second case?  It's these types of notifications that basically resulted in google switching to a full on app store model for Web applications, since granting each privilege for each site independently is really confusing and tedious.  For app tabs we'll of course want to make this soft quota limit much larger than non-app tabs.
(In reply to comment #1)
> Can we only prompt in the second case?

Hm. We've been discussing the prompt strategy for a while and the current plan has been worked out with content and security teams plus blizzard. We can certainly change it in the future if everyone can agree.
>Hm. We've been discussing the prompt strategy for a while and the current plan
>has been worked out with content and security teams plus blizzard. 

Is this user initiated (similar to protocol registration)?  If so then I don't think it's much of an issue.  Our notification system has been designed for the user to be able to quickly ignore irrelevant and unprompted questions, but nonetheless we need to try to limit how many of them we are going to toss in the user's direction.
Like Geo-location and protocol registration, it's simply a javascript API that the website can call whenever it wants. However it's easy for the site to do so upon a user action. But ultimately it's up to the site when the call is made.

I definitely agree that we want to prompt users as little as we can, however I don't see a way around it in this case (which I'm sure everyone says about their feature :) ). It solves several problems for us, in particular:

* Makes privacy sensitive tracking much harder
* Allows us to not have an automatic expiration policy for the data
* Lets us store larger amounts of data without further prompting the user and
  without having to worry about gobbling up too much of the users disk space.
  (Large amounts of data is the main use case for IndexedDB. For small amounts
  of data you can use localStorage)
blocking2.0: --- → ?
The original report is about needing a custom icon for the existing notifications. The rest is about the notification necessity, which should be in separate bug.

Blocking- on the original report. The question mark should suffice for the given scenarios. Would take a patch on approval if it emerges.
blocking2.0: ? → -
Whiteboard: [target-betaN]
(In reply to comment #5)
> Blocking- on the original report. The question mark should suffice for the
> given scenarios.

Agreed. Stephen, any progress here?
Stephen?
Target Milestone: --- → Firefox 3
Status: NEW → ASSIGNED
Target Milestone: Firefox 3 → ---
(In reply to comment #7)
> Stephen?

Not quite finished yet. It has taken lower priority to blocking work. I will try to get to this once I clear blocking work.
Target Milestone: --- → Firefox 3
Target milestone "Firefox 3"? Was that an intentional change here?
Target Milestone: Firefox 3 → ---
(In reply to comment #8)
> Not quite finished yet. It has taken lower priority to blocking work. I will
> try to get to this once I clear blocking work.

Ok, thanks for the update!
Whiteboard: [target-betaN] → [target-betaN][doorhanger]
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [target-betaN][doorhanger] → [doorhanger]
Version: unspecified → Trunk
Blocks: 587208
I'm closing this since we don't prompt for indexedDB by default any more. Users need to explicitly enable the "ask me" behavior for a particular site in order to get the prompt, and the generic question mark seems sufficient for that.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Well, the prompt pops up by default when the site exceeds the quota limit, and soon (with "permanent" storage) the prompt will come up immediately by default... The question mark works, but it's not awesome.
You need to log in before you can comment on or make changes to this bug.