Closed
Bug 1223733
Opened 9 years ago
Closed 9 years ago
Migrate the PinPageSystemDialog to the dialog web component
Categories
(Firefox OS Graveyard :: Gaia::System::System UI, defect)
Tracking
(feature-b2g:2.6+)
People
(Reporter: apastor, Assigned: apastor)
References
Details
(Whiteboard: [systemsfe])
Attachments
(2 files)
46 bytes,
text/x-github-pull-request
|
mikehenrty
:
review+
epang
:
ui-review+
|
Details | Review |
138.62 KB,
image/png
|
Details |
We want to incrementally move all our system dialogs to webcomponents. This is the first step. As soon as we migrate all of them, the common code should be moved to SystemDialog.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → apastor
Whiteboard: [systemsfe]
Target Milestone: --- → 2.6 S1 - 11/20
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Eric, could you please ui-review this? Thanks!
Attachment #8690910 -
Flags: ui-review?(epang)
Comment 3•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Looks good, thanks Alberto! R+
Attachment #8690910 -
Flags: ui-review?(epang) → ui-review+
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Despite a lot of files are changed, most of them are just the result of a bower install inside the shared folder. Michael, would you mind take a look? Thanks!
Attachment #8690910 -
Flags: review?(mhenretty)
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Wilson, would you mind to review the music/camera upgrade of gaia-icons? Thanks!
Attachment #8690910 -
Flags: review?(wilsonpage)
Updated•9 years ago
|
feature-b2g: --- → 2.6+
Component: Gaia::System → Gaia::System::System UI
Comment 6•9 years ago
|
||
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/108888574
Comment 7•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Looks good, all apps seems to be on gaia-icons v1.0.2 :)
Attachment #8690910 -
Flags: review?(wilsonpage) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
I'm very happy to see this happening! \o/
I've left a couple of comments on github. Most notably the one about waiting for the gaia dialog and button components to load before rendering the pin dialog. Also, why are we using gaia-input-text? I see that we've added the component but I can't see where it's being used. Please re-flag me when these small things are addressed.
Also, I have a question for Wilson here. I thought the plan was to allow individual apps to specify their own version of the components they are using, and in doing so no longer rely on shared/elements. Is this still true? If so, this patch is using shared/elements and so we probably need to change this.
Flags: needinfo?(wilsonpage)
Updated•9 years ago
|
Attachment #8690910 -
Flags: review?(mhenretty)
Updated•9 years ago
|
Target Milestone: 2.6 S1 - 11/20 → 2.6 S2 - 12/4
Comment 9•9 years ago
|
||
(In reply to Michael Henretty [:mhenretty] from comment #8)
> Comment on attachment 8690910 [details] [review]
> [gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
>
> I'm very happy to see this happening! \o/
>
> I've left a couple of comments on github. Most notably the one about waiting
> for the gaia dialog and button components to load before rendering the pin
> dialog. Also, why are we using gaia-input-text? I see that we've added the
> component but I can't see where it's being used. Please re-flag me when
> these small things are addressed.
>
> Also, I have a question for Wilson here. I thought the plan was to allow
> individual apps to specify their own version of the components they are
> using, and in doing so no longer rely on shared/elements. Is this still
> true? If so, this patch is using shared/elements and so we probably need to
> change this.
I was going to wait until we start migrating components over to NPM before doing this. But we could use Bower inside System app before we've finished this migration. WDYT?
Flags: needinfo?(wilsonpage) → needinfo?(mhenretty)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Good catch with the components load! I replied to the other comment in GH.
Regarding the gaia-text-input, is a requirement for gaia-dialog. Despite is not used so far, it will in other dialog types. I can remove it and add it when a dialog with inputs gets migrated. Up to you. Thanks!
Attachment #8690910 -
Flags: review?(mhenretty)
Comment 11•9 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #9)
> I was going to wait until we start migrating components over to NPM before
> doing this. But we could use Bower inside System app before we've finished
> this migration. WDYT?
If it's work we are serious about doing, I say there's not harm in starting now.
Flags: needinfo?(mhenretty)
Comment 12•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
(In reply to Alberto Pastor [:albertopq] from comment #10)
> Regarding the gaia-text-input, is a requirement for gaia-dialog. Despite is
> not used so far, it will in other dialog types. I can remove it and add it
> when a dialog with inputs gets migrated. Up to you. Thanks!
If it's a dependency then you are right to include it.
I'm seeing a bug. If I hold the phone in portrait mode, open and then close the pin dialog, and then switch to landscape and re-open the pin dialog, the dialog only takes up half the screen. See screenshot I'm about to attach.
Another slightly weird issue is that in RTL mode, Pin Site still appears on the right, and I think to be consistent it should appear on the left. This is kinda nitpicky though.
Attachment #8690910 -
Flags: review?(mhenretty)
Attachment #8690910 -
Flags: review+
Comment 13•9 years ago
|
||
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
That should be fixed now.
Thanks!
Attachment #8690910 -
Flags: review?(mhenretty)
Comment 15•9 years ago
|
||
Comment on attachment 8690910 [details] [review]
[gaia] albertopq:1223733-migrate-pin-dialog > mozilla-b2g:master
Sadly I don't have time to look at the build again, but the code is fine and if you fixed the bug I mentioned than you have my blessing to land.
Attachment #8690910 -
Flags: review?(mhenretty) → review+
Assignee | ||
Comment 16•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 17•9 years ago
|
||
Ben Francis changed story state to accepted in Pivotal Tracker
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•