From 98323245bc356915a790e2aa89194cf01bdb9404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Thu, 3 Nov 2022 16:11:08 +0000 Subject: [PATCH] [IMP] mail, *: make discuss component templates more compact *: hr_holidays, im_livechat, snailmail, website_livechat Clean template of discuss component templates, so that they are more appropriately compact, which makes it easier to read the layout at a glance. Task-3055780 Part-of: odoo/odoo#105099 --- .../persona_im_status_icon.xml | 12 +- .../components/thread_icon/thread_icon.xml | 12 +- .../components/thread_view/thread_view.xml | 4 +- .../discuss_sidebar/discuss_sidebar.xml | 10 +- .../components/thread_icon/thread_icon.xml | 14 +- .../activity_exception/activity_exception.xml | 2 +- .../activity_list_view/activity_list_view.xml | 16 +- .../activity_list_view_item.xml | 8 +- .../src/components/activity/activity.xml | 231 +++++------- .../components/activity_box/activity_box.xml | 52 +-- .../activity_mark_done_popover_content.xml | 32 +- .../activity_menu_container.xml | 4 +- .../activity_menu_view/activity_menu_view.xml | 34 +- .../attachment_box/attachment_box.xml | 38 +- .../attachment_card/attachment_card.xml | 81 ++--- .../attachment_delete_confirm.xml | 18 +- .../attachment_image/attachment_image.xml | 52 ++- .../attachment_list/attachment_list.xml | 18 +- .../attachment_viewer/attachment_viewer.xml | 148 ++++---- .../call_action_list/call_action_list.xml | 254 +++++++------ .../call_demo_view/call_demo_view.xml | 30 +- .../call_invite_request_popup.xml | 48 ++- .../call_invite_request_popup_list.xml | 4 +- .../call_main_view/call_main_view.xml | 52 ++- .../call_option_menu/call_option_menu.xml | 12 +- .../call_participant_card.xml | 129 +++---- .../call_settings_menu/call_settings_menu.xml | 49 +-- .../call_settings_menu_device.xml | 4 +- .../call_sidebar_view/call_sidebar_view.xml | 14 +- .../call_systray_menu/call_systray_menu.xml | 32 +- .../call_systray_menu_container.xml | 4 +- .../src/components/call_view/call_view.xml | 2 - .../channel_invitation_form.xml | 78 ++-- ...nel_invitation_form_selectable_partner.xml | 22 +- .../channel_member/channel_member.xml | 23 +- .../channel_member_list.xml | 26 +- .../channel_member_list_category.xml | 4 +- .../channel_preview_view.xml | 112 +++--- .../components/chat_window/chat_window.xml | 72 ++-- .../chat_window_header/chat_window_header.xml | 90 ++--- .../chat_window_hidden_menu.xml | 14 +- .../chat_window_manager.xml | 4 +- .../static/src/components/chatter/chatter.xml | 74 ++-- .../chatter_container/chatter_container.xml | 8 +- .../chatter_topbar/chatter_topbar.xml | 138 ++++--- .../src/components/composer/composer.xml | 280 +++++++-------- .../composer_suggested_recipient.xml | 24 +- .../composer_suggested_recipient_list.xml | 28 +- .../composer_suggestion_list_view.xml | 20 +- .../composer_suggestion_view.xml | 44 +-- .../composer_text_input.xml | 22 +- .../delete_message_confirm.xml | 26 +- .../static/src/components/dialog/dialog.xml | 20 +- .../dialog_manager/dialog_manager.xml | 10 +- .../static/src/components/discuss/discuss.xml | 80 ++--- .../discuss_mobile_mailbox_selection.xml | 4 +- .../discuss_mobile_mailbox_selection_item.xml | 6 +- .../discuss_public_view.xml | 18 +- .../discuss_sidebar/discuss_sidebar.xml | 52 ++- .../discuss_sidebar_category.xml | 74 ++-- .../discuss_sidebar_category_item.xml | 64 ++-- .../discuss_sidebar_mailbox.xml | 10 +- .../emoji_category_bar_view.xml | 4 +- .../emoji_category_view.xml | 4 +- .../emoji_grid_row_view.xml | 4 +- .../emoji_grid_view/emoji_grid_view.xml | 14 +- .../src/components/emoji_view/emoji_view.xml | 4 +- .../follow_button/follow_button.xml | 42 +-- .../src/components/follower/follower.xml | 28 +- .../follower_list_menu/follower_list_menu.xml | 53 ++- .../follower_subtype/follower_subtype.xml | 12 +- .../follower_subtype_list.xml | 48 ++- .../mail_template/mail_template.xml | 46 +-- .../static/src/components/message/message.xml | 340 ++++++++---------- .../message_action_list.xml | 8 +- .../message_author_prefix.xml | 18 +- .../message_in_reply_to_view.xml | 38 +- .../components/message_list/message_list.xml | 136 ++++--- .../message_notification_popover_content.xml | 12 +- .../message_reaction_group.xml | 12 +- .../message_seen_indicator.xml | 18 +- .../messaging_menu/messaging_menu.xml | 74 ++-- .../messaging_menu_container.xml | 8 +- .../messaging_menu_tab/messaging_menu_tab.xml | 4 +- .../mobile_messaging_navbar.xml | 14 +- .../notification_group/notification_group.xml | 56 ++- .../notification_list/notification_list.xml | 76 ++-- .../notification_request.xml | 44 ++- .../persona_im_status_icon.xml | 52 ++- .../popover_manager/popover_manager.xml | 10 +- .../components/popover_view/popover_view.xml | 14 +- .../components/thread_icon/thread_icon.xml | 70 ++-- .../thread_needaction_preview.xml | 106 +++--- .../thread_textual_typing_status.xml | 14 +- .../components/thread_view/thread_view.xml | 90 ++--- .../thread_view_topbar/thread_view_topbar.xml | 142 +++----- .../web_client_view_attachment_view.xml | 4 +- ..._client_view_attachment_view_container.xml | 8 +- .../components/welcome_view/welcome_view.xml | 38 +- .../snailmail_error/snailmail_error.xml | 94 +++-- .../components/thread_view/thread_view.xml | 6 +- 101 files changed, 1948 insertions(+), 2684 deletions(-) diff --git a/addons/hr_holidays/static/src/components/persona_im_status_icon/persona_im_status_icon.xml b/addons/hr_holidays/static/src/components/persona_im_status_icon/persona_im_status_icon.xml index 058e76b8e09..a7673343c5d 100644 --- a/addons/hr_holidays/static/src/components/persona_im_status_icon/persona_im_status_icon.xml +++ b/addons/hr_holidays/static/src/components/persona_im_status_icon/persona_im_status_icon.xml @@ -2,15 +2,9 @@ - - - - - - - - - + + + diff --git a/addons/hr_holidays/static/src/components/thread_icon/thread_icon.xml b/addons/hr_holidays/static/src/components/thread_icon/thread_icon.xml index 6269d435c10..c4409b924f9 100644 --- a/addons/hr_holidays/static/src/components/thread_icon/thread_icon.xml +++ b/addons/hr_holidays/static/src/components/thread_icon/thread_icon.xml @@ -2,15 +2,9 @@ - -
- - -
- - -
- +
+
+
diff --git a/addons/hr_holidays/static/src/components/thread_view/thread_view.xml b/addons/hr_holidays/static/src/components/thread_view/thread_view.xml index 4789e62457a..9b97fb5d051 100644 --- a/addons/hr_holidays/static/src/components/thread_view/thread_view.xml +++ b/addons/hr_holidays/static/src/components/thread_view/thread_view.xml @@ -2,9 +2,7 @@ - -