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

Add redirect from video routes to direct video routes if realm does not exist #818

Merged

Conversation

LukasKalbertodt
Copy link
Member

The idea is to reduce the need for handing out direct links. Before, "video with page context" links didn't work anymore if the page didn't exist or didn't include that video. To avoid these breaking links, users were asked to instead hand out direct links, which wouldn't break but also didn't have the page context/navigation. But we can just make the "page context link" do both. In case the page doesn't exist, it just forwards to the direct link.

In the future we might want to show a note or something, but this is fine for now.

…ot exist

The idea is to reduce the need for handing out direct links. Before,
"video with page context" links didn't work anymore if the page didn't
exist or didn't include that video. To avoid these breaking links, users
were asked to instead hand out direct links, which wouldn't break but
also didn't have the page context/navigation. But we can just make
the "page context link" do both. In case the page doesn't exist, it just
forwards to the direct link.

In the future we might want to show a note or something, but this is
fine for now.
@LukasKalbertodt LukasKalbertodt added the changelog:user User facing changes label May 11, 2023
@github-actions github-actions bot temporarily deployed to test-deployment-pr818 May 11, 2023 08:45 Destroyed
@owi92 owi92 merged commit c668cea into elan-ev:master May 11, 2023
2 checks passed
@LukasKalbertodt LukasKalbertodt deleted the video-page-direct-link-forward branch May 11, 2023 10:44
@dagraf
Copy link
Collaborator

dagraf commented May 11, 2023

I'm quite skeptical that this (a link to a "video in page context" falls back to the direct link, when a page no longer exists) is a good idea. For details, see: #743 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:user User facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants