Revision dashboard "bug" highlighting is case sensitive

RESOLVED FIXED

Status

Mozilla Developer Network
Dashboards
--
enhancement
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: teoli, Assigned: adusca, Mentored)

Tracking

Details

(Whiteboard: [specification][type:bug])

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
What did you do?
================
A comment in the revision dashboard had a mention to "Bug 707479".

What happened?
==============
The mention wasn't made an hyperlink

What should have happened?
==========================
Like for lowercase mentions ("bug 707479"), they should be made an hyperlink

Is there anything else we should know?
======================================
(Reporter)

Comment 1

3 years ago
Created attachment 8542469 [details]
Screen Shot 2014-12-30 at 09.24.47.png

"Bug XYZ" are not made hyperlinks.
"bug XYZ" are.

The former should behave like the lowercase case.
(Reporter)

Comment 2

3 years ago
A similar highlighting is happening on $history pages, it also should behave the same (case-insensitive).
See a non-working case: https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/PromiseUtils.jsm/Deferred$history
Good enhancement bug for a new contributor.
Mentor: lcrouch@mozilla.com
Severity: normal → enhancement
Component: General → Dashboards

Comment 4

3 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/cffb896bb194b0fb64aa6f84f7bb1fef43ceb17b
Bug 1116419: Highlight 'bug' ignoring case in Wiki comments and history

https://github.com/mozilla/kuma/commit/e9c3133d72c9e938e64f450c62674fdc4ea5a7e8
Merge pull request #2982 from adusca/master

Bug 1116419: Highlight both 'bug' and 'Bug' in Wiki comments and history
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Assignee: nobody → alicescarpa
You need to log in before you can comment on or make changes to this bug.