Closed
Bug 1400962
Opened 7 years ago
Closed 6 years ago
[RTL] Flip some icons on the Activity Stream
Categories
(Firefox :: New Tab Page, defect, P3)
Firefox
New Tab Page
Tracking
()
People
(Reporter: itiel_yn8, Assigned: vikas_mahato)
References
Details
Attachments
(1 file)
All pin/unpin related icons should be mirrored on RTL. Same for all "Open in a New Window" icons.
Updated•7 years ago
|
Updated•7 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
Updated•7 years ago
|
Priority: -- → P3
status-firefox59:
--- → affected
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Hey! Can I work on this?
Comment 2•6 years ago
|
||
Sure! The icon styles should be here https://github.com/mozilla/activity-stream/blob/master/system-addon/content-src/styles/_icons.scss
Assignee: nobody → vikasmahato0
Assignee | ||
Comment 3•6 years ago
|
||
I am unable to reproduce the issue. I am facing two problems: 1. How to enable RTL layout. 2. Locating these icons in firefox https://user-images.githubusercontent.com/438537/30559292-00333026-9c69-11e7-98c1-22b201f296a6.png Can you help me with this?
Comment 4•6 years ago
|
||
Hi! If you open the Developer Console in Firefox you can set in the Inspector tab the class of the <html> element to "rtl" to simulate right to left mode (you'll probably notice it has the "ltr" class). Most of the icons are here https://github.com/mozilla/activity-stream/tree/68627453a839d7a21db33ea1e108bd90a12d0ccf/system-addon/data/content/assets You'll need to follow these steps to set up development https://github.com/mozilla/activity-stream/blob/68627453a839d7a21db33ea1e108bd90a12d0ccf/docs/v2-system-addon/1.GETTING_STARTED.md Here is an example of how we target RTL mode with css https://github.com/mozilla/activity-stream/blob/68627453a839d7a21db33ea1e108bd90a12d0ccf/system-addon/content-src/components/TopSites/_TopSites.scss#L251-L253
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
I have sent a pull request. Please let me know if anything needs to be changed.
Comment 7•6 years ago
|
||
Itiel, should the highlights icon (the big star with 2 smaller stars) be flipped too? See screenshots in https://github.com/mozilla/activity-stream/pull/3946#issuecomment-359146949
Flags: needinfo?(itiel_yn8)
(In reply to Ed Lee :Mardak from comment #7) > Itiel, should the highlights icon (the big star with 2 smaller stars) be > flipped too? See screenshots in > https://github.com/mozilla/activity-stream/pull/3946#issuecomment-359146949 I don't think that would be needed, I see no reason to do so. But the Edit icon should remain as-is, and not get the flip-icon treatment.
Flags: needinfo?(itiel_yn8)
Assignee | ||
Comment 9•6 years ago
|
||
I have updated the pull request and removed the flip-icon property from Edit icon
Comment 10•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/7b6573a1a95a556d39f6a6673821c0bd6b4be7d5 fix(styles): Add mixin to flip some icons for rtl (#3946) Fix Bug 1400962 - [RTL] Flip some icons on the Activity Stream
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•