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

Links to internal documents should be permalinks (internal shared links) #1152

Closed
Reis-A opened this issue Mar 10, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@Reis-A
Copy link

Reis-A commented Mar 10, 2024

currently, (version 2.10.0), fi you add a link with the collectives Link options to a internal document in nextcloud, the added link is in the form
https://mynextcloud.com/apps/files/?dir=/&openfile=1458015#relPath=//myfolder/myfile.md
if the file is moved with in nextcloud to a different location, the link breaks.

it would be better if it was the permalink of the shared file within nextcloud
https://mynextcloud.com/f/1458015

so the link doesn't break anymore when the file is moved to a different path later.

@Reis-A Reis-A added the enhancement New feature or request label Mar 10, 2024
@mejo-
Copy link
Member

mejo- commented Mar 10, 2024

Dear @Reis-A, thanks for you report. Good news, this got fixed with a revamped link handling in Nextcloud 29. The actual code changes are in Nextcloud Text, not in Collectives, though. Here's the relevant PR: nextcloud/text#5412

Due to the complex nature of the link handling changes, they will not get backported to Nextcloud versions below 29 unfortunately.

@mejo- mejo- closed this as completed Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants