Closed
Bug 1510553
Opened 6 years ago
Closed 6 years ago
The "." character is wrongly hyperlinked with the "Learn more" string from the "SNIPPETS_SEND_TO_DEVICE_TEST" snippet
Categories
(Firefox :: Messaging System, defect, P1)
Firefox
Messaging System
Tracking
()
People
(Reporter: mcoman, Assigned: pdahiya)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
[Affected versions]:
- Firefox 64 and above
[Affected Platforms]:
- All Windows
- All Linux
- All Mac
[Prerequisites]:
- Have an RTL Firefox locale build (eg. Firefox AR) installed.
- Have a Firefox profile with the following prefs in the "about:config" page:
- "browser.newtabpage.activity-stream.asrouterExperimentEnabled" with "true" value;
[Steps to reproduce]:
1. Open the browser with the profile from prerequisites.
2. Navigate to "about:config#asrouter" page.
3. Scroll down to the "SNIPPETS_SEND_TO_DEVICE_TEST" section and click the "Show" button.
4. Click the "Install now" button.
5. Observe the hyperlink from ".The intended recipient of the email must have consented. Learn more" string.
[Expected result]:
- Only the "Learn more" string is hyperlinked.
[Actual result]:
- The "." character is also hyperlinked.
[Additional Notes]:
- This issue is also reproducible on the other Firefox locales but is more visible on the RTL ones.
- This issue is not reproducible with the "Newsletter" or with the "Simple" snippets.
- Attached a screen recording of the issue.
Updated•6 years ago
|
Assignee: nobody → andrei.br92
Updated•6 years ago
|
Assignee: andrei.br92 → nobody
Iteration: --- → 66.1 - Dec 10-23
Priority: -- → P1
Updated•6 years ago
|
Assignee: nobody → pdahiya
Updated•6 years ago
|
Assignee: pdahiya → nobody
Priority: P1 → P2
Updated•6 years ago
|
Priority: P2 → P1
Updated•6 years ago
|
Assignee: nobody → pdahiya
Assignee | ||
Comment 1•6 years ago
|
||
Able to replicate the issue using below STR
[Prerequisites]:
- Have an RTL Firefox locale build (eg. Firefox AR) installed.
- Have a Firefox profile with the following prefs in the "about:config" page:
- "browser.newtabpage.activity-stream.asrouterExperimentEnabled" with "true" value;
- Set "browser.newtabpage.activity-stream.asrouter.devtoolsEnabled" to true
[Steps to reproduce]:
1. Open the browser with the profile from prerequisites.
2. Navigate to "about:newtab#asrouter" page.
3. Scroll down to the "SNIPPETS_SEND_TO_DEVICE_TEST" section and click the "Show" button.
4. Click the "Install now" button.
5. Observe the hyperlink from ".The intended recipient of the email must have consented. Learn more" string.
Assignee | ||
Comment 2•6 years ago
|
||
The issue appears to be period is part of the privacy link inside disclaimer html that's rendered inside anchor tag.
https://github.com/mozilla/activity-stream/blob/master/lib/SnippetsTestMessageProvider.jsm#L154
Moving period out of the link fixes the issue. Will submit patch. Thanks!
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 5•6 years ago
|
||
status-firefox66:
--- → fixed
Target Milestone: --- → Firefox 66
Comment 6•6 years ago
|
||
Is this something we should consider uplifting to Beta or can it ride the trains?
Flags: needinfo?(pdahiya)
Assignee | ||
Comment 7•6 years ago
|
||
We should be uplifting this to Beta, I will submit uplift request. Thanks!
Flags: needinfo?(pdahiya)
Assignee | ||
Comment 8•6 years ago
|
||
Hi Marius
Can you please verify this issue is fixed in nightly. This will help to submit uplift request to beta. Thanks!
Flags: needinfo?(marius.coman)
Assignee | ||
Comment 9•6 years ago
|
||
[RTL] Dot character is wrongly hyperlinked with the Learn more string from the SNIPPETS_SEND_TO_DEVICE_TEST snippet
Reporter | ||
Comment 10•6 years ago
|
||
I have verified that this issue is no longer reproducible with the latest Firefox Nightly AR locale build (66.0a1 Build ID - 20181220215605) installed, on Windows 10 x64, Arch Linux and Mac 10.13.3. Now, the "." character is no longer hyperlinked.
Assignee | ||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Comment on attachment 9032861 [details]
Fix Bug 1510553 - [RTL] Dot character is wrongly hyperlinked with the Learn more string from the SNIPPETS_SEND_TO_DEVICE_TEST snippet r=andreio
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: Bug 1492088
User impact if declined: For Firefox RTL locales, 'Learn More' string shown in Send to device snippets at the bottom of new tab page will show dot wrongly hyperlinked.
Is this code covered by automated tests?: No
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: Yes
If yes, steps to reproduce:
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): One line change that moves dot outside of link tag
String changes made/needed: none
Attachment #9032861 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 13•6 years ago
|
||
[Tracking Requested - why for this release]:
tracking-firefox65:
--- → ?
Assignee | ||
Comment 14•6 years ago
|
||
Tracking Requested - Better user experience with low hanging UI fixes discovered by QA
Comment 15•6 years ago
|
||
Comment on attachment 9032861 [details]
Fix Bug 1510553 - [RTL] Dot character is wrongly hyperlinked with the Learn more string from the SNIPPETS_SEND_TO_DEVICE_TEST snippet r=andreio
[Triage Comment]
Trivial change to end a link prior to the period. Approved for 65.0b7.
Attachment #9032861 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 16•6 years ago
|
||
I don't think this needs to be tracked since it's a super-minor UI polish issue.
Comment 17•6 years ago
|
||
bugherder uplift |
Comment 18•6 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65)Gecko/20100101 Firefox/65.0 (20181227144402)
I have verified this issue is no longer reproducible with the latest Firefox Beta AR locale build (65.0b7 Build ID - 20181220215605) installed, on Windows 10 x64, Ubuntu 18.04 x64 and Mac 10.14.2. Now, the "." character is no longer hyperlinked.
Updated•6 years ago
|
Flags: qe-verify+
Updated•6 years ago
|
Component: Activity Streams: Newtab → Messaging System
You need to log in
before you can comment on or make changes to this bug.
Description
•