Closed
Bug 936645
Opened 12 years ago
Closed 11 years ago
[Messages][Drafts] Add banner message for saved draft
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evhan55, Assigned: evhan55)
References
Details
Attachments
(1 file)
Show a banner whenever a draft has been saved
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → achyland
Blocks: messaging-drafts, 931091
Comment 1•12 years ago
|
||
Blocking the tabs for 5 seconds seems maddening.
Updated•12 years ago
|
Component: Gaia → Gaia::SMS
| Assignee | ||
Updated•11 years ago
|
Assignee: achyland → evelyn
| Assignee | ||
Updated•11 years ago
|
Assignee: evelyn → felash
Comment 2•11 years ago
|
||
Julien,
I met with Evelyn today and suggested that you might be able to make short work of adding another banner, since you have experience with the banners that already exist in the app. Let us know if you can work on this or not. If not, I can re-assign accordingly. Thanks!!
Comment 3•11 years ago
|
||
I think this banner will be quite different to what already exists in the app right now:
* in the thread list
* probably at the bottom
* probably sliding in/out (toaster-like)
We'll need to wait for the Visual Design here too.
I can give it a shot next week but feel free to get it back if you see nothing's happening.
Updated•11 years ago
|
blocking-b2g: --- → 1.3?
Comment 4•11 years ago
|
||
triage: not blocking on draft mesasge for 1.3. clear flag
blocking-b2g: 1.3? → ---
Updated•11 years ago
|
blocking-b2g: --- → 1.4?
Comment 5•11 years ago
|
||
(note: if someone w
Comment 6•11 years ago
|
||
again:
if someone want to steal from me, please do.
| Assignee | ||
Updated•11 years ago
|
Assignee: felash → evelyn
| Assignee | ||
Comment 7•11 years ago
|
||
Hi Ayman,
V8 spec page 36 says:
"3. Messages inbox
01 Temporary banner displayed for 5 seconds informing the user
that the message has been saved as a draf"
What should the banner say?
Evelyn
Flags: needinfo?(aymanmaat)
| Assignee | ||
Comment 8•11 years ago
|
||
Hi Ayman,
Who should I ask to address https://bugzilla.mozilla.org/show_bug.cgi?id=936645#c3 above?
Re: visual design of this banner, placement, animation, etc.
Evelyn
Comment 9•11 years ago
|
||
Visual Design is for José.
About the banner text, can you propose something? Then you can ask for a copy proof from "tyler.altes@...".
Flags: needinfo?(vittone)
Comment 10•11 years ago
|
||
Hi guys,
In my opinion, we should be using "Status" element from Building Blocks (http://buildingfirefoxos.com/building-blocks/status.html), the same used when an app installation is completed. As it is an standarized element I don't see any new visual design needed here, right?
Please ping me if something else is necessary.
Flags: needinfo?(vittone)
Updated•11 years ago
|
Flags: needinfo?(aymanmaat)
| Assignee | ||
Comment 12•11 years ago
|
||
This is pending copy review for the banner message ^^
- `index.html`
- Added markup for banner based on [http://buildingfirefoxos.com/building-blocks/status.html](http://buildingfirefoxos.com/building-blocks/status.html)
- `thread_list_ui.js`
- Added a draft saved duration constant for 5 seconds
- Added a pointer to the draft saved banner markup
- Added a draft saved function that shows the banner when called
- `thread_ui.js`
- Calls `ThreadListUI.draftSaved` after a draft is saved
- `sms.en-US.properties`
- Added locale string for banner => "Message draft saved"
- Tests
- Unit
- `thread_list_ui_test.js`
- Check that banner is hidden, shown for 5 seconds, and hidden again during `draftSaved()`
- `thread_ui_test.js`
- Check that `draftSaved()` is called after draft is saved
- Manual
- Save a draft, look for banner
- Replace a draft, look for banner
Attachment #8363882 -
Flags: review?(waldron.rick)
Attachment #8363882 -
Flags: feedback?(felash)
Comment 13•11 years ago
|
||
Let's use: "Message saved as draft"
(In reply to Evelyn Eastmond [:evhan55] from comment #11)
> How about:
>
> "Message draft saved"
>
> ?
Flags: needinfo?(tyler.altes)
| Assignee | ||
Comment 14•11 years ago
|
||
(In reply to tyler.altes from comment #13)
> Let's use: "Message saved as draft"
>
Thanks!
Comment 15•11 years ago
|
||
Comment on attachment 8363882 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15612
Works like a charm!
Just this: https://github.com/mozilla-b2g/gaia/pull/15612/files#r9119093 and then r=me
Attachment #8363882 -
Flags: review?(waldron.rick) → review+
Comment 16•11 years ago
|
||
Comment on attachment 8363882 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15612
left some comments but none of them are blocking, so land like this if you want, or change some things if you think my comments are good suggestions ;)
Attachment #8363882 -
Flags: feedback?(felash) → feedback+
| Assignee | ||
Updated•11 years ago
|
Attachment #8363882 -
Flags: review+ → review?(waldron.rick)
Comment 17•11 years ago
|
||
Comment on attachment 8363882 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15612
Thanks for the follow ups! r=me
Attachment #8363882 -
Flags: review?(waldron.rick) → review+
| Assignee | ||
Comment 18•11 years ago
|
||
Landed and closing: https://github.com/mozilla-b2g/gaia/commit/78ceab954fc7bfd547507481affcaf0c2009d7a7
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
blocking-b2g: 1.4? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•