Repository navigation
Add video block show metadata option - #1810
Merged
Merged
Conversation
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.
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
force-pushed
the
video-block-show-metadata
branch
from
October 22, 2026 13:09
3d44247 to
39c5159
Compare
owi92
approved these changes
Oct 22, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 fromroutes/Video.tsxtoui/metadata.tsxunchanged.