Repository navigation
fix(web): keep phone navigation and stop empty-conversation scans - #138
Merged
Merged
Conversation
… summary Inbound hooks now accept generic monitoring payloads (service/state/ latency_ms/level/env/release/url/fields/at) on any channel with intake_mode "ops". Payload lands in the new messages.meta jsonb column (capped at 8 KiB); tags stay for filtering. - GET /api/conversations/:id/ops: service board (worst-first), dense 30-day worst-state strip, kind counts, last event. Only health-readings (status/uptime/health/probe/heartbeat/monitor or kindless) feed the board — deploy/error/log kinds get cards and counts but never overwrite service state. - Web: OpsBar (board + strip) atop ops channels, OpsCard meta renderer distinct from chat rows, "ops" intake toggle + intake guide wiring. - MCP: meta on message payloads, meta arg on send_message, new ops_summary tool — all still gated by agents_blocked. - OpenAPI + generated client regenerated. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…xhausted)" This reverts commit 8b9e492.
/api/events retried with exponential backoff forever on the login screen — a 401 is permanent until the session changes, so the loop only produced noise. Now, when no token is present, a failed stream triggers one probe of /api/auth/session: 401 blocks further reconnects until the next subscribe (post-login remount), while a probe failure keeps the normal backoff for genuine network blips. Watchdog and visibility handlers skip the blocked state. stores/unread: two module-scope createMemo + one createEffect had no owner, so dev mode warned "computations created outside createRoot". Wrapped in detached roots — the store is app-lifetime by design. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The left rail hid itself inside channels and threads, and light mode on a phone was near-white. Phones now keep a 56px icon rail on every project, channel, and thread; the full list opens as a drawer. Threads cover only the conversation column. Swipe right replies, swipe left opens a thread, and swipe right on the thread closes it. Phone light mode uses a warm gray. Local mode listed a new project twice and threw when the rail asked for channels. Creating a project replaces by id, channels can be created and deleted offline, and unknown local calls say they need a server instead of throwing. CLI --help no longer prints a live token. Authored By: TDvorak <info@tdvorak.dev>
Bring the branch up to date so the phone nav work and the last_body scan fix ship in one pull request. Authored By: TDvorak <info@tdvorak.dev>
Desktop was on labstack/echo v4.15.3, which Trivy flags as a critical WebSocket upgrade bypass fixed in v4.16.1. The web app locked DOMPurify 3.4.16; 3.4.17 closes the template-bypass advisory. Main's security job is already red on both, so this pull request would not go green without the bumps. Authored By: TDvorak <info@tdvorak.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 5, 2026
…p in apps/desktop go.mod/go.sum
Mira PR WalkthroughThis PR implements phone navigation improvements (persistent 56px icon rail, drawer navigation, swipe gestures for thread actions), enhances local mode with offline project/channel management, fixes a 401 reconnect loop on /api/events, and resolves a NULL scan crash in list_conversations by coalescing last_body/last_author. It also upgrades Echo to v4.16.1 and DOMPurify to 3.4.17 to clear security advisories. Backend SQL changes support the conversation query fix.
16 files reviewed
|
3 of 4 tasks
This branch was successfully deployed
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
Phones keep a 56px icon rail on every project, channel, and thread. The full list opens as a drawer, threads cover only the conversation column, and swipe right replies, swipe left opens a thread, swipe right on the thread closes it. Phone light mode uses a warm gray so the screen is not near-white.
Local mode lists a new project once and can create and delete channels offline. A 401 on
/api/eventsstops the login-screen reconnect loop.list_conversationscoalesceslast_bodyandlast_author, so an empty conversation no longer crashes withcan't scan NULL into *string.Echo v4.16.1 and DOMPurify 3.4.17 clear the high and critical advisories that already fail the security job on main.
Test plan
go test ./...withRELAY_TEST_DATABASE_URL(e2e Postgres) — pass, server package actually rannpm test --prefix apps/web— 46 passedtsc --noEmitandnpm run build --prefix apps/webgo vet ./...,go build ./...,golangci-lint run— 0 issuesgo test -tags webkit2_41 ./...inapps/desktopafter the Echo bumptrivy fs --severity CRITICAL,HIGH— clean with the current DBChecklist
last_body/last_authorare""instead of a scan error. OpenAPI unchanged.