Skip to content

Fix project session focus restoration - #5708

Merged
georgi merged 4 commits into
mainfrom
claude/t-20260910-0004
Sep 11, 2026
Merged

Fix project session focus restoration#5708
georgi merged 4 commits into
mainfrom
claude/t-20260910-0004

Conversation

@georgi

@georgi georgi commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Fixes project session focus restoration and persistence migration.

The workspace tab store now preserves an already-active tab when selecting a project without a saved session, so closing that tab follows the rendered neighbor and does not jump to the first project tab. Persisted session migration now returns a complete state shape, and the project starter fixture includes the required Personal flag.

Main changes:

  • web/src/stores/WorkspaceTabsStore.ts: preserve in-project active tab selection and make session migration type-safe.
  • web/src/components/projects/tests/projectStarters.test.ts: update the project detail fixture.

Verification:

  • Focused WorkspaceTabsStore Jest suite: 47 passed.
  • npm run lint: passed with existing warnings.
  • npm run build:packages: passed.
  • Root typecheck with 8GB heap: web and Electron passed, mobile blocked by missing Expo/React Native dependencies.
  • npm run test:affected: started the full web dependency suite and was stopped after unrelated pre-existing UI test failures/timeouts.
  • harness gate: blocked because this checkout has no merge base for origin/main.

@georgi
georgi enabled auto-merge (squash) September 10, 2026 07:59
@georgi georgi changed the title [T-20260910-0004] T4 — Persist separate project sessions Fix project session focus restoration Sep 11, 2026
@georgi
georgi merged commit 06c2594 into main Sep 11, 2026
22 checks passed
@georgi
georgi deleted the claude/t-20260910-0004 branch September 11, 2026 01:05
georgi added a commit that referenced this pull request Sep 11, 2026
* [T-20260910-0003] Bind execution to originating project

* Fix workflow chat project scope lookup

* Bind media and imports to originating project

* docs(marketing): rename category to Agent-First Creative Workspace (#5711)

* docs(marketing): rename category to Agent-First Creative Workspace

Replace "Creative AI Workspace" wording across marketing pages, docs
pages, and READMEs with "Agent-First Creative Workspace", regenerating
the derived public/llms.txt and public/index.md from the updated
generator script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WCzsABL9a7Ztit2E4o8FAB

* docs: fix broken source links in project-scoping PRD

HTML-Proofer resolves these against the built Jekyll site, not the
repo tree, so relative paths into web/src and packages/models 404.
Match the doc's own GitHub-blob-URL convention used elsewhere.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WCzsABL9a7Ztit2E4o8FAB

---------

Co-authored-by: Claude <noreply@anthropic.com>

* Fix reference-to-video review findings (#5710)

* fix(storyboard): widen the board cast to its shots' entities on load (#5712)

* feat(chat): add reference-to-video mode and agent capability (#5713)

* fix(compute): honor the full WorkerSpec in the Vast.ai provider (#5714)

* fix(release): bump electron-builder to 26.16.1

The macOS release job has failed on every run since 2026-09-06 in
"Build Electron (macOS/Linux)":

  security set-key-partition-list ... -k *** <tmp>.keychain
  security: SecKeychainUnlock: The user name or passphrase you entered
  is not correct.

electron-builder creates its own temp keychain with a random password,
imports the p12, then passed the *p12* password to
set-key-partition-list instead of the keychain's own unlock password.
That mismatch was tolerated by macOS 26.5.2 (runner image 20260728) and
is rejected by 26.6.2 (image 20260831) — the last green mac build ran on
the older image, and nothing in this repo changed.

26.16.1 fixes it upstream ("use keychain password for
set-key-partition-list"); no other version in the 26.15.x line carries
the fix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MuPJ6656wv9MxF6UZGteg3

* docs: refresh project resource inventory (#5717)

Co-authored-by: Sprite <noreply@sprites.dev>

* [T-20260910-0002] Expose project ownership on legacy resource APIs (#5718)

* feat: expose project ownership on legacy resource APIs

* fix: declare workspace project ownership input

* fix: satisfy workspace payload lint rule

---------

Co-authored-by: Sprite <noreply@sprites.dev>

* Fix project session focus restoration (#5708)

* Persist separate project workspace sessions

* Fix workspace tab test isolation

* Fix active tab focus after project tab closes

* Fix project session focus restoration

---------

Co-authored-by: Sprite <noreply@sprites.dev>

* Fix project-scoped chat media execution

* [T-20260910-0003] Bind execution to originating project

* Fix workflow chat project scope lookup

* Bind media and imports to originating project

* Fix project-scoped chat media execution

* fix: remove duplicate project scope declarations

* fix: preserve omitted workflow project scope on update

* test: cover project-scoped workflow creation

* fix: skip database lookup for inline workflow runs

---------

Co-authored-by: Sprite <noreply@sprites.dev>
Co-authored-by: Claude <noreply@anthropic.com>
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