Community Library miscelaneous fixes - #6076
Open
AlexVelezLl wants to merge 2 commits into
Open
Conversation
…table Navigating back to the admin Channels table (e.g. after opening a channel and using the browser back button) reset the status filter even though it was correctly restored from the URL. An immediate watcher unconditionally overwrote it to the first available option on every mount instead of only defaulting when the filter is actually unset. Since the status filter is derived from the current channel type's options, a status no longer valid for a new type already reads back as unset, so a single "is it set" check covers both the type-change reset and back-navigation preservation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The fixed width clipped longer status labels. Let it size to content. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Reviewer guidance
To manually verify the channel table fix: in the admin Channels table, filter by "Community Library" + "Needs review", open a channel, then use the browser Back button — the filters should stay as set instead of resetting.
AI usage
Used Claude Code throughout: diagnosed the channel-table filter-reset bug via code exploration, implemented and iterated on the fix. I reviewed all diffs, decided the final fix approach for the filter bug, and ran the test suite and pre-commit before this PR.