Skip to content

[19.0][IMP] website_sale_slides_portal: improve course access from portal - #35

Merged
OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-imp-website_sale_slide_portal
Oct 8, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-imp-website_sale_slide_portal

Conversation

@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor

fwp 30b6708

Make course names link directly to their corresponding course and add an action to copy the invitation link to the clipboard.

Provide visual feedback after copying the invitation link and improve the courses portal breadcrumbs.

@Tecnativa TT64723

@eduezerouali-tecnativa @cristina-hidalgo-tecnativa please review

@OCA-git-bot OCA-git-bot added series:19.0 mod:website_sale_slides_portal Module website_sale_slides_portal labels Oct 6, 2026
Comment thread website_sale_slides_portal/static/src/js/portal_courses.esm.js
Comment thread website_sale_slides_portal/views/portal_templates.xml

@rrebollo rrebollo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pilarvargas-tecnativa — reviewed this forward-port of the course-access improvements. A few inline notes: mostly polish, plus two behaviour questions (clipboard guard and the copy button on single-registration rows).

In return, would you be so kind as to review my #20 ? Thank you!

Comment thread website_sale_slides_portal/static/src/js/portal_courses.esm.js Outdated
Comment thread website_sale_slides_portal/static/src/js/portal_courses.esm.js Outdated
Comment thread website_sale_slides_portal/static/src/js/portal_courses.esm.js Outdated
Comment thread website_sale_slides_portal/views/portal_templates.xml
Comment thread website_sale_slides_portal/views/portal_templates.xml Outdated
Comment thread website_sale_slides_portal/views/portal_templates.xml
@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor Author

@cristina-hidalgo-tecnativa @rrebollo Thanks for the review

I would keep the button available regardless of the number of registrations. It only copies the invitation URL and does not grant additional registrations. When the single registration has already been consumed, opening the link shows that no registrations are available and prevents further enrollment.

There is no functional reason to restrict the button to courses with multiple registrations. Moreover, this behavior was requested and validated by the customer and is already in use in production.

@pilarvargas-tecnativa
pilarvargas-tecnativa force-pushed the 19.0-imp-website_sale_slide_portal branch from a32f9cf to 7803bcb Compare October 8, 2026 08:03
Make course names link directly to their corresponding course and add
an action to copy the invitation link to the clipboard.

Provide visual feedback after copying the invitation link and improve
the courses portal breadcrumbs.

TT64723
@pilarvargas-tecnativa
pilarvargas-tecnativa force-pushed the 19.0-imp-website_sale_slide_portal branch from 7803bcb to 932b113 Compare October 8, 2026 08:13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code reviewed and tested locally and on runboat. LGTM!

@pedrobaeza pedrobaeza added this to the 19.0 milestone Oct 8, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge minor

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-35-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit ffa408a into OCA:19.0 Oct 8, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at c6647a0. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 19.0-imp-website_sale_slide_portal branch October 8, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants