[meta] Re-design invitation display for easier reading.
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), enhancement)
Tracking
(thunderbird_esr102 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr102 | --- | wontfix |
People
(Reporter: lasana, Assigned: lasana)
References
Details
(Keywords: leave-open)
Attachments
(11 files)
|
156.96 KB,
image/png
|
Details | |
|
411.60 KB,
image/png
|
Details | |
|
141.36 KB,
image/png
|
Details | |
|
28.57 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
95.34 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1748449 - Part 4: Follow-up - Move invitation display to own container. r=#thunderbird-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review |
The current version provides the event data to the user in a table which can be difficult to figure out what's happening at a glance. There is also little interactivity beyond links and the table is displayed in a content <browser> mixed with the message contents.
There are various visual improvements that can made such as:
- displaying the most important information as prominently as possible.
- optionally display the timezone for the "When" part.
- make it clear an event has been cancelled, especially when looking at previous messages.
- display recurrence information in a friendlier manner.
I attached some mockups I drew.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
Comment on attachment 9257498 [details]
improved.png
I like the "Organizer" role being written as explicit text. It's much clearer than the current icons that combine the role with the type and status. I'm guessing the idea is to only show the role and type when they differ from "REQ-PARTICIPANT" and "INDIVIDUAL" respectively.
For the participation icon, how do you plan on showing "TENTATIVE" and "DELEGATED"?
| Assignee | ||
Comment 4•4 years ago
|
||
(In reply to Henry Wilkes [:henry] from comment #3)
Comment on attachment 9257498 [details]
improved.pngI like the "Organizer" role being written as explicit text. It's much clearer than the current icons that combine the role with the type and status. I'm guessing the idea is to only show the role and type when they differ from "REQ-PARTICIPANT" and "INDIVIDUAL" respectively.
I'm willing to say the role type is not too important to display here but I'm leaning towards either text next to where "Organizer" is shown or a tooltip. It could also probably only be shown for the user's identity.
For the participation icon, how do you plan on showing "TENTATIVE" and "DELEGATED"?
Tentative will likely be a question mark icon. I don't think we have much visual support for delegation but we can come up with an icon.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 years ago
|
||
Making some progress here. Uploading a screenshot of what I have so far.
Comment 6•4 years ago
|
||
Before you proceed further, you need to figure out if there is any feasibility of having buttons in the content. That is not likely a small project...
Please also add an event description (a longer one) for the event you test with. Showing the description is essential. Your current screenshot also doesn't show the time at all.
Comment 7•4 years ago
|
||
For inspiration, from paperlesspost.
Comment 8•4 years ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #6)
Before you proceed further, you need to figure out if there is any feasibility of having buttons in the content. That is not likely a small project...
From the email discussion, I think the idea is to put the invite in a new and separate UI section (which would be a good idea, regardless of buttons), rather than the message <browser>.
Comment 9•4 years ago
|
||
Perhaps, but that it the issue: I think it requires rather significant surgery of the whole functionality.
Comment 10•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
Perhaps, but that it the issue: I think it requires rather significant surgery of the whole functionality.
Yes it would require some reworking: no longer show the attachment invite "inline", and do something more like how we handle openPGP attachments. I.e. find an invite attachment => load it into the invite area.
But I think it is needed anyway. The way that the invite is inserted into the <browser> alongside the html already requires convoluted and asynchronous steps of:
- Creating the invite document (https://searchfox.org/comm-central/rev/4e02ce9fa250616e3a8091b8fea0990a339c0e63/calendar/base/src/CalMimeConverter.jsm#62) but then converting it to a string to be parsed into the
<browser>. - Mixing this with the actual email content inside the
<browser>https://searchfox.org/comm-central/rev/4e02ce9fa250616e3a8091b8fea0990a339c0e63/calendar/base/content/imip-bar.js#130 - Modifying the
<browser>invite using a found item https://searchfox.org/comm-central/rev/4e02ce9fa250616e3a8091b8fea0990a339c0e63/calendar/base/content/imip-bar.js#371
This would be much cleaner if the <browser> and the invite area were separate because they could be constructed and loaded independently.
@lasana is this what you had in mind?
Comment 11•4 years ago
|
||
Indeed, the final goal for this new invitation display is to live in the message header and replace the IMIP bar, and it will be collapsible.
It will require a lot of changes, but it's a much needed implementation.
For inspiration, from paperlesspost.
Uh, that is very nice. That's a popup that appears when you reply to an invitation, right?
Definitely something worth exploring after the new invite is done, great stuff.
Comment 12•4 years ago
|
||
It's a web based service, and when you go to the "reply" link, this popup kind of thing is on that page yes.
I do think we should also use human language, not Accept/Decline/Tentative. Yes/No/Maybe may not fit in all occasions - as it can "sound" wrong to not accept an invitation, if you wanted to go but could not. Will attend/Might attend/Will not attend like they have in that popup could be a good weigh-off.
| Assignee | ||
Comment 13•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #6)
Before you proceed further, you need to figure out if there is any feasibility of having buttons in the content.
This isn't in content its in chrome.
Please also add an event description (a longer one) for the event you test with. Showing the description is essential. Your current screenshot also doesn't show the time at all.
I have not reached there yet. I'm likely not to display descriptions in this widget if they contain html. In that case they can be shown in the message pane as usual.
| Assignee | ||
Comment 14•4 years ago
|
||
(In reply to Henry Wilkes [:henry] from comment #10)
This would be much cleaner if the
<browser>and the invite area were separate because they could be constructed and loaded independently.@lasana is this what you had in mind?
Yes.
| Assignee | ||
Comment 15•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 16•4 years ago
|
||
This is the first step in re-designing the invitation display meant only to lay down the basic structure and give a taste of the new widget. There is
still much work to do but doing it in one go is counter-productive.
Some tasks outstanding include:
- Detecting the stage of the invitation and showing the appropriate UI.
- Support for recurring events.
- Toggle the timezone displayed.
- Hiding the fields we do not have values for.
- Improve the formatting of the attendees list.
- Allow the user to hide long attendee lists.
- Hooking up the action buttons.
Known issues (not exhaustive):
- When there is a lot of information, the message pane gets pushed out of view.
- When there is a lot of information, the widget is not as neat.
- There are two scrollbars.
To address 1,2,3 I intend to hide some information when too much, offering the user the option to display when needed. For the description, I am considering leaving that out all together in favor of the message body or keeping it really short, displaying the excess in a modal, popup etc.
Comment 17•4 years ago
|
||
Will the event summary part of the invite use the same structure and design as the new event summary that is being planned in the calendar view for bug 1685007? An earlier design is here https://bug1575195.bmoattachments.org/attachment.cgi?id=9139613
There's probably some context-relevant information that would be in one, but not the other, but I was wondering if they could share the same template and styling to make sure the calendar components have a consistent look.
| Assignee | ||
Comment 18•4 years ago
|
||
That would be nice, where feasible. I tried to put as many parts as feasible into their own custom element so making them more general should not be too hard.
Comment 19•4 years ago
|
||
That would be nice indeed.
In order to do that we will first need to clean up our CSS a lot, in order to create reusable classes that are not specific to 1 element or 1 implementation only.
In general, reusing templates and keeping the style consistent across the application is the goal.
| Assignee | ||
Comment 20•4 years ago
|
||
Latest screenshot for visual feedback. I moved the minidate to the top so it's more visible with longer invitations and removed the grey background.
| Assignee | ||
Comment 21•4 years ago
|
||
I'm going to try having this "overlay" the message contents instead of pushing it down causing two scrollbars. It could be dismissed via an X button if the user wants to see the message contents instead.
| Assignee | ||
Updated•4 years ago
|
Comment 22•4 years ago
|
||
Marking this to leave open so we can continue using this bug for the follow ups.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 23•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7f61b80c5d25
Introduce new widget for displaying invitations. r=aleca
Comment 24•4 years ago
|
||
Comment 25•4 years ago
|
||
I get an error on c-c which refers to ./calendar/base/themes/common/calendar-invitation-display.css which apparently you have just added yesterday.
Any idea why I get the failure described in bug 1760012 ?
| Assignee | ||
Comment 27•4 years ago
|
||
Also changes #calendarInvitationDisplay to <html:div/>.
| Assignee | ||
Updated•4 years ago
|
Comment 28•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/565c734957f3
Fix crash caused by wrong css url. r=aleca
| Assignee | ||
Comment 29•4 years ago
|
||
| Assignee | ||
Updated•4 years ago
|
Comment 30•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/45dc671d6ed8
Follow up use separate translations for calendar-invitation-partstat-summary. r=aleca
| Assignee | ||
Comment 31•4 years ago
|
||
Also hides the message body when the invitation display is shown.
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Comment 32•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f6baa37ea7ae
Part 4: Hide invitation display when switching tabs or folders. r=aleca
Comment 33•4 years ago
|
||
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 34•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e6a22bcf5488
Part 4: Hide invitation display when switching tabs or folders. r=aleca
| Assignee | ||
Comment 35•4 years ago
|
||
| Assignee | ||
Comment 36•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Comment 37•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/6dac3bcf57e6
Part 4: Follow-up - Move invitation display to own container. r=aleca
Updated•4 years ago
|
Updated•4 years ago
|
Comment 38•4 years ago
|
||
Moving forward, mark this as a meta bug and create child bugs blocking this one for the following parts.
No more multiple patches on the same bug.
Updated•4 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Comment 39•3 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a3595b3e889e
Part 5: Detect existing events, updates and cancellations. r=aleca
| Assignee | ||
Updated•3 years ago
|
Description
•