Skip to content

feat: allow users to subscribe to changes in a collective#2541

Open
mejo- wants to merge 2 commits into
mainfrom
feat/subscribe
Open

feat: allow users to subscribe to changes in a collective#2541
mejo- wants to merge 2 commits into
mainfrom
feat/subscribe

Conversation

@mejo-
Copy link
Copy Markdown
Member

@mejo- mejo- commented May 27, 2026

Sends notifications if pages got updated or deleted. Doesn't send notifications when a page got created on purpose as usually pages get renamed straight after they got created.

Fixes: #317

🖼️ Screenshots

🏚️ Before 🏡 After
image image
_ image

🚧 TODO

So far it only sends notifications on page updates (content updated, page renamed/moved/deleted, emoji changed). I wonder whether adding/removing members shall trigger a notification as well. And how about tagging/untagging pages etc.?

Also, so far there's also only one global "subscribe" toggle and a subscribed user gets notified about all changes.

  • Decide if collective actions is the right place for the subscribe toggle in UI
  • Playwright tests
  • Consider activity app integration

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by my

@mejo- mejo- self-assigned this May 27, 2026
@mejo- mejo- added enhancement New feature or request 2. developing labels May 27, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team May 27, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 📝 Productivity team May 27, 2026
@mejo- mejo- force-pushed the feat/subscribe branch from d4bdefd to 2e07f05 Compare May 28, 2026 10:37
mejo- added 2 commits May 28, 2026 16:50
Sends notifications if pages got updated or deleted. Doesn't send
notifications whne a page got created on purpose as usually pages get
renamed straight after they got created.

Fixes: #317

Signed-off-by: Jonas <jonas@freesources.org>
Requires to install composer in Docker container as notifications app
has run-time PHP dependencies.

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the feat/subscribe branch from 2e07f05 to aa099f0 Compare May 28, 2026 20:54
Copy link
Copy Markdown
Member

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

Hi Jonas, I think that the location you've chosen makes sense, I would maybe do it like in Talk though, using a sub-action-menu, so we have more space to be clear with labels and icons.

Screen.Recording.2026-05-29.at.16.51.45.mov

On top of that, this could be indeed put in the collective settings dialog. Just like in Talk, the dialog could be exposed to all users, and have the conditional display logic (owner/user) on settings section instead. Templates could also go in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing enhancement New feature or request

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

Notifications for the members of a collective

2 participants