Closed Bug 1208170 Opened 10 years ago Closed 10 years ago

(Gaia RTL 2.5) CSS refactoring: System

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.5+)

RESOLVED FIXED
FxOS-S8 (02Oct)
feature-b2g 2.5+

People

(Reporter: kaze, Assigned: kaze)

References

Details

Attachments

(1 file)

Improve the RTL support of the System app by refactoring its stylesheets and supporting right-to-left navigation: the task switcher and edge gestures are consistent with the language direction.
No longer blocks: 1207131
No longer depends on: 1207103
Assignee: nobody → kaze
Target Milestone: --- → FxOS-S8 (02Oct)
Attachment #8665550 - Flags: review?(timdream)
Blocks: 1181944
Blocks: 1208253
No longer blocks: 1208253
Comment on attachment 8665550 [details] [review] [gaia] Phoxygen:bug-1181944-rtl-system > mozilla-b2g:master This for the huge effort! I don't want to get in the way of this so I am just going to give you an r+ here. I don't think I can effectively review this in any way, so I think we should ask QA for a quick approval instead. Pallavi, is this something your team could help? Thanks!
Flags: needinfo?(pyaramada)
Attachment #8665550 - Flags: review?(timdream) → review+
BTW The csslint xfail list is getting longer and longer. Could you briefly explain what's going on on the mailing list so people can discuss what to do with it? Maybe we need to implement new feature into the linter or switch to another one that supports more features?
The plan is to have Marigold start testing this immediately (System app will be the first). William will inform them.
Flags: needinfo?(pyaramada) → needinfo?
(In reply to Tim Guan-tin Chien [:timdream] (slow response; please ni? to queue) from comment #3) > BTW The csslint xfail list is getting longer and longer. Could you briefly > explain what's going on on the mailing list so people can discuss what to do > with it? Maybe we need to implement new feature into the linter or switch to > another one that supports more features? See bug 1207131, as soon as we get the linter updated we should be able to get these back off the xfail list. :kaze, if you can email a quick note to the dev-fxos list we can bring everyone up to date on the state of the CSS linter and the inline-* properties which its going to choke on with each PR until we get that fixed.
Flags: needinfo? → needinfo?(kaze)
Hi William, As we discussed. Could you have Marigold do a quick check for a local build with the patch? Just to make sure no major regression before official TC ready. Thanks!
Status: NEW → ASSIGNED
Flags: needinfo?(whsu)
(In reply to Josh Cheng [:josh] from comment #6) > Hi William, > As we discussed. Could you have Marigold do a quick check for a local build > with the patch? > Just to make sure no major regression before official TC ready. > Thanks! Sure. I will find an engineer to verify local patches next Monday. Thank you. (Keep NI?)
Hi, Norry, As we talked today, we can start to verify RTL patches in terms of test schedule. So, please refer to instructions which I sent you to verify RTL patches on FxOS system app. Thank you.
Flags: needinfo?(whsu) → needinfo?(fan.luo)
Sam: mail sent to m.d.fxos.
Flags: needinfo?(kaze)
Regarding the QA, I think the main aspect to check with the System app is that the app navigation should be mirrored in RTL: apps should be stacked according to the reading order. Task switcher: • start at least two apps • long press on the home button Expected result in LTR (e.g. English): • the first app should be stacked at the left edge • the last app should be stacked at the right edge Expected result in RTL (e.g. Arabic): • the first app should be stacked at the right edge • the last app should be stacked at the left edge Edge gestures: • start at least two apps • do a horizontal swipe from the edge of the screen Expected result in LTR: • the first app should be stacked at the left edge • the last app should be stacked at the right edge Expected result in RTL: • the first app should be stacked at the right edge • the last app should be stacked at the left edge Web activities: • Settings app > Device Information • tap on the “Credits” item Expected result in LTR: • a browser window should slide in from the right edge Expected result in RTL: • a browser window should slide in from the left edge
Still regarding the QA, it would be nice to check that we’ve properly mirrored all modal screens that are triggered by any app, e.g.: • the value selector (triggered when the user taps on a <select> element) • the date and time selector (taps on <input type="date|time"> element) • the system menu (taps on a <menu> element) • confirmation dialogs (OK/Cancel buttons) The rest of the CSS refactoring of the System app will prevent a few “paper cuts” (small bugs). It would be difficult to list them all.
I’ve just rebased the patch, please make sure to use the latest branch so that all dependencies (building blocks & web components) have been refactored.
Hi Fabien, When we were verifying the patch, we found a bug in task manager view, please see bug 1209533. Could you have a look? thanks :)
Flags: needinfo?(kaze)
Depends on: 1209533
I’ve just assigned Pierre-Éric on bug 1209533. Shoud we land this patch first, then work on bug 1209533?
Flags: needinfo?(kaze)
Depends on: 1209836
Hi Fabien, When we were verifying the patch, we found a bug in volume bar, please see bug 1209836. Could you have a look? thanks :)
Flags: needinfo?(kaze)
(In reply to Fabien Cazenave [:kaze] from comment #11) > Still regarding the QA, it would be nice to check that we’ve properly > mirrored all modal screens that are triggered by any app, e.g.: > > • the value selector (triggered when the user taps on a <select> element) > • the date and time selector (taps on <input type="date|time"> element) > • the system menu (taps on a <menu> element) > • confirmation dialogs (OK/Cancel buttons) > > The rest of the CSS refactoring of the System app will prevent a few “paper > cuts” (small bugs). It would be difficult to list them all. Thank you, Fabien. After you provided this RTL package (System app), I had reviewed the changes and delivered the test scope to our test engineers. Here are the details. Please feel free to let me know if I missed something. @ Test scopes (Switch to Arabic language) - Task manager/Card view - Edge gesture - Network FET (Force error testing on WIFI & 3G & BT connections) - App installation - App - Ask permission page/App permission - App title - Utility tray/System status bar - Bluetooth transfer - NFC connection - Rocketbar - Warming message - Crash - Emergency callback - IME Menu - Modal dialog - Notification - Pin the web (Basic UI presentation) - Quick settings - Power off/Restart/Volume up&down… - Software buttons (Previous, next, and home button) - Text selection - Update manager
This list seems exhaustive to me, thanks William. Just to be clear: this patch is just a CSS refactoring of the System app. We expect it to fix most BiDi issues, but not *all* BiDi issues. So before we can land this patch, we would like QA to: • validate the RTL navigation (task switcher and edge gestures), as described in comment 10; • check there’s no regression regarding the rest of the System app, as described in comment 16; • open issues for items that are not properly mirrored (comment 16). As this is a rather long patch, we’d like to land it soon if it doesn’t cause any regression, and open follow-ups for the BiDi issues that it doesn’t fix. These follow-ups should depend on bug 1181944 rather than this one.
Flags: needinfo?(kaze)
According to comment 16, I have verified the items in the following list. - Task manager/Card view - Edge gesture - App installation - App - Ask permission page/App permission - App title - Utility tray/System status bar - NFC connection - Rocketbar - Warming message - Crash - Emergency callback - IME Menu - Modal dialog - Notification - Pin the web (Basic UI presentation)
As a refactoring of TaskManager landed on master I've rebased our patchset and updated the PR. bug 1209533 has been solved in the process.
Patch looks good, let's land this!
feature-b2g: --- → 2.5+
Keywords: checkin-needed
Tests are green, merged on master: https://github.com/mozilla-b2g/gaia/commit/b4faf78
(In reply to Fabien Cazenave [:kaze] from comment #21) > Tests are green, merged on master: > https://github.com/mozilla-b2g/gaia/commit/b4faf78 \o/ nice work :kaze and team.
Thanks Sam!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
Depends on: 1210930
Depends on: 1210942
Flags: needinfo?(fan.luo)
Depends on: 1207103
Depends on: 1213222
According to comment 16 and comment 18, I have verified the rest items, please refer to the following list. - Network FET (Force error testing on WIFI & 3G & BT connections) - Bluetooth transfer - Quick settings - Power off/Restart/Volume up&down… - Software buttons (Previous, next, and home button) - Text selection - Update manager
Blocks: 1215095
No longer blocks: 1215095
No longer depends on: 1213222
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: