Closed Bug 1133429 Opened 9 years ago Closed 9 years ago

[ReadingList] Store page metadata when adding current tab to the ReadingList

Categories

(Firefox Graveyard :: Reading List, defect, P1)

defect

Tracking

(firefox38 fixed, firefox39 fixed)

RESOLVED FIXED
Firefox 39
Tracking Status
firefox38 --- fixed
firefox39 --- fixed

People

(Reporter: Unfocused, Assigned: jaws)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

This ties in to bug 1123519 and bug 1131457, which ideally would call an API that takes a reference to a tab (or <browser>, I guess) as a param. 

We need that API built. It would:
* Get metadata via whatever bug 1131911 provides
* Normalize it (ie, we only want certain metadata field, only one image, etc)
* Add it to the DB


The UI at the moment requires:
* Title
* Image
* Favicon (somewhat already handled by favicon service)

Additional data we'll likely want in the future:
* Excerpt/description
* Keywords

And data we may want, but are less clear about:
* Author
* Publication date
Flags: qe-verify-
Flags: firefox-backlog+
(In reply to Blair McBride [:Unfocused] (I don't read bugmail - needinfo? me!) from comment #0)
> * Favicon (somewhat already handled by favicon service)

For clarification: Favicon was included here for completeness, and shouldn't be handled by this bug. Favicon service handle this (but see also bug 1089559 and bug 573638).
And this of course relies on the storage backend.
Depends on: 1131362
Blocks: 1132074
Mass change of ReadingList bugs, moving to their own component. Filter bugspam on the following quote:

“Reading is to the mind what exercise is to the body.”
― Joseph Addison
Component: General → Reading List
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
Iteration: --- → 39.1 - 9 Mar
Priority: -- → P1
Iteration: 39.1 - 9 Mar → 39.2 - 23 Mar
Shifting over to Jared.
Assignee: bmcbride → jaws
Attached patch Patch (obsolete) — Splinter Review
Attachment #8580154 - Flags: review?(mhammond)
From rnewman, we'll need to change this from `image` to `preview`.

https://github.com/mozilla-services/readinglist/issues/156
Comment on attachment 8580154 [details] [diff] [review]
Patch

Review of attachment 8580154 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with the field name change
Attachment #8580154 - Flags: review?(mhammond) → review+
With field renamed and DB name revv'd so other devs won't break since the schema changed.
Attachment #8580154 - Attachment is obsolete: true
Attachment #8580280 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/ad7b242dfaf7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: