Skip to content

feat(chat): never-replied chats default to General; dot inside inbox pills - #14783

Merged
dylanjeffers merged 1 commit into
mainfrom
feat/inbox-default-general
Nov 13, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
feat/inbox-default-general

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Needs AudiusProject/api#1082 for the new behavior. Before that deploys, nothing changes, because a missing has_replied falls back to Priority.

Why: In the #eng thread on 9/10, Michael settled on Priority as the default view, curated to the user, with "a dot on general for new messages". What shipped put every uncategorized chat in Priority, so General only filled up if you sorted chats by hand.

Tab rule (getInboxTabForChat):

  • An explicit Priority or General choice wins.
  • Uncategorized chats you have replied in → Priority. New inbound DMs and blast threads you never answered → General.
  • Your own sent blasts stay in Priority.
  • Sending a message in a General-by-default chat moves it to Priority right away.

Dots: The tab dots use uncategorized_unreplied from unread_by_category. The dot now sits inside the pill after the label instead of hanging off the corner, and turns white on the selected (purple) pill. That needed a new endAdornment prop on SelectablePill, added to both harmony and harmony-native.

Menus/swipes: These now offer only the tab the chat isn't shown in. Pushes are unchanged: only chats filed as General explicitly are silent.

Tests: common category.test.ts (tab rule, unreplied buckets, reply moves a chat, blast copies don't count, filing moves unreads) and web InboxTabs.test.tsx. Typecheck and lint are clean on the touched files. Mobile has not been run on a device.

🤖 Generated with Claude Code

…pills

Uncategorized chats now go to Priority only once you have replied in them.
New inbound chats and blast threads land in General, which is what Michael
asked for originally (Priority is the curated view). An explicit category
still wins, and an api without has_replied keeps the old behavior.

The unread dot moves inside the Priority/General pill after the label
instead of hanging off its corner. It turns white on the selected pill.
Menus and swipe actions offer only the tab the chat is not shown in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 38ff4c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@audius/sdk Minor
@audius/harmony Minor
@audius/sdk-legacy Patch
@audius/protocol-dashboard Patch
@audius/sp-actions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dylanjeffers
dylanjeffers merged commit 66aca9f into main Nov 13, 2026
33 checks passed
@dylanjeffers
dylanjeffers deleted the feat/inbox-default-general branch November 13, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant