Skip to content

Add video block show metadata option - #1810

Merged
owi92 merged 12 commits into
elan-ev:mainfrom
LukasKalbertodt:video-block-show-metadata
Oct 22, 2026
Merged

owi92 merged 12 commits into
elan-ev:mainfrom
LukasKalbertodt:video-block-show-metadata

Conversation

@LukasKalbertodt

Copy link
Copy Markdown
Member

This is based on #1696, merges main (instead of rebase to not touch the original commits) and refactors it a bit.

This adds a migration file but does not enable it yet, to keep the next release migration-free. It is not needed for the functionality, just adds some checks.

Do not review commit by commit, but as a whole. Frontend changes can now easily be reviewed with git diff upstream/main --color-moved=dimmed-zebra --color-moved-ws=allow-indentation-change -- frontend. Most code is just moved from routes/Video.tsx to ui/metadata.tsx unchanged.

geichelberger and others added 11 commits April 2, 2026 19:46
This adds the show metadata option for the video block to show
supplemental metadata for embedded videos.
This migration is not critical to the functionality of this PR, so we
do not add this now to make the next release migration-less. Adding it
at the time when another migration is added in the future is enough.
Now the extraction of common code for block & page is fairly obvious
and can easily be reviewed with git move detection. Most code is just
untouched and moved to `ui/metadata.tsx`. From the original PR, this
moved the "Video details" link to under the metadata section as it was
more convenient in code and I think both positions are equally useful
to the user.
@LukasKalbertodt LukasKalbertodt added the changelog:user User facing changes label Oct 22, 2026
@github-actions
github-actions Bot temporarily deployed to test-deployment-pr1810 October 22, 2026 12:38 Destroyed
Video details is currently mostly used for the management page (thus
confusing) and with the ability to also show metadata for a video
block, it's also a bit weird.
@LukasKalbertodt
LukasKalbertodt force-pushed the video-block-show-metadata branch from 3d44247 to 39c5159 Compare October 22, 2026 13:09
@github-actions
github-actions Bot temporarily deployed to test-deployment-pr1810 October 22, 2026 13:15 Destroyed
@owi92
owi92 merged commit 92da02e into elan-ev:main Oct 22, 2026
4 of 5 checks passed
@LukasKalbertodt
LukasKalbertodt deleted the video-block-show-metadata branch October 22, 2026 14:06

This branch was successfully deployed

No deployments
test-deployment-pr1810 — 39c51595 Deployed Oct 22, 2026 by github-actions[bot]
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.

3 participants