feat(tray): land PR #402 session shortcuts onto current main - #636
Merged
Merged
Conversation
Every non-empty group still keeps its own three-row share, but the share smaller groups leave unused now goes to the groups that still overflow, in Running -> Unread -> Pinned order, up to nine rows in total. Seven running sessions with no unread or pinned show all seven instead of three. Overflow is measured against the share a group actually received, so View more no longer appears when every session is already listed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Keep remote-host IPC routing while refreshing the tray after local session and inbox mutations. Preserve the current app-shell layout imports and the tray preference mirror. Keep the existing Chinese E2E matrix row and add the tray navigation scenario.
Guard tray event observation so a bad payload cannot throw inside sendToRenderer. Cover unread grouping, archive exclusion, preference validation, and title truncation.
MakkaPakka12138
pushed a commit
to MakkaPakka12138/PI-Desktop
that referenced
this pull request
Sep 19, 2026
vastsa#636 subscribed to mouse-enter so a failed Host read could retry on hover. On macOS that event replaces NSStatusItem with a custom view, which hides the extra and stops the attached menu. Gate hover/right-click retry to Windows/Linux; macOS still refreshes from session and inbox events.
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
Lands PR #402 (issue #293) onto current
main.The original PR was sound but could not merge (
CONFLICTING). This branch:feat(tray): add bounded session shortcutsand the shared row-budget follow-up)sendToRendererValidation
pnpm build:js, desktop/shared/i18n typecheckindex.ts1499/1500)Native tray E2E (
E2E-TRAY-bounded-session-navigation) was not run; unit/build results do not prove OS menu behavior.Closes #402
Closes #293