Channels: parse pronouns and display them on channel page#5617
Merged
Fijxu merged 1 commit intoiv-org:masterfrom Feb 5, 2026
Merged
Channels: parse pronouns and display them on channel page#5617Fijxu merged 1 commit intoiv-org:masterfrom
Fijxu merged 1 commit intoiv-org:masterfrom
Conversation
Member
|
Thanks! I'll take a look at it later. |
c61a514 to
bdf0a0f
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for parsing creator pronouns from YouTube channel metadata, exposing them via the API and rendering them on the channel page.
Changes:
- Extend
AboutChannelto include an optionalpronounsfield and populate it inget_about_infoby parsing channel metadata rows. - Expose
pronounsin the/api/v1/channels/:idJSON response. - Update the channel header component and CSS to display pronouns beneath the channel name with appropriate styling.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/invidious/views/components/channel_info.ecr | Wraps the channel name in a new container and conditionally displays pronouns beneath it in the channel header. |
| src/invidious/routes/api/v1/channels.cr | Adds the pronouns field to the channel API response payload. |
| src/invidious/channels/about.cr | Extends AboutChannel with a pronouns field and parses pronoun data from the channel metadata rows. |
| assets/css/default.css | Adds styles for the new channel name/pronouns container and pronoun text appearance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
75dffbf to
0bc8cb1
Compare
Fijxu
requested changes
Feb 3, 2026
0bc8cb1 to
bc0b316
Compare
Fijxu
approved these changes
Feb 3, 2026
Member
Fijxu
left a comment
There was a problem hiding this comment.
Works fine, Thanks for your contribution!
Fijxu
added a commit
to iv-org/documentation
that referenced
this pull request
Feb 3, 2026
Closes #690 Feature added in iv-org/invidious#5617
unixfox
approved these changes
Feb 5, 2026
Fijxu
added a commit
to iv-org/documentation
that referenced
this pull request
Feb 5, 2026
Closes #690 Feature added in iv-org/invidious#5617
Fijxu
added a commit
to Fijxu/invidious
that referenced
this pull request
Feb 20, 2026
It also fixes some inconsistencies with the CSS and HTML that was introduced in iv-org#5617 but I didn't really noticed about because it looked fine in the Invidious frontend. I also added a comment about the `break` statement in the metadata_rows row iteration because I didn't get why that `break` was there. Closes iv-org#5638
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 PR parses and displays channel pronouns.
Testing:
Channel with pronouns:
1- Go to

{INVIDIOUS INSTANCE}/api/v1/channels/UCw-aR42z5gUcarpPGN5OKfA2 - see pronoun field below channel name
1 - Go to

{INVIDIOUS INSTANCE}/channel/UCw-aR42z5gUcarpPGN5OKfA2- See pronoun field
Channel with no prouns
1 - Go to

{INVIDIOUS INSTANCE}/channel/UCX6OQ3DkcsbYNE6H8uQQuVA2 - Don't see pronouns
1 - Go to

{INVIDIOUS INSTANCE}/api/v1/channels/UCX6OQ3DkcsbYNE6H8uQQuVA2 - see empty pronouns