Closed Bug 1376829 Opened 8 years ago Closed 8 years ago

Add notes to alerts

Categories

(Tree Management :: Perfherder, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: igoldan)

References

Details

(Whiteboard: [PI:March])

Attachments

(1 file)

It would be useful to be able to add notes to alert summaries -- we could use this to provide information on current sheriffing status, details on the actual revisions, or other details that would make the summary more intuitive. My current plan is to just store these as plain text as a property of the summary table, then render the information (if available) as markdown on the client.
Whiteboard: [PI:February]
:wlach Can I take this bug?
Flags: needinfo?(wlachance)
Priority: -- → P2
(In reply to Ionuț Goldan [:igoldan], Performance Sheriffing from comment #1) > :wlach Can I take this bug? For sure, I started work on this last year in San Francisco's hackfest but I only got maybe 10-15% finished before I realized this would be a lot more work than I thought. I don't see myself returning to this in the forseable future. In case it's useful, I uploaded the branch I was working on here: https://github.com/wlach/treeherder/commits/perfherder-notes
Assignee: wlachance → nobody
Flags: needinfo?(wlachance)
Whiteboard: [PI:February] → [PI:March]
Blocks: 1429756
Assignee: nobody → igoldan
Priority: P2 → P1
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 Review of attachment 8959078 [details] [review]: ----------------------------------------------------------------- I added the notes functionality. Please test it a little and tell whether something extra is required.
Attachment #8959078 - Attachment is patch: true
Attachment #8959078 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8959078 - Flags: feedback?(wlachance)
Attachment #8959078 - Flags: feedback?(jmaher)
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 in general this looks pretty straightforward. I didn't run it locally to see how the look and feel is, but from a code perspective I added a single comment about a variable name.
Attachment #8959078 - Flags: feedback?(jmaher) → feedback+
Attachment #8959078 - Flags: review?(wlachance)
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 (Restoring attachment metadata; I'd avoid using the "edit attachment as" / splinter review functionality since it breaks these fake link attachments. Use the "details" link instead to add `review?x`)
Attachment #8959078 - Attachment is patch: false
Attachment #8959078 - Attachment mime type: text/plain → text/x-github-pull-request
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 Left some suggestions in the PR, in general this looks good.
Attachment #8959078 - Flags: review?(wlachance)
Attachment #8959078 - Flags: feedback?(wlachance)
Attachment #8959078 - Flags: feedback+ → feedback?(wlachance)
Attachment #8959078 - Flags: review?(wlachance)
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 Very close, just a few more things I'd like to see changed.
Attachment #8959078 - Flags: review?(wlachance)
Attachment #8959078 - Flags: feedback?(wlachance)
Comment on attachment 8959078 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3345 I removed the drawer and instead added the Add/Edit commands into the dropdown. The notes preview is under the individual alerts.
Attachment #8959078 - Flags: review?(wlachance)
Attachment #8959078 - Flags: review?(wlachance) → review+
Just a note: Ionut's implementation doesn't render any markdown in the note. This was probably the right trade off initially, but might be something we want to add in the future.
on production
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 1451342
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: