Closed
Bug 483664
Opened 16 years ago
Closed 16 years ago
Link "featured", "recommended", "experimental" labels to faq
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.4
People
(Reporter: osunick, Assigned: jbalogh)
References
Details
Attachments
(1 file, 2 obsolete files)
16.36 KB,
patch
|
lorchard
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
noob.
![]() |
||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Reporter | ||
Comment 2•16 years ago
|
||
Example:
http://skitch.com/osunick/bejyi/search-add-ons-firefox-add-ons
These labels should point to the appropriate anchors in the AMO FAQ when clicked:
https://preview.addons.mozilla.org/en-US/firefox/pages/faq
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Summary: Updated → Link "featured", "recommended", "experimental" labels to faq
![]() |
||
Updated•16 years ago
|
Status: REOPENED → NEW
Updated•16 years ago
|
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #369364 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #369364 -
Flags: review? → review?(lorchard)
Comment 4•16 years ago
|
||
Hmm... This looks okay, but having trouble actually applying the patch. Rather than a diff, it looks like an email of some sort
Assignee | ||
Comment 5•16 years ago
|
||
The patch works for me from the root of the trunk checkout. Patch ignores the mbox headers:
(khan) $ ls
bandwagon bin README site
(khan) $ patch -p0<site/app/483664.patch
patching file site/app/views/addons/browse_thumbs.thtml
patching file site/app/views/addons/category_landing.thtml
patching file site/app/views/addons/display.thtml
patching file site/app/views/addons/searchengines.thtml
patching file site/app/views/addons/themes_landing.thtml
patching file site/app/views/addons/versions.thtml
patching file site/app/views/elements/addon_listitem.thtml
patching file site/app/views/helpers/addons_html.php
patching file site/app/webroot/css/color.css
Comment 6•16 years ago
|
||
Hurrr... okay, for some reason I kept trying patch -p1
Patch looks good, applied & works fine. One thing though: I see that the "Experimental" header links to the faq, but not to the specific anchor. That is, I see this:
http://dev.addons.mozilla.org/en-US/firefox/pages/faq
But not this:
http://dev.addons.mozilla.org/en-US/firefox/pages/faq#experimental-addons
Assignee | ||
Comment 7•16 years ago
|
||
Linking to #experimental-addons and #recommended-addons (#recommended was added to the faq page).
Attachment #369364 -
Attachment is obsolete: true
Attachment #370112 -
Flags: review?
Attachment #369364 -
Flags: review?(lorchard)
Assignee | ||
Updated•16 years ago
|
Attachment #370112 -
Flags: review? → review?(lorchard)
Comment 8•16 years ago
|
||
Not seeing any changes between these two patches.
Assignee | ||
Comment 9•16 years ago
|
||
With all the changes this time!
There's only two id="recommended-addons" because those are the only two locales that even have that section.
Attachment #370112 -
Attachment is obsolete: true
Attachment #370228 -
Flags: review?(lorchard)
Attachment #370112 -
Flags: review?(lorchard)
Comment 10•16 years ago
|
||
Comment on attachment 370228 [details] [diff] [review]
linking featured and recommended labels to the faq
Looks good to me!
Attachment #370228 -
Flags: review?(lorchard) → review+
Assignee | ||
Comment 11•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago → 16 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED using:
https://preview.addons.mozilla.org/en-US/firefox/pages/faq#recommended-addons
https://preview.addons.mozilla.org/en-US/firefox/pages/faq#experimental-addons
I read the FAQ, and understand that "Featured" are just "Recommended" add-ons; I don't think we have a "Featured" graphic anywhere (nor do I see a named anchor for "Featured" in the patch).
Please reopen/correct me if I'm wrong.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 13•16 years ago
|
||
Correct, no Featured. I discussed this in real life with Nick, sorry to keep the internets out of the loop.
Comment 14•16 years ago
|
||
I did just notice one thing in this latest patch - line 506 of site/app/views/helpers/addons_html.php reads like this:
} elseif ($addon['Addon']['recommended']) {
But, this throws a warning if DEBUG is on. You should probably do something like:
} elseif (!empty($addon['Addon']['recommended'])) {
That will do the same thing, but without a warning.
Assignee | ||
Comment 15•16 years ago
|
||
Thanks, I found this yesterday too. Fixed in r24034.
Updated•16 years ago
|
Keywords: push-needed
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•