Closed
Bug 1496086
Opened 6 years ago
Closed 6 years ago
Improve UX in event dialog or tab for attendee or attachment handling
Categories
(Calendar :: Dialogs, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
6.2.5
People
(Reporter: MakeMyDay, Assigned: MakeMyDay)
Details
Attachments
(2 files, 1 obsolete file)
10.80 KB,
patch
|
Fallen
:
review+
Paenglab
:
ui-review+
Fallen
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
4.10 KB,
patch
|
MakeMyDay
:
review+
|
Details | Diff | Splinter Review |
The event dialog has some UX issues related to the description/attachment/attendee tabs, I'd like to address in this bug: 1. if displaying the event description and adding an attendee or attachment using the toolbar button, you don't see that these item have been added successfully unless you switch the tab. 2. if you open an existing event, you cannot see at a glance whether you have added attendees or attachments to it or not. Again, you would have have to switch to the respective tabpanel. 3. If you edit an existing event with attendees and want to just save your changes but not yet send out an update to the attendees, you have to switch to the attendee tab to uncheck the notify checkbox. For #1, I suggest that the tab gets switched automatically, while for #2 displaying the number of attachements/attendees would be nice. For #3, it's probably sufficient to move the notify checkboxes from the attendee tabpanel below the tabbox, so that it is displyed always for events.
Assignee | ||
Updated•6 years ago
|
Summary: Improve UX in event dialog or tab if attendees are involved → Improve UX in event dialog or tab for attendee or attachment handling
Assignee | ||
Comment 1•6 years ago
|
||
This patch implements the suggested changes. It implements displaying the number of attachments and attendees without requiring string changes, so we could consider to uplift this patch.
Assignee: nobody → makemyday
Status: NEW → ASSIGNED
Attachment #9014037 -
Flags: ui-review?(richard.marti)
Assignee | ||
Comment 2•6 years ago
|
||
This replaces the handling for displaying the numbers of attachments and attendees by introducing separate strings.
Comment 3•6 years ago
|
||
Comment on attachment 9014037 [details] [diff] [review] MinorUXImprovementsForEventDialog-V1.diff Yes, this makes sense and this way is compatible with ESR.
Attachment #9014037 -
Flags: ui-review?(richard.marti) → ui-review+
Assignee | ||
Updated•6 years ago
|
Attachment #9014037 -
Flags: review?(philipp)
Assignee | ||
Updated•6 years ago
|
Attachment #9014040 -
Flags: review?(philipp)
Comment 4•6 years ago
|
||
Comment on attachment 9014037 [details] [diff] [review] MinorUXImprovementsForEventDialog-V1.diff Review of attachment 9014037 [details] [diff] [review]: ----------------------------------------------------------------- Are you avoiding string changes so we can uplift, or because you feel it is the best solution? If the former, maybe we can uplift what you wrote and use a patch with string changes on c-c that doesn't have any workarounds. r+wc ::: calendar/lightning/content/lightning-item-iframe.js @@ +3623,5 @@ > + if (newLabel.endsWith(":")) { > + trailingColon = ":"; > + newLabel = newLabel.substring(0, newLabel.length - 1); > + } > + attachmentTab.label = newLabel + " (" + attachments.length + ")" + trailingColon; Does this code work with RTL locales?
Attachment #9014037 -
Flags: review?(philipp) → review+
Comment 5•6 years ago
|
||
Comment on attachment 9014040 [details] [diff] [review] AddStringForAttendeesTab-V1.diff Review of attachment 9014040 [details] [diff] [review]: ----------------------------------------------------------------- ::: calendar/locales/en-US/chrome/calendar/calendar-event-dialog.properties @@ +528,5 @@ > # will be notified on saving > sendandcloseMenuLabel=Send and Close > + > +# LOCALIZATION NOTE (attendeesTabLabel) - this is a runtime replacement for > +# event.attendees.label defined in calendar-event-dialog.dtd and used in the Whitespace at EOL @@ +534,5 @@ > +# %1$S - the number of attendee (1-n) > +attendeesTabLabel=Attendees (%1$S): > + > +# LOCALIZATION NOTE (attachmentsTabLabel) - this is a runtime replacement for > +# event.attachments.label defined in calendar-event-dialog.dtd and used in the And again
Attachment #9014040 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] [:π] from comment #4) > ::: calendar/lightning/content/lightning-item-iframe.js > @@ +3623,5 @@ > > + if (newLabel.endsWith(":")) { > > + trailingColon = ":"; > > + newLabel = newLabel.substring(0, newLabel.length - 1); > > + } > > + attachmentTab.label = newLabel + " (" + attachments.length + ")" + trailingColon; > > Does this code work with RTL locales? Yes, as far as I understand rtl handling. rtl strings are also defined with a trailing colon to the right (like ltr), but that is put then to the left when the string is rendered into the ui by some rtl magic (while not changing the order of the letters). Our other strings which display additional numeric information (like the soondays label in the today pane or the folder names in mail view) are displaying that additional information to the right of the text string when having rtl enabled (you can check this with setting intl.uidirection pref from -1 to 1 and restarting TB afterwards). So even if that would not be correct, it would be cponsistently wrong ;-)
Assignee | ||
Comment 7•6 years ago
|
||
Attachment #9014040 -
Attachment is obsolete: true
Attachment #9018208 -
Flags: review+
Assignee | ||
Comment 8•6 years ago
|
||
For checkin, the string patch needs to be applied on top of the other (this is for c-c only, for backport just the other one is needed).
Keywords: checkin-needed
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/b2ec0ac175e5 UX improvements in event dialog and tab for attendee/attachment handling. r=philipp https://hg.mozilla.org/comm-central/rev/84694c6debe3 Add a separate string for the attendees tab runtime replacement in the event dialog. r=philipp
Comment 10•6 years ago
|
||
Sorry, I had to change the commit message: Switch to attachement or attendee tab in event dialog after adding an attachment resp attendees, display number of attendees and attachements and always display notification options for events Much too long, two typos and no idea what 'resp' means.
Target Milestone: --- → 6.6
Comment 11•6 years ago
|
||
(In reply to [:MakeMyDay] from comment #8) > For checkin, the string patch needs to be applied on top of the other (this > is for c-c only, for backport just the other one is needed). Which backport, there is no request.
Assignee | ||
Comment 12•6 years ago
|
||
Comment on attachment 9014037 [details] [diff] [review] MinorUXImprovementsForEventDialog-V1.diff > Are you avoiding string changes so we can uplift, or because you feel it is the best solution? If the former, > maybe we can uplift what you wrote and use a patch with string changes on c-c that doesn't have any workarounds. Yes, this patch is intended for uplift. I just missed to request it directly.
Attachment #9014037 -
Flags: approval-calendar-esr?(philipp)
Attachment #9014037 -
Flags: approval-calendar-beta?(philipp)
Comment 13•6 years ago
|
||
Comment on attachment 9014037 [details] [diff] [review] MinorUXImprovementsForEventDialog-V1.diff Too late for 63/6.5 beta now.
Attachment #9014037 -
Flags: approval-calendar-beta?(philipp)
Comment 14•5 years ago
|
||
Comment on attachment 9014037 [details] [diff] [review] MinorUXImprovementsForEventDialog-V1.diff Ok, we can take this. JΓΆrg, thanks for worrying about the commit message. I think it would have been better to ask about this than just change it though. The one you picked is very generic and doesn't really explain what the patch actually does. Its done noe though, we can keep it for the uplift.
Attachment #9014037 -
Flags: approval-calendar-esr?(philipp) → approval-calendar-esr+
Comment 15•5 years ago
|
||
TB 60.5 ESR, Cal. 6.2.5: https://hg.mozilla.org/releases/comm-esr60/rev/086f4baaf51b4ff9ca5c769209fc039fa7ffcd03 Target needs to be set to 6.2.5. Philipp?
Flags: needinfo?(philipp)
Whiteboard: Target needs to be set to 6.2.5
Target Milestone: 6.6 → 6.2.4
Updated•5 years ago
|
Flags: needinfo?(philipp)
Whiteboard: Target needs to be set to 6.2.5
Target Milestone: 6.2.4 → 6.2.5
You need to log in
before you can comment on or make changes to this bug.
Description
•