Closed Bug 1309824 Opened 9 years ago Closed 5 years ago

Selecting a storage type shows incorrect message

Categories

(DevTools :: Storage Inspector, defect, P3)

52 Branch
defect

Tracking

(firefox52 wontfix, firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox52 --- wontfix
firefox78 --- fixed

People

(Reporter: sebo, Assigned: sebo)

References

Details

(Whiteboard: [todo-mr][t1])

Attachments

(1 file)

When selecting a storage type like 'Cache Storage', 'Cookies', 'Local Storage', etc. you currently see the message "No data present for selected host". This message doesn't make sense, because there is no host selected. It would be better to display some general information about the stored data within the selected storage type. As general information I could imagine the total size of the stored data and the total number of stored entries. There may be some more statistical data for specific storage types. E.g. for cookies it might be interesting to have some information about the number of session vs. date expiring cookies. If there's no general info for a storage type (or providing storage info seems overkill), at least the current message should be replaced by a message like "Select a host to see the data stored for it.". Sebastian
Could be nice having a message with some links to the MDN docs for each storage types as well.
Filter on HOTFROG.
Whiteboard: [todo-mr] → [todo-mr][t1]
See Also: → 1102716
Product: Firefox → DevTools
Type: defect → enhancement

(In reply to Tim Nguyen :ntim from comment #1)

Could be nice having a message with some links to the MDN docs for each
storage types as well.

In preparation for that I have split out the descriptions of the storage types into separate pages, so the links can reference them directly.

Also, I think now it's better to first fix this to show a proper message to the user (and link to more info on MDN). In a later step when can then still add additional information for the different storage types. I'll create a separate issue for that.

Sebastian

Type: enhancement → defect
Summary: Selecting a storage type should show related info or message → Selecting a storage type shows incorrect message
See Also: → 1627121
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c4b489b6aa0 Show proper descriptions for storage types. r=jdescottes,fluent-reviewers,flod

I've already fixed the error. I am just waiting for feedback from Julian about the changes.

Sebastian

Flags: needinfo?(sebastianzartner)
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff07fdc7c70e Show proper descriptions for storage types. r=jdescottes,fluent-reviewers,flod
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
Depends on: 1646945
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: