summaryrefslogtreecommitdiff
path: root/addons/website_event_track_session/controllers/session.py
AgeCommit message (Collapse)Author
2020-08-21[REM] website_event_track_session: merge into website_event_trackThibault Delavallée
PURPOSE Clean organization and models linked to Event Online feature introduced in semi stable saas-13.3 at odoo/odoo@981f95bbf46658eda9f2d33751b9310cc67d86aa and odoo/enterprise@14722028ae0773c3710ea48ce48ff44703e83b5a Also clean website event menu not being available in website event but only in website event track, which implies some extra-code to manage it. In short: merge website_event_online in website_event, website_event_track _(online/session) in website_event_track. RATIONALE _online modules have been added to extend content of website_event and website_event_track without having any impact on those module. First step of cleaning is to move this content directly in base module. track_session module is mainly a rewrite of track module. Second step of cleaning is to move its content directly in website_event_track. SPECIFICATIONS Move all content of website event track session to website event tracK. It was mainly of rewriting of views and can now be safely merged into the base track module. Update dependencies accordingly. LINKS Task ID-2319779 COM odoo/odoo#56067 ENT odoo/enterprise#12520 UPG odoo/upgrade#1654
2020-08-21[REM] website_event_track_online: merge into website_event_trackThibault Delavallée
PURPOSE Clean organization and models linked to Event Online feature introduced in semi stable saas-13.3 at odoo/odoo@981f95bbf46658eda9f2d33751b9310cc67d86aa and odoo/enterprise@14722028ae0773c3710ea48ce48ff44703e83b5a Also clean website event menu not being available in website event but only in website event track, which implies some extra-code to manage it. In short: merge website_event_online in website_event, website_event_track _(online/session) in website_event_track. RATIONALE _online modules have been added to extend content of website_event and website_event_track without having any impact on those module. First step of cleaning is to move this content directly in base module. track_session module is mainly a rewrite of track module. Second step of cleaning is to move its content directly in website_event_track. SPECIFICATIONS Move remaining content of website event track online to website event track. Agenda notably is completely replaced by the new one developed within track_online module. Update dependencies accordingly. LINKS Task ID-2319779 COM odoo/odoo#56067 ENT odoo/enterprise#12520 UPG odoo/upgrade#1654
2020-08-21[FIX] website_event_track_session: fix badly defined controllerThibault Delavallée
closes odoo/odoo#56266 X-original-commit: 63f14d9689bd0ad5b8a5136aa215d1a5f789f88c Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-20[IMP] website_event_track_session: improve sitemap managementThibault Delavallée
SPECIFICATIONS: ROUTES Improve sitemap management by adding domains in route. It allows to lessen generated sitemap size. LINKS Task ID-2323246 PR odoo/odoo#56180 closes odoo/odoo#56231 X-original-commit: 1c68ddcd5dd1981be1d652f0f1f01a20f6e675fd Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-20[IMP] website_event_track_session: display not yet scheduled tracksThibault Delavallée
PURPOSE Allow users to display tracks that have not been scheduled yet. In tracks list they should be displayed to allow generating much hype about those. SPECIFICATIONS: NOT SCHEDULED TRACKS Some customers announce their tracks before giving them a date. As tracks pages are based on date, they are currently not displayed. Add an 'Coming Soon' section in tracks list with tracks not having a date. This is displayed below day-based tracks display. Now that we support displaying tracks without date, various fixes are also applied to various places where date is used. UPDATE * website_event_track_session.event_track_content * website_event_track_session.tracks_display_list * website_event_track_live.tracks_display_list LINKS Task ID-2323246 PR odoo/odoo#56180 X-original-commit: ab70df2670ed67929ee53af00a5dbc7d0b246589
2020-08-04[ADD] website_event_track_session: new session mode for tracksThibault Delavallée
RATIONALE Events are sometimes held online, gathering a community. In this merge we improve Event application to better support full-online events with improved tracks, wishlists, chat rooms, ... PURPOSE Purpose of this commit is to completely redesign the talks pages and frontend flow. Notably better showcase live or upcoming talks, have a usable tracks list, provide reworked page view with tracks suggestions, ... SPECIFICATIONS Mockups are given in https://docs.google.com/presentation/d/1VSxp2luUvp9xLFq9d1Wy-6IC0mP0NA8vLmh44WE5PCs/edit#slide=id.g891af57392_0_84 Main ideas are * new pages: view for all tracks and view for a specific track * list view: display two sections (Live Now, Coming Soon) displaying track cards. After that a list view of tracks by date. This page allows to filter tracks on tags and search on them; * page view: revamped view of a track. Two tabs: main content holds track description and information. Aside tab contains suggestions of tracks based on a given heuristics; SPECIFICATIONS: LIST VIEW: LIVE SECTIONS Have 2 sections: Live Now and Coming Soon. Live Now contains tracks currently running. Coming Soon displays tracks that begins within 30 minutes. In those sections, tracks are listed as cards with basic informations: cover picture, title, speakers, remaining time before start or time since it has started, ... Use the reminder widget to allow people to wishlist tracks. Clicking on a card redirect to the track page view. SPECIFICATIONS: LIST VIEW Display a list view of tracks under those sections. Use a table-like display in desktop, more card-based in mobile to ease reading. Each day is a section of the list view, a bit like the agenda. For each track, display its name, tags, speaker, duration. If it starts today, display remaining time. Otherwise display its start datetime. For done tracks, do not display any time information as it is not useful anymore. Display reminder widget on tracks that are not done. Accepted stages should be displayed text-only to customers. That way they know the track exists but they cannot see the track page. Even managers see links to be able to edit or publish tracks. SPECIFICATIONS: PAGE VIEW Display a main content tab, with track description and speaker information. Display an aside tab, with track suggestions following this heuristics * live first; * then ordered by start date, finished being sent to the end; * wishlisted (manually or by default); * tag matching with current track; * location matching with current track; * finally a random to have an "equivalent wave" randomly given; As with track list, accepted tracks are not clickable for customers. In mobile, main content should take the whole screen and aside should be collapsed. That way we put emphasis on main content. SPECIFICATIONS: CTA BUTTON Allow to configure "Call to action" button on a track. It is now possible to give configuration of a button that appears on the track page view, above the other track suggestions tab. This CTA should be configured using: its name, its URL, and its delay compared to the track beginning. Before this delay it is not displayed. JS widget ensure button is displayed even if the page is not reloaded, to make a super wow effect especially with live session on track. KNOWN LIMITATIONS Tracks do not hold any protection for payment-based tickets. Everything that is published is available using standard ACLs. Content protection based on tickets is currently not supported. LINKS Task ID-2252655 (Main Online Event task) Task ID-2283735 (Talks -> Session upgrade) Co-Authored-By: Aurélien Warnon <awa@odoo.com> Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>