feat: unified "Muted" column (users + threads + words)#9
Merged
Conversation
…r, i18n) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploying jank with
|
| Latest commit: |
53b4adc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://69d62389.jank-4ii.pages.dev |
| Branch Preview URL: | https://feat-mute-column.jank-4ii.pages.dev |
Address review feedback on the Muted column: - User rows now navigate to the profile on click; thread rows open the thread (push(toNote)/push(toProfile), mirroring how feed cards open). Action controls (lock toggle, unmute) stopPropagation so they don't also navigate. - Words render as full-width rows (icon + word + remove) in the column via a new MutedWordsSection variant='rows', so users/threads/words read as one consistent list. Settings keeps the compact 'chips' default. Co-Authored-By: Claude Opus 4.8 (1M context) <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
Adds a standing "Muted" column that puts everything you've muted in one place: muted users, muted threads, and muted words, under a
<Tabs>filter (All / Users / Threads / Words). Fixes today's fragmentation, where users+threads lived on a Settings-only/mutespage and words lived in General Settings.useMuteList()(scoped to the column's account by<AccountScope>).supportsViewAs: false— mute management is for your own account.useContentPolicy()state as Settings → General, so they stay in sync.src/components/Mute/(MutedUserItem,MutedThreadItem,MutedWordsSection); the Settings muted-words manager is now a thin wrapper over the shared section./mutesis now a column. The profile-menu "muted" link and the/mutesroute spawn-or-focus a single dedupedmute-listcolumn (mirrors Bookmarks/Notifications), retiring the oldMuteListPagesecondary page (−177 lines).Ships as v26.13.0 with a "What's new" entry. Picker shortcut is
u(mis taken by Messages).Implementation notes
TColumnType,dispatchBody,columnLabel, picker descriptor,migrateColumnsallowlist, i18n) + thedispatch-coverage.spec.tsexhaustiveness guard.UsersSectionlists are reactive + sorted ([...getMutePubkeys()].sort()): populates on cold-start relay load and reflects unmutes, while the stable sort prevents rows jumping when you toggle a user public↔private.Test plan
u); adding it creates an account-scoped columnnpm run buildclean, 857 tests pass, lint clean.🤖 Generated with Claude Code