Closed Bug 987328 Opened 11 years ago Closed 11 years ago

Notes are not sorted right in RNA release-notes pages

Categories

(www.mozilla.org :: Bedrock, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hoosteeno, Assigned: jgmize)

References

Details

(Whiteboard: [kb=1312101] )

Attachments

(2 files)

38 bytes, text/x-github-pull-request
pmac
: review+
lsblakk
: feedback+
Details | Review
44 bytes, text/x-github-pull-request
Details | Review
From :lsblakk: "notes are not respecting sort num where the Mixed content note has a sort number of 1000 and then options panel is a -50 (ie: they are reversed in the /b version)" Here are the notes in question: Mixed Content: https://nucleus.mozilla.org/admin/rna/note/785360/ Options panel: https://nucleus.mozilla.org/admin/rna/note/327/ Options panel sorts higher in the section and should sort at the very bottom of the section.
Whiteboard: [kb=1312101]
To extend the sort issue here's the logic we've used: For notes that are added to a dot release - ie: have a version number starting off the content of a note, like https://nucleus.mozilla.org/admin/rna/note/413 we need those notes (even though they are tagged "FIXED") to be at the very top of the release notes no matter what. I believe we discussed adding a new tag to deal with these like "DOT FIXED" or something so that the logic driving the templates would know to a) put them at the top and b) still use the "FIXED" tag style for that note. For regular notes, they should get sorted within their tag group from highest sort number to lowest. That's why some will have 1000 (or even higher) and others will have negative numbers as the sort order number (to keep them at the very bottom). We don't have to use negative numbers going forward, if that breaks things, and someday a nice enhancement would be drag n drop sorting in the web interface. In the meantime we just need to (for press & PR reasons) put certain notes higher than others.
Attached file rna pr 29
Attachment #8396145 - Flags: review?(pmac)
Attachment #8396145 - Flags: feedback?(lsblakk)
Assignee: nobody → jmize
Component: Nucleus → Bedrock
Product: Websites → www.mozilla.org
Attached file bedrock PR 1827
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 8396145 [details] [review] rna pr 29 as mentioned on GH - this looks good in action - thanks!
Attachment #8396145 - Flags: feedback?(lsblakk) → feedback+
Attachment #8396145 - Flags: review?(pmac) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: