fix(app): keep home sessions without opened projects - #40567
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, I found two potentially related PRs:
These PRs deal with similar concerns about resolving sessions to projects when no local project records exist. However, they appear to be addressing different aspects of the same problem area. You may want to review these PRs to ensure there's no overlapping functionality or to verify if PR #40567 supersedes or complements them. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Summary
Refs #27837
Test Plan
bun test --conditions=solid --preload ./happydom.ts ./src/pages/home/home-sessions-controller.test.ts --test-name-pattern "keeps sessions when no projects have been opened locally"bun test --conditions=solid --preload ./happydom.ts ./src/pages/home/home-sessions-controller.test.tsbun run lint packages/app/src/pages/home/home-session-records.ts packages/app/src/pages/home/home-sessions-controller.tsx packages/app/src/pages/home/home-sessions-controller.test.tsgit diff --checkNote:
packages/apptypecheck currently fails on the existingsrc/custom-elements.d.tsplaceholder (../../ui/src/custom-elements.d.ts), with no diff to that file in this branch.