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)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: osunick, Assigned: jbalogh)

References

Details

Attachments

(1 file, 2 obsolete files)

No description provided.
noob.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
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
Depends on: 437150
OS: Mac OS X → All
Hardware: x86 → All
Attachment #369364 - Flags: review? → review?(lorchard)
Hmm... This looks okay, but having trouble actually applying the patch. Rather than a diff, it looks like an email of some sort
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
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
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)
Attachment #370112 - Flags: review? → review?(lorchard)
Not seeing any changes between these two patches.
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 on attachment 370228 [details] [diff] [review] linking featured and recommended labels to the faq Looks good to me!
Attachment #370228 - Flags: review?(lorchard) → review+
Status: NEW → RESOLVED
Closed: 16 years ago16 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
Correct, no Featured. I discussed this in real life with Nick, sorry to keep the internets out of the loop.
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.
Thanks, I found this yesterday too. Fixed in r24034.
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: