summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less/thread.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-04-16[MERGE] forward port branch saas-11.2 up to 90f8f17fb4fChristophe Simonis
2018-04-16[MERGE] forward port branch 11.0 up to ad825b673b5Christophe Simonis
2018-04-12[IMP] mail: followup of 215754076811stefanorigano
Properly change the color of the note using variables and avoid getting 50 shades of grey in the less variables. Increase a bit the border bottom to mark the difference. The note vs message rendering should still probably be improved as changign the background is a bit confusing but in the meantime, the difference is visual enough.
2018-04-12[FIX] mail: restore pre v11 note colorMartin Trigaux
The gray-lighter was modified at 88881e9f to make it lighter (#F9F9 instead of Restore the previous grey and increase contrast. To quote "The Non-Designer's Design Book by Robin Williams": > Contrast is created when two elements are different. If the two elements are > sort of different, but not really, then you don't have contrast, you have > conflict. That's the key–the principle of contrast states that if two items > are not exactly the same, then make them different. Really different. opw-1835722
2018-04-06[IMP] mail: attachments list designstefanorigano
With this commit, the attachments displayed in a thread (typically a chatter) are properly styled.
2018-03-08[FIX] mail: nocontent helper discuss (inbox & starred)Alexandre Kühn
Revision on https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 From the UX/UI changes above, we also changed the style for empty inbox and starred in Discuss. There are two issues with the empty boxes message: 1. The text is not centered at all (one word per line, and everything is stuck on the left-side of the screen) 2. The style is inconsistent with nocontent message on search In this commit, inbox and starred use the same style as the no_content message from a search. The style of the nocontent from a search has been slightly changed to mimick the intended style for inbox and starred: - centered text - title is in bold 125% font size - other text is not in bold, 115% font size.
2018-01-30[IMP] chatter: improve chatter readabilityXavier-Do
Only messages as comments and email template should keep a white backround since they are not internal. It is also enough to display fields that changed on subtypes (update message) since emails will be reworked soon and more information will be given there. The support of 'always' track can be removed. (is now considered as a simple tracked field) The use of self.env.ref('mail.mt_comment').id add some query and the performance tests needs to be update since message_format is called by notify_by_chat. This code will be refactor later
2018-01-19[REV] Miss pushXavier-Do
This reverts commit 935e4f6a252ecd87d660d8433aa88fee41839fff.
2018-01-19Task: [mail] clean chatter.Xavier-Do
Remove "always" tracking support Change greay background logic
2017-10-19[IMP] mail: fix display of emails in chatter windowTejas Shahu
Closes #18638
2017-10-02[FIX] mail: thread note bg-colorstefanorigano
This commit fix 596e88f , using a better bg-color in order to improve text readability. It apply also apply a minor padding-left to avoid having text attached to the coloured div border. Moreover, the bg-colour can not be applied to activities thread. The little history behind: remove the bg-color was decided by fp and the UX dep. I’m not aware if 596e88f is approved or not, but the final result was not acceptable.
2017-09-22[FIX] web, mail: fix bootstrap customizationqsm-odoo
- bg-*-full color classes were only defined in enterprise while they should have been defined here (fixes kanban column progressbars) - new @gray-lighter variations should be defined in variables.less as they are bootstrap extensions, not bootstrap overrides
2017-09-18[FIX] mail: restore background color of notes in chatterDhawal Limbuwala
It had been removed by the new design of v11, but it is necessary to easily make the distinction between internal notes and messages.
2017-09-15[IMP] im_livechat, mail: Discuss UI in mobileAaron Bohy
- Extract mobile specific code for the client action to a specific file - Massive clean of less rules - Unify channels preview of the systray dropdown and the mobile UI of Discuss - Ensure to only load the last message of each channel in mobile, as this is not used in desktop (unless the user opens the systray menu) - Make livechat available in Discuss mobile UI
2017-09-15[IMP] mail: improve Discuss UI for mobile devicesDharmang Soni
- Brand new UI for Discuss client action (with tabs for Inbox, chats, channels...) - In mobile, conversations always open in Chat Windows - Chat window UI improved (both mobile and desktop) - Channels preview (used in the systray menu, and now in the mobile UI of Discuss) improved - Other minor less tweaks
2017-09-07[REF] web, mail: review silver colorsstefanorigano
This is also meant to solve a bug in firefox: the scrollbar was the same color as the background by bad luck. + Adapt kanban view borders
2017-09-05[IMP] mail: Add a preview popup for attachmentsjpr-odoo
Purpose ======= The goal is that when you click on an attachment, you should get a preview of it and then you get the possibility to download it.
2017-09-05[REF] mail: review new chatter designqsm-odoo
- Use classes instead of repeated mixins - Add real user avatar instead of fake one - Reorganize LESS rules
2017-09-05[REF] mail: introduce new chatter/discuss designstefanorigano
- Improve overall design - Better use of UI colours - Replace planned activities icon - Vertically align kanban icons - Remove the 'bell shtcut' and followers caret - Use a mixin to style the chatter (inline, not inline, compact)
2017-05-17[IMP] discuss: action buttons always visible on touch screens Dhaval Panchal
We add the o_touch_device css class to the body (it was done in enterprise only), and various other small changes to make sure that the action buttons (in discuss, next to the message title) are always visible (not only on hover) when we are on a touch device. (pr (#15459, closes task 31208)
2017-01-25[MERGE] forward port branch 10.0 up to 7427825790dChristophe Simonis
2017-01-24[FIX] mail: hidden chatter tooltip can cover contentNicolas Lempereur
With 72dfcae2a we have an envelope icon in the chatter with the information on the sent mail. When not displayed, the tooltip is hidden using opacity:0 so if something is underneath it it becomes unclickable. This commit makes the tooltip disappear in this instance. opw-705205
2016-12-21[IMP] mail: add activities allowing to define next actions on various modelsRavi Gadhia
This commit introduces generic activities to use in your addons. Activities are actions user have to take on a document like making a phonecall or organizing a meeting. Activities come with the mail module as they are integrated in the Chatter but are not bundled with mail.thread. New models are * mail.activity.type: used to categorize activities. Each type is a different kind of activity e.g. call, mail, meeting. An activity can be generic i.e. available for all models using activities; or specific to a model in which case res_model_id field should be used. * mail.activity: an actual activity to perform. Activities are linked to documents using res_id and res_model_id fields. Activities have a deadline that can be used in kanban view to display a status. Once done activities are unlinked and a message is posted. This message has a new activity_type_id field that indicates the activity linked to the message. This commit introduces a mail.activity mixin to use in various addons that enables the activities feature. It works like the mail.thread mixin. It defines a activity_ids one2many field toward activities using res_id and res_model_id. Various related / computed fields are also added to have a global status of activities on documents. Activities come with a new JS widget for the form view. It is integrated in the Chatter widget although it is a separate widget. It displays activities linked to the current record and allow to schedule, edit and mark done activities. Use widget="mail_activity" on activity_ids field in form view to use it. There is also a kanban widget defined. It defines a small widget to integrate in kanban vignettes. It allow to manage activities directly from the kanban view. Use widget="kanban_activity" on activitiy_ids field in kanban view to use it. Next commits will aim at integrating activities inside main Odoo addons. Thanks to R&D India for their work and testing on this task. Thanks to belgian Usabiliteam for reviewing and testing it. Thanks to @jem-odoo for the final review. May his soul lie in peace with the trumpets of paradise.
2016-09-01[IMP] mail: improve notification management for customersThibault Delavallée
Currently it is impossible in Discuss to know whether an email has been sent to a customer and whether it failed or bounced. A notified partner has an entry in the needaction m2m table. In this commit we decorate this table to add fields about the email notification: is an email sent, did it failed, did it bounce. This information is kept only for customers. Internal users does not use this information. Moreover their notification is deleted once the message is read in the Chatter. This avoids having a notification table that grows quickly. Chatter now holds a new icon for email details. It allows to know on a thread status of emails sent to customers.
2016-05-25[FIX] mail: mutiple read moreAdrien Dieudonne
A read more was added to every node having a mail-quote tag. However all quotes and their child nodes are tagged, leading to numerous unnecessary read more / read less. Now, all consecutive mail-quote are joined in one 'read more/read less'.
2016-05-18[FIX] mail: thread: keep image ratioAaron Bohy
With rule 'max-width: 100%', the height must be reset to 'auto' to keep the image ratio.
2016-05-13[FIX] mail: max width 100% of images in threadsAaron Bohy
2016-03-03[FIX] mail: only update timestamps periodicallyGéry Debongnie
the messages in a thread were previously rerendered every minutes to update their timestamps. This commit only update the timestamps, not all the message. This will allow us to keep expanded/folded state in messages without collapsing them every minutes. [IMP] mail: add read more/read less support client side Messages are cleaned up and tagged server sides, with a attribute data-o-mail-quote. This commit replace their content with a clickable read more link, which toggle its display.
2016-03-03[CLEAN] tools, mail: remove html_email_cleanThibault Delavallée
Remove html_email_clean in tools. Remove shorten in mail.
2016-02-11[FIX] mail: various ui improvementsGéry Debongnie
- swap reply-to and mark-as-unread buttons in threads - remove blockquote from stripped html in channel previews - readd padding to no-content message in threads, also to no match found message - add 1 to chat window z-index to prevent control panel buttons to show through it
2016-02-03[FIX] mail: users can now reply directly in documents from channelsGéry Debongnie
A missing feature in discuss was the possibility to directly reply to a message from a channel without opening the document. This commit add that feature. Now, there is a small 'reply' icon in channels (including inbox/starred) if the message comes from another document. This icon opens an extended composer, which will post the message in the document chatter.
2016-02-02[FIX] mail: keep expanded messages expanded after refreshAaron Bohy
Commit c04103f re-renders the thread every minute to update messages' date. As a consequence, the expanded messages are lost (they are shortened again). This rev. makes sure to keep those messages expanded.
2016-01-25[FIX] mail: various ui fixesAaron Bohy
- limit partner search to 10 in new message's chat window to prevent overflow - prevent negative needaction counters (may occur in multi-tab, with needactions received during an inactivity period) - remove <pre> tag when computing messages' preview for the messaging dropdown as they break the layout and add 'overflow: hidden' on o_mail_channel_preview just in case - rename 'New message' button in Inbox into 'Send mail' as it was confusing, and adapt .pot file accordingly - focus on composer when opening a chat window - break lines in threads to avoid horizontal scrollbar (credit goes to qsm) - correctly apply rules on <p> in threads opw-667235
2016-01-13[IMP] mail: chatter: hide notification buttonsThibault Delavallée
Using some templates it is possible to have odoo buttons directly in the mail_message body. Hide them in the chatter as this is more noisy than usefull.
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-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-17[FIX] mail: various UI improvementsAaron Bohy
- vertically center date and messages separators in threads - remove notifications in DM and livechat - order mail demo data so that messages appear ordered (they are ordered by id) - make sure that DM are pinned (they weren't on the receiver side) - don't display DM until a message has been sent - validate message body - undo snackbar fine tuning - fix Firefox scroll bug on sidebar rendering (the scroll position was often lost when the sidebar was re-rendered, seemingly because the width of the thread changed for a brief moment)
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: 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-01[REF] mail: first part of the chat refactoring (client side)Aaron Bohy
Joint work with ged