Closed Bug 1279230 Opened 8 years ago Closed 5 years ago

Provide RTL support for Pocket component

Categories

(Firefox :: Pocket, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 72
Tracking Status
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox72 --- verified

People

(Reporter: itiel_yn8, Assigned: itiel_yn8)

References

()

Details

(Keywords: rtl)

Attachments

(3 files, 1 obsolete file)

Firefox should include RTL support for Pocket on RTL'd Firefoxs such as Hebrew or Arabic, same as prodived to Firefox Hello component.

Attached screenshot of current look of the un-RTL'd Pocket on a Hebrew Firefox Developer Edition 48.0a2.
I can't reproduce this issue. It seems that the Hebrew translation have been taken offline. Are you aware of this?
(In reply to Tomer Cohen :tomer from comment #1)
> I can't reproduce this issue. It seems that the Hebrew translation have been
> taken offline. Are you aware of this?

Yeah, I am. But I'm not sure if the same applies to other RTL languages (AR, FA etc).
The dropdown content is also not RTL in Persian. The sentences are wrongly aligned to left and their position is reversed whenever there's an English word is in the sentence.
Assignee: nobody → tomer.moz.bugs
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: rtl
Try seems to be busted at the moment. I'll update this bug later with test builds.
Flags: needinfo?(tomer.moz.bugs)
Flags: needinfo?(tomer.moz.bugs)
Attachment #8869623 - Flags: review?(mixedpuppy)
Is there anyway to test this patch without building Firefox from source?
(In reply to Khaled Hosny from comment #7)
> Is there anyway to test this patch without building Firefox from source?

You can checkout the code from github, apply this patch, then build the xpi.

git clone https://github.com/mozilla-l10n/pocket-l10n
git clone https://github.com/mozilla-partners/pocket
cd pocket make

You should end up with a build directory that contains an xpi.
Comment on attachment 8869623 [details]
Bug 1279230 - Provide RTL support for Pocket component

https://reviewboard.mozilla.org/r/141204/#review146152

This looks reasonable, but I have no way to know for sure that the issue is fixed.  How will we know, what steps should QA have?
Attachment #8869623 - Flags: review?(mixedpuppy) → review+
Comment on attachment 8869623 [details]
Bug 1279230 - Provide RTL support for Pocket component

https://reviewboard.mozilla.org/r/141204/#review146188

After some discussion, this is actually not working yet so removing r+
Attachment #8869623 - Flags: review+
Tomer is not actively working on this.
Assignee: tomer.moz.bugs → nobody
Status: ASSIGNED → NEW
Keywords: qawanted

Gijs, pinging you as requested to take a look at the patch.

Flags: needinfo?(gijskruitbosch+bugs)

I responded on phabricator. :-)

Flags: needinfo?(gijskruitbosch+bugs)
Blocks: 1594833
Attachment #9104534 - Attachment description: Bug 1279230 - Add RTL support to Pocket r?gvn → Bug 1279230 - Convert Pocket CSS to logical properties to prepare for RTL support
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/573654d340bc
Convert Pocket CSS to logical properties to prepare for RTL support r=thecount,Gijs
Flags: needinfo?(itiel_yn8)

(In reply to Francesco Lodolo [:flod] from comment #17)

https://hg.mozilla.org/integration/autoland/rev/573654d340bc#l1.138

text-align: inline-start;

I don't think that's a valid value?
https://developer.mozilla.org/en-US/docs/Web/CSS/text-align

Yeah, that should have been start.

Attachment #9104534 - Attachment description: Bug 1279230 - Convert Pocket CSS to logical properties to prepare for RTL support → Bug 1279230 - Add RTL support to Pocket r?gvn
Attachment #9104534 - Attachment description: Bug 1279230 - Add RTL support to Pocket r?gvn → Bug 1279230 - Convert Pocket CSS to logical properties to prepare for RTL support

Yes, sorry, my bad. It's easy to get confused sometimes with all the start/end properties...
Fixed on phab.

Assignee: nobody → itiel_yn8
Attachment #8869623 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Flags: needinfo?(itiel_yn8)
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52a6fac5e177
Convert Pocket CSS to logical properties to prepare for RTL support r=thecount,Gijs
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: