odoo.define('mail.tour', function (require) { "use strict"; var core = require('web.core'); var tour = require('web_tour.tour'); var _t = core._t; tour.register('mail_tour', { url: "/web#action=mail.widgets.discuss", sequence: 80, }, [{ trigger: '.o_DiscussSidebar_groupChannel .o_DiscussSidebar_groupHeaderItemAdd', content: _t("

Channels make it easy to organize information across different topics and groups.

Try to create your first channel (e.g. sales, marketing, product XYZ, after work party, etc).

"), position: 'bottom', }, { trigger: '.o_DiscussSidebar_itemNewInput', content: _t("

Create a channel here.

"), position: 'bottom', auto: true, run: function (actions) { var t = new Date().getTime(); actions.text("SomeChannel_" + t, this.$anchor); }, }, { trigger: ".o_DiscussSidebar_newChannelAutocompleteSuggestions", content: _t("

Create a public or private channel.

"), position: 'right', run() { this.$consumeEventAnchors.find('li:first').click(); }, }, { trigger: '.o_Discuss_thread .o_ComposerTextInput_textarea', content: _t("

Write a message to the members of the channel here.

You can notify someone with '@' or link another channel with '#'. Start your message with '/' to get the list of possible commands.

"), position: "top", width: 350, run: function (actions) { var t = new Date().getTime(); actions.text("SomeText_" + t, this.$anchor); }, }, { trigger: '.o_Discuss_thread .o_Composer_buttonSend', content: _t("Post your message on the thread"), position: "top", }, { trigger: '.o_Discuss_thread .o_Message_commandStar', content: _t("Messages can be starred to remind you to check back later."), position: "bottom", }, { trigger: '.o_DiscussSidebarItem.o-starred-box', content: _t("Once a message has been starred, you can come back and review it at any time here."), position: "bottom", }, { trigger: '.o_DiscussSidebar_groupChat .o_DiscussSidebar_groupHeaderItemAdd', content: _t("

Chat with coworkers in real-time using direct messages.

You might need to invite users from the Settings app first.

"), position: 'bottom', }]); });