Closed
Bug 894196
Opened 11 years ago
Closed 11 years ago
[CB] Disapper the title background alert and need to display channel info
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)
People
(Reporter: leo.bugzilla.gaia, Assigned: leo.bugzilla.gaia)
References
Details
(Keywords: late-l10n, Whiteboard: [LeoVB+])
Attachments
(3 files, 1 obsolete file)
1. Title : Disapper the title background alert and need to display channel info 2. Precondition : CB turn on 3. Tester's Action : [Case 1] 1) Receive several CB message in homescreen 2) Check the title and Close 1st CB message(foreground alert) 3) Check the next CB message. [Case 2] Need to display the channel info of CB message 4. Detailed Symptom : [Case 1] Disapper the title. [Case 2] No dispaly the channel info of CB message 5. Expected : [Case 1] Display the title in all alert [Case 2] Display the channel info. 6. Reproducibility: Y - Frequency Rate : 100% 7.Gaia Master/v1-train : Reproduced 8. Version Info Gaia : 0d5a9a7577f16b6a72a982148c6f509ee1714ea2 Gecko : 499c1f8ea7ad0cdaa7086214278e2944b8a2ea33
Attachment #776154 -
Flags: review?(arthur.chen)
Comment 2•11 years ago
|
||
Comment on attachment 776154 [details]
patch
Reassign the request to the author of CB.
Attachment #776154 -
Flags: review?(arthur.chen) → review?(dale)
Comment 3•11 years ago
|
||
Comment on attachment 776154 [details]
patch
Code wise this is good
Attachment #776154 -
Flags: review?(dale) → review+
Comment 4•11 years ago
|
||
Merged in: https://github.com/mozilla-b2g/gaia/commit/9c75c6100df2f70c30a68518ae9a5399b31537c1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g18:
--- → affected
I found the regression. When show Modal dialog using alert() - There is no title When show Modal dialog using showWithPseudoEvent() - Set the title So I update the patch. Please review this.
Attachment #778430 -
Flags: review?(dale)
Comment 7•11 years ago
|
||
So I want to needinfo Peter on this as he is the Product manager for the system frontend, which I believe this falls under We really shouldnt be landing adhoc patches that change the functionality here without getting product approval just because I wrote the original code, this is especially bad since it is being uplifted. We may have requirements from other partners, legal requirements and changes could have unintended consequences. Leo could you please upload screenshots of both the before and after state of the UX that this (and the previous patch) affects so product can approve this one, in future we should probably figure out a proper workflow to receive these changes. Apologies I shouldnt have landed the original patch before doing this.
Status: RESOLVED → REOPENED
Flags: needinfo?(pdolanjski)
Resolution: FIXED → ---
Comment 8•11 years ago
|
||
Just to clarify, I am happy doing future reviews on the code for this stuff, but I want to make sure what we are landing is what we actually want and I am not the one who should be making decisions regarding external requirements (and UX)
Assignee | ||
Comment 10•11 years ago
|
||
Screenshot STR: Message - Attach - Camera - video recording until excess the limit size
Flags: needinfo?(leo.bugzilla.gaia)
Comment 11•11 years ago
|
||
Comment on attachment 778430 [details] [diff] [review] modal_dialog.patch Havent heard back from Peter so forwarding the review to someone in the Gaia System Frontend team. Gregor the cell broadcast implementation was added in a fairly ad hoc way, going forward its going to need a PM who understands its implications + partners to be involved in changes. Also the patch has changes to modal_dialogs which could effect stuff I dont know about. Apologies for the delay Leo
Attachment #778430 -
Flags: review?(dale) → review?(anygregor)
Comment 12•11 years ago
|
||
Comment on attachment 778430 [details] [diff] [review] modal_dialog.patch I am not deciding about blockers for 1.1.
Attachment #778430 -
Flags: review?(anygregor) → review?(21)
Comment 13•11 years ago
|
||
Comment on attachment 778430 [details] [diff] [review] modal_dialog.patch >diff --git a/apps/system/js/modal_dialog.js b/apps/system/js/modal_dialog.js >index 2604d74..d27f03a 100644 >--- a/apps/system/js/modal_dialog.js >+++ b/apps/system/js/modal_dialog.js >@@ -206,7 +206,7 @@ var ModalDialog = { > case 'alert': > elements.alertMessage.innerHTML = message; > elements.alert.classList.add('visible'); >- this.setTitle('alert', title); >+ this.setTitle('alert', ''); Instead of removing the |title| value maybe what you want is to define a value for title before the switch. For example: // Display a title for System Modal Dialogs. var title = (this.currentOrigin == 'system' && title) ? title : ''; And goes with that. > elements.alertOk.textContent = evt.yesText ? evt.yesText : _('ok'); > elements.alert.focus(); > break; >@@ -239,6 +239,10 @@ var ModalDialog = { > break; > } > >+ // display the title in case of 'system' alert using showWithPseudoEvent() instaed of alert() >+ if(this.currentOrigin =='system') >+ this.setTitle('alert', title); >+ > this.setHeight(window.innerHeight - StatusBar.height); > }, >
Attachment #778430 -
Flags: review?(21) → review-
Assignee | ||
Comment 14•11 years ago
|
||
I has uploaded the patch again regarding your comments. Please review again.
Attachment #778430 -
Attachment is obsolete: true
Attachment #782851 -
Flags: review?(21)
Attachment #782851 -
Flags: review?(21) → review+
Comment 15•11 years ago
|
||
Is there a patch available for this bug?
blocking-b2g: leo+ → leo?
Flags: needinfo?(21)
Comment 17•11 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #7) > We really shouldnt be landing adhoc patches that change the functionality > here without getting product approval just because I wrote the original > code, this is especially bad since it is being uplifted. We may have > requirements from other partners, legal requirements and changes could have > unintended consequences. Thanks Dale. Sorry for the delay in response here. I'm adding Wilfred as he actually did the CB requirements and has a better view than I on this.
Flags: needinfo?(pdolanjski) → needinfo?(wmathanaraj)
Comment 18•11 years ago
|
||
(In reply to Preeti Raghunath(:Preeti) from comment #15) > Is there a patch available for this bug? Sorry Preeti I'm not sure to understand the question?
Flags: needinfo?(21)
Comment 19•11 years ago
|
||
Vivien, I meant to ask why the patch hadn't landed on b2g18 yet? Sorry about the confusion.
Flags: needinfo?(21)
Comment 20•11 years ago
|
||
(In reply to Preeti Raghunath(:Preeti) from comment #19) > Vivien, > > I meant to ask why the patch hadn't landed on b2g18 yet? Sorry about the > confusion. Likely because it needs to have checkin-needed in the keywords of the bug :)
Flags: needinfo?(21)
Keywords: checkin-needed
Comment 21•11 years ago
|
||
John, can you please assist with the v1-train uplift? :)
Flags: needinfo?(jhford)
Comment 22•11 years ago
|
||
Vivien John is on PTO today/tomorrow. Please help with landing this patch on 18.
Flags: needinfo?(21)
Comment 23•11 years ago
|
||
[v1-train 2712456] Merge pull request #10992 from leob2g/Bug_894196_CB_msg_title
Comment 24•11 years ago
|
||
Note that bugs that are to be uplifted should be marked as RESOLVED->FIXED or VERIFIED->FIXED
Comment 25•11 years ago
|
||
v1.1.0hd: 27124565251e6e7cbf8c9772cc9eeee0aabd8c48
status-b2g-v1.1hd:
--- → fixed
Comment 26•11 years ago
|
||
So I guess comment 7 was OK after all...
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
status-b2g18-v1.0.1:
fixed → ---
Keywords: checkin-needed
Resolution: --- → FIXED
Comment 27•11 years ago
|
||
This was backed out with 4764cbcbdd39b68fc5c184b0eb40e9f43f0dde55 to see if it was the cause for breaking b2g18. While the backout hasn't been pushed to v1.1.0hd train, it will be when the next merge happens.
Comment 28•11 years ago
|
||
v1-train: 167cf7974ac2c95eb862da72aa75f24af4437f5c
Comment 29•11 years ago
|
||
The landing on 1.1, https://github.com/mozilla-b2g/gaia/commit/167cf7974ac2c95eb862da72aa75f24af4437f5c, introduced a new string. What are the expectations on that string? Given that we'll switch all kinds of repos on Monday, this is even harder to fix.
Keywords: late-l10n
Comment 30•11 years ago
|
||
v1.1.0hd: 167cf7974ac2c95eb862da72aa75f24af4437f5c
Updated•11 years ago
|
Flags: needinfo?(wmathanaraj)
Updated•10 years ago
|
Assignee: nobody → leo.bugzilla.gaia
You need to log in
before you can comment on or make changes to this bug.
Description
•