Closed Bug 881457 Opened 13 years ago Closed 13 years ago

Switch webmaker.org over to app tags for featured makes

Categories

(Webmaker Graveyard :: webmaker.org, defect)

x86
All
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: cade)

Details

(Whiteboard: s=2013w24)

Attachments

(1 file)

It's currently using raw tags (i.e. those which do not contain a ':' - "featured"). In order to ensure that not just anyone can get their content on the front page of webmaker.org, we need to use app tags (Those which are prefixed by a ':' - "webmaker:featured")
Severity: normal → blocker
Whiteboard: s=2013w24
I think I got most, if not all of them, but you know this repo better than me, so lets confirm we got everything.
Attachment #760939 - Flags: review?(kate)
Keep in mind we're going to have to sift through staging and update all the projects using the raw "[ featured, guide, recommended ]" tag to "webmaker:[ featured, guide, recommended ]"
Comment on attachment 760939 [details] [review] https://github.com/mozilla/webmaker.org/pull/107 My only concern here is that everywhere we check for guides we will have to check for both webmaker:guide and guide, which will complicate code paths like this for example: https://github.com/mozilla/webmaker.org/blob/master/lib/makeapi-webmaker.js#L25 Personally I think [ webmaker:featured + guide ] is a better way to filter the front page rather than having to update all of our code paths, but if you are going to do it that way, you should update: https://github.com/mozilla/webmaker.org/blob/master/lib/makeapi-webmaker.js#L25 https://github.com/mozilla/webmaker.org/blob/master/public/js/base/mediaGallery.js#L53
My one objection to that is that relying on raw tags for our main search combinations may cause us headaches in the future Imagine a user makes a guide using thimble tags it "guide" We discover it through social media or some other mechanism and add "webmaker:featured" because it's awesome. The next day/week/whenever, they delete the guide tag, whether accidentally or on purpose and updates their make. The make disappears from our page because it no longer satisfies the search criteria. If we use "webmaker:guide" then the make can only be removed if the user deletes it outright or requests directly that it not be shown. At least in this case we have some more control over when things disappear from our front page.
Status: NEW → ASSIGNED
Attachment #760939 - Flags: review?(kate) → review+
Comment on attachment 760939 [details] [review] https://github.com/mozilla/webmaker.org/pull/107 I changed my mind on "webmaker:guide" Reverted it back to just "guide". featured / recommended guides will be tagged with the corresponding app tag rather than also having to include another app tag.
Attachment #760939 - Flags: review+ → review?(kate)
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: