Closed Bug 44668 Opened 25 years ago Closed 24 years ago

Confusion as to how to edit/send a Draft message

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: jglick, Assigned: mscott)

References

Details

(Whiteboard: [nsbeta1+][usability] [fix in hand])

Attachments

(5 files)

Observed during recent Multiple Mail Accounts Usability testing: When the Drafts folder is selected (and drafts are displayed in the thread pane), users are confused as to how to continue working on a draft message or Send a draft message. Its not clear to users that they need to double click on a draft message in order to be able to further edit or send a message. Some users expected to be able to edit the draft in the message pane. Proposed Solutions. Change the Toolbar (and corresponding menus) when the Draft folder is selected in 3 Pane Mail View: 1. Add an "Edit" button between the New Msg and Reply buttons. This button is only visible if the Drafts folder is selected. (Priority 1) 2. Add an "Edit Draft" item to the "Edit menu. (P3) 3. Remove additional buttons and only show a small subset of buttons when the Draft folder is selected. Send | Edit | Print | Delete. (P5)
Nominate as nsbeta 3 per UE Review
Keywords: nsbeta3
QA Contact: lchiang → pmock
Target Milestone: --- → M18
Mail Triage is marking [nsbeta3-]
Whiteboard: [nsbeta3-]
Target Milestone: M18 → Future
Adding [usability] in status whiteboard per mail leads. Three users of seven were observed to have this issue.
Whiteboard: [nsbeta3-] → [nsbeta3-][usability]
Add mail3 keyword so bug considered for 6.5
Keywords: mail3
reassigning to sspitzer
Assignee: putterman → sspitzer
marking nsbeta1+ and moving to mozilla0.8
Keywords: nsbeta3nsbeta1
Priority: P3 → P2
Whiteboard: [nsbeta3-][usability] → [nsbeta1+][usability]
Target Milestone: Future → mozilla0.8
this is just to do #1 and #2.
reassigning to chuang
Assignee: sspitzer → chuang
> Some users expected to be able to edit the draft in the message pane. I suggest adding a button reading `Continue editing this message' (or something similar) to the top right corner of the message pane. This would be more obvious than adding a toolbar button (since the user is looking at the message pane, and expecting to be able to edit their message there), and would avoid ugly jumping around of toolbar buttons when a draft message was selected/deselected. As for (2), `Edit Message as New' should be present in the menus whether or not the selected message is a draft.
OS: Windows 98 → All
Hardware: PC → All
>I suggest adding a button reading `Continue editing this message' (or something >similar) to the top right corner of the message pane. I think thats a good idea. I don't know how hard it would be to implement though. And the wording would probably need to be a bit shorter if its a button.
Maybe just `Edit Message'? That way (a) it would be more obviously the same command as `Edit Message as New' in the menus, and (b) you could use the same wording for the same button for messages in the Templates folder as you do for messages in the Drafts folder.
Jennifer, can you make a screen shot for the proposed fix and we need a new gif file for the button? Thanks.
Actually should be 4 gif files for different button states. I think putting button in the envelope is not as easy as in the toolbar. I'm still checking.
Attached image Screen shot example
See attached screen shot example. Example one is mpt's suggestion. I think this is the better solution. Example two shows adding an "Edit" button to the toolbar. I don't like this as much. It gets lost there. Would prefer mpt's suggestion if possible. Which also means we don't need to create additional graphics.
I got mpt's suggestion working, still need to work on the button layout. There's one problem I saw when working on it. Sometimes when the window size is smaller, you can't see the button. But this is the same problem for Attachment button. If a draft contains attachment, this button will be under the attachment button.
Great! Thanks for investigating this one.
I made some change. If a draft contains attachment, the Edit Draft button will be on the left of the attachment button. I can't get the box working right on my previous plan. Hope this is fine with everyone.
typo s/edi/edit/ + msgPaneData.EditMessageButton = document.getElementById("ediMessageButton");
your implementation of isDraftMessage(): all that string parsing, on *every* message we display, just to create a folder uri...that's not good. this feature, which only shows up for drafts messages, should be written in a way that doesn't slows us down in the common case. (the common case is we aren't in a drafts folder.) off the top of my head, I'd suggest this: find the code for where we load folders. check there (once per, folder loading) if the folder is a "drafts" folder. if so, set a hidden input attribute (or global variable) that you can quickly check to determine if you need to hide or show the "Edit" ui elements. you'll also need to figure out an efficient way to make this work with the stand alone message window. no go on that patch.
silly me. chuang is right, you can't get to the stand alone message window for a draft message, since double clicking it will take you to the message compose window.
Instead of passing in the msg URI on the OnEndHeaders call and then parsing out the folder name from the URI, you can just call the following: GetSelectedFolderResource this is defined in commandglue.js which you should be able to reach from msgHdrViewOverlay.js
I took Seth's suggestion, checking the folder type in OnFolderLoaded and set it to a global var. I'll use this var for Unsent folder too (per Jean-Francois's suggestion). I'm testing it right now.
this looks great to me. sr=mscott unless seth has more comments.
comments: + if (msgFolder) + gIsEditableMsgFolder = IsSpecialFolder(msgFolder, [ "Drafts" ]); should be + gIsEditableMsgFolder = IsSpecialFolder(msgFolder, [ "Drafts" ]); there is already a check (a few lines above) to make sure msgFolder is non null. other than that, it looks as performant as the other code. make that fix, then sr=sspitzer
Fix checked in
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: pmock → laurel
OK using feb19 commercial trunk build, linux rh6.0, mac OS 9.0, win98. 1. Edit Draft button appears on message envelope when draft selected. 2. Edit Draft button moves to the left when attachment button present. (this alignment is off in linux, will log a separate bug). 3. Menu item Edit|Edit Draft is enabled when single or multiple drafts selected in thread pane of Drafts folder. 4. Menu item Message|Edit Message as New is enabled when in any folder when a single or multiple message selection is made in thread pane. 5. Edit Draft button is functioning, opens draft contents to compose window. 6. Edit Message as New is functioning, opens message contents to compose window.
Status: RESOLVED → VERIFIED
Reopening bug. "Edit Draft..." button is no longer appearing in the envelope area. Using windows build 2001041004. It actually hasn't worked for a week or so (that i've noticed), but with all the weirdness in recent builds, I decided to watch it for a while first to verify.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
reassigning to mscott
Assignee: chuang → mscott
Status: REOPENED → NEW
*** Bug 75242 has been marked as a duplicate of this bug. ***
Target Milestone: mozilla0.8 → mozilla0.9.1
I re-implemented this with the new message display and it's in my tree. It'll land when I finally get code reviews for the new attachment display. One thing though, it looks pretty weird having this button next to the attachment tree widget now. I'll let jennifer take a look after I check this back in but we'll probably need to tweak it a bit to make it look right....
Status: NEW → ASSIGNED
Whiteboard: [nsbeta1+][usability] → [nsbeta1+][usability] [fix in hand]
I've fixed this and the patch is in Bug #75691
QA Contact: laurel → esther
the edit drafts button is back.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
using build 2001-05-08 on win, mac and linux the button is there and works. Verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: