summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
AgeCommit message (Collapse)Author
2016-01-13[FIX] mail,web: : untranslated term in viewMartin Trigaux
_t(...) in xml qweb views do not work, not exported, not evaluted. No reason to use t-att-*, just using simple attribute is enough.
2015-12-11[FIX] mail: various UI improvements to chat interfaceGéry Debongnie
- don't display user name in chat windows - scroll to the new messages separator if it exists (in client action) - increase sidebar width - add correct link href in threads - hide chat window in mobile mode - mail: ignore o_mail_redirect or o_channel_redirect, but redirect anyway
2015-12-09[FIX] mail: various ui improvements/fixesAaron Bohy
- display full content of messages in Discuss - no content helpers in inbox and starred improved - mark as read tooltip instead of mark ad done - decrease font size in chat windows - increase chat windows dimensions - display avatars in chat windows - chat window background is now white - notes are displayed with a darker background
2015-12-07[IMP] mail: various improvementGéry Debongnie
- don't display subject for messages coming from chatter - better tooltip on the leave channel button in client action sidebar - don't squash nearby messages in chatter - reduce margin of date separator in chat windows
2015-12-03[FIX] mail: don't redirect to user's own partner form viewAaron Bohy
Clicking on the author of a message opens a DM with the corresponding user if there is one, and opens the corresponding partner's form view otherwise. When the author is the current user, obviously we don't want to open a DM with ourself, but we probably don't want to open our partner form view either, which was exactly the behavior before this rev.
2015-11-27[FIX] mail: various improvements/fixesGéry Debongnie
- display appropriate message when no results are found in a search - don't display 'you have been invited' notif when creating private channel - correctly join when a user was invited in a public channel - display a message when a user join a channel through an invitation - don't display subject for message of type notification (still a mystery why it happens in test.odoo.com for channel of type mailing) - better heuristic on when to display message subject - tweak sidebar text color (slightly whiter) - add ... to the placeholder of the text area in the composer - invert send and icons for attach/smiley in composer - don't display 'read less' on expanded messages - exclude livechat channels from channel mention suggestions
2015-11-26[FIX] mail, im_livechat: correctly displayed message dateGéry Debongnie
Messages are required to be displayed in a smarter way: relative to the current date, if it's a recent message, or absolute if not. This commits rework most of the date processing code to comply with these requirements. Messages were preprocessed each time a thread is rendered, which is stupid. It should be preprocessed only when the message is created. This was a small problem because livechat does not use the chat manager, so a simplified version of the preprocessing had to be done.
2015-11-18[FIX] mail: chatter: re-re-add the read more / lessThibault Delavallée
The read more / read less in chatter has been removed in the new timeline and then cleaned timeline introduced at cc6d2aa995ab13645627eae49ae462fbf2b038e8. This feature has been brought back at revision 486aab5098fd757dfad06e63b9f3bde51a78cb0e. However a new cleaning removed the feature at revision 2a5f07e0b919d4209c2cb72c6dfdc8b86cd5c7ff. This commit brings back this feature for the second time. Next one brings free cookies.
2015-11-18[FIX] mail: chatter: subtype when trackingThibault Delavallée
When having a tracking, the subtype description should be displayed. This is used for tracking linked to a subtype like Task Opened, Task Blocked, ... This feature was forgotten when refactoring the chatter for v9 and is now back.
2015-11-12[FIX] mail: various small UI tweaks/fixesGéry Debongnie
- put the mentionned partners and the attachment above the composer instead of below - debounce some links in thread.js to prevent double loading views when double-clicking - readd the # in front of the channelname of the title of the client action - give the channel_id to the thread in a chat window, so it does not display the channel name everytime it displays a message - correctly close dm chat window when the dm channel is closed in the main sidebar - simplify the help messages when a channel is empty
2015-11-12[IMP] mail: needactions and messages readAaron Bohy
Mainly concern the client action: - Display needactions per channels - For all channels except Inbox, clear needactions when opening the channel - Add snackbar to undo needactions clearing - Display a separator between read and unread messages in threads - Fix active channel (for Inbox and Starred) display in sidebar Various minor changes in chat_manager: - Code refactoring of bus notification handler - get_channel() don't fallback anymore on first channel
2015-11-09[FIX] mail: various ui improvementsGéry Debongnie
- display star/mark as read icon next to the message title instead on the far right - display unstar all message in channel starred - enable/disable the 'unstar all' and 'mark read' buttons depending on the number of messages in the corresponding channels - display star on the left sidebar in 'squashed messages' - tweaks to padding in client action - display hash in channel name in lighter tone - light opacity in sidebar - star icon in message sidebar is clickable + small less refactoring - message sidebar is aligned with the message now - messages are not squashed in inbox/starred
2015-11-06[IMP] mail: various ui improvementsGéry Debongnie
- less tweaks - improve default channel name - clean origin channel names in Inbox and Starred - reduce fadeout duration in threads
2015-11-03[IMP] mail: composer: mention channels featureAaron Bohy
Generalizes the mention mechanism to allow mentionning partners (@) and channels (#). When a user clicks on a mentionned channel, it subscribes to it and joins it. If the mention is in a chatter, the user is redirected to the Discuss client action. Moves the RPCs to get the menu and action id of the Discuss client action from systray.js to chat_managaer.js as they are now needed in the chatter as well. Also fixes the on_channel_clicked redirection for notification message (created/joined/left #channel). Those three messages are now of type notification, and correctly redirect on click.
2015-11-03[IMP] mail: various ui improvementsGéry Debongnie
- display hash before text in create channel input - increase limit for message fetching from 20 to 100 - 'Show more messages' renamed ino 'Show older messages' - remove border top and bottom on selected messages
2015-10-22[IMP] mail: add link to origin channel from messageGéry Debongnie
2015-10-22[IMP] mail: various ui improvementsGéry Debongnie
including: - reset scroll position to bottom when leaving channel - allow clicking on the avatar image - hide stars when message is of type notification - sort channel names - add # before channel names - rename Whole company channel in general - replace \n and \r in messages by <br/> - lighten the hover color of sidebar items in the client action - Display @ before mentions
2015-10-16[IMP] mail: redirect to DM on user clickedAaron Bohy
When clicking on a partner in the thread of messages, it opens the DM with the associated user if there is one (and if this user isn't the current user). Otherwise, or when clicking on a record of any other model, the user is redirected to that record's form view. This change required a minor change in chat_manager: create_channel now returns the created channel, as the client action needs it to switch to it. Moreover, in the thread, when there is no partner associated with a message (only an email address), we simply use html's mailto mechanism. This fixes a bug as we formerly tried to open an unexisting record of res.partner.
2015-10-16[IMP] mail: thread: hide avatar, author and date of consecutive messagesAaron Bohy
... from the same author, written within 1 minute (restricted to comments). Also: - Display stars and needactions on hover only - Display the date of messages without avatar and info in the margin on hover - Add 'selected' state of messages (mainly for touch screens to replace hover) - Fix typo (msg_type -> message_type) on the computation of the avatar url
2015-10-16[IMP] mail: various small ui improvementsGéry Debongnie
including: - decrease vertical spacing between user name and text - decrease vertical spacing between messages - align avatar width with first line of message - bold channels more visible (color is actually white) - decrease online status icon size and change its color - hide the DM unpin icon, and show it only when hovering - the add channel icons are less white - offline user icon is now white - the unpin icon is now visible when hovering on user name - correctly display notifications in inbox
2015-10-06[IMP] mail: thread: parameterize the display of messages' starAaron Bohy
To allow hiding it in livechat windows on the website.
2015-10-06[FIX] mail: thread: messages' date displayed in browser's timezoneAaron Bohy
2015-10-01[REF] mail: first part of the chat refactoring (client side)Aaron Bohy
Joint work with ged