Skip to content

feat(web): open project imports from Projects settings - #41259

Open
caezium wants to merge 1 commit into
pingdotgg:mainfrom
caezium:feat/projects-import-shortcut
Open

caezium wants to merge 1 commit into
pingdotgg:mainfrom
caezium:feat/projects-import-shortcut

Conversation

@caezium

@caezium caezium commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Problem

Project-history import remains available after onboarding through Settings → About → Welcome page, but users looking for it in Projects settings cannot find an entry there.

Change

Add an Open shortcut to Projects settings. It names the target environment and opens that environment’s existing Welcome importer with the full project list expanded for review. An unavailable target does not silently switch to another computer. The existing importer continues to own scanning, selection, permissions, and importing.

Scope

Julius explicitly invited a separate, smaller direct project-settings shortcut when closing #23122. This is that focused discoverability change; #33209 already supplied the About entry.

Related open #35131 adds Import sessions to individual Environments menus. This PR adds the Projects entry and expanded review state. Both touch Welcome environment routing, so those changes may need coordination if both land.

Verification

  • vp run check:changed 0356d68835b7b579bb7151abf2f7919d9cce84f3 passed formatting, lint, affected-package typechecks, both unused-code checks, 18 tests, and React Compiler checks for all three changed components.
  • vp run i18n:check passed.
  • In T3’s native Browser panel, opened Settings → Projects → Open and confirmed that the displayed environment matched the Welcome target, both synthetic history projects appeared immediately in the expanded list, and Select all / Select none changed the selection from 0 to 2 and back to 0.
  • Opened a link for an unavailable environment and confirmed that it did not show another computer’s importer.
  • No import was executed, and a live two-machine import was not tested.

Before was captured at def64e3a54; ProjectsSettings is unchanged between that commit and this PR’s base. After and the recording were captured from this branch in isolated development state.

Before After
Projects settings without an import entry Projects settings with an environment-labelled Open shortcut

Short recording: Projects settings to expanded project review

Expanded project review

Welcome importer with both synthetic projects shown for review

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Projects settings now links to project review for the current environment. The Welcome route resolves project-review hashes against the loaded catalog and initializes the projects section in review mode. The Welcome page documentation describes the import steps.

Changes: Project review shortcut

Layer / File(s) Summary
Add project review navigation
apps/web/src/components/settings/ProjectsSettings.tsx
When an environment is available, settings displays its label and an Open link to the Welcome page with a projects: hash containing its ID.
Resolve shortcut and initialize review
apps/web/src/routes/welcome.tsx, apps/web/src/components/onboarding/WelcomePage.tsx, docs/user/welcome-page.md
The Welcome route resolves project-review hashes against the loaded catalog and passes a review flag to the page. The projects section uses that flag to initialize its review state. The documentation describes the import steps.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant ProjectsSettings
  participant User
  participant WelcomeRoute
  participant WelcomePage
  participant ProjectsSection
  ProjectsSettings->>User: Show environment-specific Open link
  User->>WelcomeRoute: Open /welcome with projects hash
  WelcomeRoute->>WelcomePage: Pass resolved environment and reviewProjects
  WelcomePage->>ProjectsSection: Pass initiallyReviewing
Loading

Suggested reviewers: maria-rcks

Merge Risk: Minimal · up to 997f8

This adds an Open shortcut in Projects settings that opens the Welcome importer for the selected environment with the project list expanded. No concrete merge-blocking risk was identified; the change is small and easy to revert.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: an Open shortcut in Projects settings that opens the environment's Welcome project importer. It follows the conventional commit format and is specific. It is a feature…
Description check Passed The description covers Problem, Change, Scope, and Verification, and each section is filled in with specifics. It names the target environment behavior, links related PRs, and gives verification steps…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: an Open shortcut in Projects settings that opens the environment's Welcome project importer. It follows the conventional commit format and is specific. It is a feature-type title, which the description template's scope note discourages, but the title itself matches the changeset.

Full details: Description check

Explanation

The description covers Problem, Change, Scope, and Verification, and each section is filled in with specifics. It names the target environment behavior, links related PRs, and gives verification steps and results, including what was not tested. Two points conflict with the template: the template says the repo accepts bug fixes rather than features, and it asks for a linked issue. The Scope section cites a maintainer invitation (#23122) and an About entry (#33209), so the request is partly covered. It does not link a bug issue, and it describes the change as discoverability, not a bug fix. The template also asks for an agent/model line if an agent was used, which is not present. The evidence table uses external image links that reviewers must open to see the UI change.

Resolution

Consider adding a short note on whether an agent did the work, since the template asks for the model and harness in that case. Consider stating that a maintainer requested this change, or linking the request explicitly, because the template says features need that justification.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1f13db5 and 997f8a7.

Files selected for processing: 4

  • apps/web/src/components/onboarding/WelcomePage.tsx
  • apps/web/src/components/settings/ProjectsSettings.tsx
  • apps/web/src/routes/welcome.tsx
  • docs/user/welcome-page.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant