Closed Bug 1152389 Opened 9 years ago Closed 7 years ago

Reconcile our maximum pinboard count error messages

Categories

(Tree Management :: Treeherder: Frontend, defect, P5)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jfrench, Assigned: sclements, Mentored)

References

()

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(3 files)

So we have three different "pinboard is full" kinds of messages, encountered with slightly different workflows and code-paths.

I wonder if we could have one code path, or at least, fewer message styles.

To reproduce:
Workflow 1
o start with pinboard, Pin-all icon
dialogue: "Max pinboard size of 500 reached."

Workflow 2
o empty pinboard, Pin-all, remove a few jobs, pin some others until >500
dialogue: "Pinboard is already at maximum size of 500"

Workflow 3
o empty pinboard, Pin-all, Pin-all a 2nd time
dialogue: "Pinboard is full. Can not pin any more jobs"


I wonder if we want to try to make at least the first 2, if not all 3, match each other (possibly with dialogue 1, since we just fixed that in bug 1149576) and perhaps also make these things non-sticky? ie. removing the [x] close UI.

We could also check to see if there are code-path duplications, during the work.
Attached image maxPinCountMsgs
Per screen grab.
Assignee: nobody → sclements313
Mentor: cdawson
Keywords: good-first-bug
Priority: P4 → P5
Whiteboard: [lang=js]
Attachment #8919904 - Flags: review?(cdawson)
Comment on attachment 8919904 [details] [review]
Pull request for pinboard error message

Just requesting a couple tweaks.  Please reassign to me when you've got them done.
Attachment #8919904 - Flags: review?(cdawson) → review-
Attachment #8920349 - Flags: review?(cdawson)
Component: Treeherder → Treeherder: Frontend
Attachment #8920349 - Flags: review?(cdawson) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: