mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-11-21 08:17:54 +00:00
* Fix #347: Client-subject notification copy + deep-link taps + Manage action Rewrite per-tool-call and session-summary notification copy per the locked #342 design, wire up notification tap deep-links, and add a Manage action button. Per-tool-call notifications now read "${clientLabel} used ${humanized(toolName)}" with the integration display name as body and the call timestamp rendered natively via setWhen(). Session-summary notifications partition by client label and emit one notification per client titled "${clientLabel} used ${count} ${tool|tools}" with up to 3 unique humanized tool names in the body (Oxford comma, "and N more" past the cap). Tap deep-links route to the audit-history screen — scrolled to the specific call (per-tool-call) or filtered to the session time window (summary) — and a single Manage action button points at the integration manage page (or home, when a summary's calls span multiple integrations). Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com> * Update integration tests for per-client summary notification ids #347 changed SessionSummaryNotifier from a single-id summary to one notification per client, keyed by the clientLabel hash. The existing :app:integrationTest fixtures still asserted against the legacy SessionSummaryNotifier.NOTIFICATION_ID constant, so they failed in CI. Updated each affected test to compute the expected id via SessionSummaryNotifier.idForClient(<clientLabel>) and dropped the now-unused NOTIFICATION_ID companion constant. The InMemoryTokenStore resolves clientName=null to the clientId, so for tests that pass clientName=null the expected label is their clientId string (e.g. "race-test", "multi-test", "runtime-mode-switch"). ToolCallHappyPathTest passes clientName = "Test Client" explicitly. Also retargeted the MultiToolSessionTest title-string assertion from the old "{count} calls across {N} integrations" copy to the new "{clientLabel} used {count} tools" title shape. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com> * Move summary notification id bucket below per-call range The previous summary id bucket (6000..15999) overlapped with PerToolCallNotifier.BASE_ID = 7000, so any clientLabel whose hash .mod(10000) landed in 1000..9999 produced an id that collided with per-call notifications. RuntimeNotificationModeSwitchTest failed in CI because its clientLabel "runtime-mode-switch" hashes to idForClient(...) = 7465, which the test's "id >= PerToolCallNotifier.BASE_ID" probe flagged as a per-call notification during phase 1 (SUMMARY mode). Narrow the bucket to 4000..4999 so summary ids stay clear of the per-call range. Collisions inside the 1000-entry bucket remain acceptable for the expected <100-clients-on-a-device cardinality. Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 01_foreground_connecting_dark.png | ||
| 01_foreground_connecting_light.png | ||
| 02_foreground_connected_dark.png | ||
| 02_foreground_connected_light.png | ||
| 03_foreground_active_session_dark.png | ||
| 03_foreground_active_session_light.png | ||
| 04_foreground_disconnecting_dark.png | ||
| 04_foreground_disconnecting_light.png | ||
| 05_foreground_disconnected_dark.png | ||
| 05_foreground_disconnected_light.png | ||
| 06_auth_request_dark.png | ||
| 06_auth_request_light.png | ||
| 07_per_tool_call_dark.png | ||
| 07_per_tool_call_light.png | ||
| 07a_per_tool_call_long_name_dark.png | ||
| 07a_per_tool_call_long_name_light.png | ||
| 07b_per_tool_call_other_integration_dark.png | ||
| 07b_per_tool_call_other_integration_light.png | ||
| 08_session_summary_dark.png | ||
| 08_session_summary_light.png | ||
| 08a_session_summary_single_call_dark.png | ||
| 08a_session_summary_single_call_light.png | ||
| 08b_session_summary_single_integration_dark.png | ||
| 08b_session_summary_single_integration_light.png | ||
| 09_launch_app_dark.png | ||
| 09_launch_app_light.png | ||
| 10_launch_open_link_dark.png | ||
| 10_launch_open_link_light.png | ||
| 10a_launch_open_link_long_dark.png | ||
| 10a_launch_open_link_long_light.png | ||
| 11_fgs_limit_dark.png | ||
| 11_fgs_limit_light.png | ||
| 12_security_self_cert_dark.png | ||
| 12_security_self_cert_light.png | ||
| 13_security_ct_log_dark.png | ||
| 13_security_ct_log_light.png | ||
| 13a_security_ct_log_multi_issuer_dark.png | ||
| 13a_security_ct_log_multi_issuer_light.png | ||
| 13b_security_ct_log_warning_dark.png | ||
| 13b_security_ct_log_warning_light.png | ||