docs: note equal-unread position tie-break (v0.8.123)
Document that _selectGuildChannelWithUnread prefers lower channel.position when mention/unread scores tie; smoke test:guild-unread-position-tie. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -135,6 +135,8 @@ Primary consumer: `apps/pearcord/index.js` sidecar reading pear-pipe JSON.
|
||||
|
||||
**v0.8.115:** `loadGuild` / `_openGuild` clears stale `activeChannelId`, then `_selectGuildChannelWithUnread` picks mention-weighted unread channels before falling back to the first text channel. `setSearch` records `searchRecentByGuild` in user prefs. View: `searchRecentQueries`.
|
||||
|
||||
**v0.8.123:** Equal unread/mention scores tie-break to lower `channel.position`. Smoke: `test:guild-unread-position-tie`.
|
||||
|
||||
**v0.8.120:** `_selectGuildChannelWithUnread` scores `mentions × 1000 + unread`; mention channel beats higher plain unread. Smoke: `test:guild-mention-channel-pick`.
|
||||
|
||||
**v0.8.119:** `_selectGuildChannelWithUnread` order: highest unread/mention score → `lastChannelByGuild` → first text. Smokes: `test:guild-unread-over-last-channel`, `test:guild-unread-channel-jump`.
|
||||
|
||||
Reference in New Issue
Block a user