Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] document_page: extend follower to childs #522

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

AlvaroRM11
Copy link
Contributor

@AlvaroRM11 AlvaroRM11 commented Jan 29, 2025

This implementation automates follower management for knowledge pages within categories. When a "content" page is created under a category with followers, those followers are automatically subscribed to the new page. Additionally, following/unfollowing a category propagates/revokes subscriptions to all its existing documents. Includes tests validating:

  • Automatic subscription when creating pages in categories with followers.

  • Subscription synchronization when following/unfollowing categories.

  • Correct behavior for pages without a parent category.

@AlvaroRM11 AlvaroRM11 force-pushed the 16.0-imp-document_page branch from a62b26c to 7455992 Compare January 29, 2025 15:31
Copy link

@antoniodavid antoniodavid left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@Christian-RB Christian-RB left a comment

Choose a reason for hiding this comment

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

Code and functional review OK

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@dreispt
Copy link
Member

dreispt commented Feb 28, 2025

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-522-by-dreispt-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5f39d02 into OCA:16.0 Feb 28, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

5 participants