Skip to content

feat(web): cloud session viewer alignment for browser - #850

Draft
beruro wants to merge 7 commits into
developfrom
web/cloud-viewer-alignment
Draft

feat(web): cloud session viewer alignment for browser#850
beruro wants to merge 7 commits into
developfrom
web/cloud-viewer-alignment

Conversation

@beruro

@beruro beruro commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Problem

The ORGII desktop app already supports cloud org sessions in the workstation sidebar and read-only remote viewing, but there was no dedicated browser entry to sign in, list My/Team cloud sessions, and open a session with the same transcript and simulator chrome users expect on desktop.

Solution

Add a webpack-backed web shell with Org2Cloud auth, cloud session roster and event runtime over the unified HTTP session API, sidebar alignment with desktop cloud scopes, session page composition via shared RemoteSession surfaces, and replay decoupling so read-only cloud viewing stays responsive. Ship matching i18n strings and CI translation contract checks.

Potential risks

  • Cloud session pagination and scoped menu rules may still diverge from desktop edge cases not covered by unit tests.
  • Read-only replay and simulator paths share large workstation components; regressions in desktop remote viewing are possible despite targeted decoupling.
  • i18n contract scripts are new in CI and may surface latent missing keys in unrelated locales on develop.
  • Remaining unstaged workspace changes (Rust agent-core, unrelated UI refactors) are intentionally excluded from this PR.

Verification

  • pnpm exec vitest run src/web --passWithNoTests — 9 files, 30 tests passed (~33s)
  • Pre-commit hooks on each commit: lint-staged eslint/prettier and scoped TypeScript check passed for staged files
  • NOT RUN: full pnpm test, pnpm typecheck, pnpm build:web (recommend before marking PR ready)

beruro added 7 commits August 21, 2026 00:16
Separate build:web and dev:web targets let the cloud viewer run in the browser without the Tauri shell, with dedicated HTML entry and auth callback pages.

Pre-commit hook ran. Total eslint: 0, total circular: 0
Extract SessionTranscriptPlatform so ChatHistory and workstation shells share one read-only cloud viewer path, with RemoteSession chat and simulator workspace wrappers for browser deployment.

Pre-commit hook ran. Total eslint: 180, total circular: 0
Load roster and transcript segments over the unified session HTTP client with merge-aware event caching so the browser viewer stays consistent with live cloud updates.

Pre-commit hook ran. Total eslint: 180, total circular: 0
Reuse workstation cloud session pagination and scoped menu rules in the web shell sidebar so personal and org session lists match desktop navigation behavior.

Pre-commit hook ran. Total eslint: 180, total circular: 0
Compose the cloud session page from shared workstation surfaces with header view controls, notes entry, and Org2Cloud auth hooks tuned for browser sign-in.

Pre-commit hook ran. Total eslint: 180, total circular: 0
Stop replay subscriptions from fighting the read-only cloud transcript path and slim simulator status and loading surfaces so remote session viewing stays responsive in the browser.

Pre-commit hook ran. Total eslint: 180, total circular: 0
Extend navigation and session strings for the browser viewer and gate regressions with callsite and resource quality scripts wired into CI.

Pre-commit hook ran. Total eslint: 180, total circular: 0
@beruro
beruro force-pushed the web/cloud-viewer-alignment branch from a1814bd to 4c71240 Compare August 20, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant