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)

x86_64
Linux
defect
Not set
normal

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: nobody → achyland
Blocking the tabs for 5 seconds seems maddening.
Component: Gaia → Gaia::SMS
Assignee: achyland → evelyn
Assignee: evelyn → felash
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!!
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.
blocking-b2g: --- → 1.3?
triage: not blocking on draft mesasge for 1.3. clear flag
blocking-b2g: 1.3? → ---
blocking-b2g: --- → 1.4?
(note: if someone w
again: if someone want to steal from me, please do.
Assignee: felash → evelyn
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)
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
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)
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)
Flags: needinfo?(aymanmaat)
How about: "Message draft saved" ?
Flags: needinfo?(tyler.altes)
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)
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)
(In reply to tyler.altes from comment #13) > Let's use: "Message saved as draft" > Thanks!
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+
Attachment #8363882 - Flags: review+ → review?(waldron.rick)
Attachment #8363882 - Flags: review?(waldron.rick) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: 1.4? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: