Closed Bug 1441897 Opened 7 years ago Closed 7 years ago

Improve opengraph metadata for bug pages

Categories

(bugzilla.mozilla.org :: User Interface, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: overholt, Assigned: imadueme)

References

Details

Attachments

(3 files)

It would be cool if individual bugs had nicer previews (aka "unfurls") in Slack, etc. than just the Mozilla 'm'. Some information that may be helpful is here: https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254
The unfurls that would be useful are summary, product, component, status, priority, version, target, and version statuses. What files would need to be modified for showbug.cgi?
Flags: needinfo?(kohei.yoshino)
Also, if there's any attached image, we could use it for the preview (assuming CSP permits.) Will take a look tomorrow.
I don't think an attached image would be useful. The context here (at least as I was grumbling about it) is that casually mentioning a bug link in Slack results in a big-giant-m that interrupts the discussion (and woe upon they who mentions multiple bug links -- just two fills up most of the screen). Also, I think that in most cases whatever image happens to be attached to the bug is not going to be helpful. So, as a minimal fix, I'd be happy if we just removed the big-m image preview. Bonus points for improving the usefulness of whatever else is shown, but I'd still urge that it be kept as minimal as possible for the same reasons. e.g. Firebot's bug expansions are limited to: <dolske> bug 123456 <firebot> https://bugzil.la/123456 β€” NEW, assignee@mozilla.com β€” Bug title goes here
Assignee: nobody → imadueme
So I like dolske's suggestion, let's just make it more minimal and somewhat like what firebot produces.
That sounds good. It would be nice if additional metadata would go into a thread. Will ask the Slackers about that.
I've setup and gotten 2 quick prototypes, both attached. Description Prototype: Just shows one or two lines of text under the bug unfurl. This would let us pack more detail in less space, but, isn't as well structured. Fields Prototype: Separates each metadata item that we want to show into a field. This makes it easy to read at a glance, but, takes more space. There can be more than two fields. needinfo on which style is preferred and for the chosen style what bug data should be displayed.
Flags: needinfo?(ehumphries)
Flags: needinfo?(dylan)
Attached image Field Prototype β€”
Attached image Description Prototype β€”
Attached file Github PR - #503 β€”
Flags: needinfo?(dylan)
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Summary: Better Slack bug previews → Improve opengraph metadata for bug pages
Flags: needinfo?(kohei.yoshino)
Depends on: 1451960
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: