Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Feb 27, 2025

Requires nextcloud/text#6923

Fixes #1469

This makes sure that for mentions in collectives we have a proper notification message and redirect the user to the collective page instead of the file.

Screenshot 2025-02-27 at 17 00 41

🏁 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
  • Documentation (README or documentation) has been updated or is not required

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Small detail: In Collectives we never refer to a page as "Readme" so it would be good to use the page name. Meaning:

  • If it's the Readme of a folder, use the folder name
  • If it's the Readme of a Collective, just use only the Collective name and don't append the "- Readme" part

Is that possible @juliusknorr?

@mejo- mejo- force-pushed the feat/mention-notification branch 3 times, most recently from 12a2994 to 9568d6e Compare May 13, 2025 14:53
Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Thanks @juliusknorr, works well! I pushed some minor changes (displaying "Landingpage" instead of "Readme"), a cypress test and some fixes to make psalm happy.

@mejo- mejo- force-pushed the feat/mention-notification branch 3 times, most recently from c7d99a6 to 6f3e680 Compare May 14, 2025 08:19
@mejo- mejo- force-pushed the feat/mention-notification branch from 6f3e680 to 09d7ca0 Compare May 14, 2025 11:57
@mejo- mejo- merged commit 03fa6b1 into main May 14, 2025
81 of 104 checks passed
@mejo- mejo- deleted the feat/mention-notification branch May 14, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mentions & Notifications

5 participants