Skip to content

setup: hide the restore card until rt restore exists - #414

Merged
m4ttheweric merged 1 commit into
mainfrom
hide-restore-card
Sep 24, 2026
Merged

m4ttheweric merged 1 commit into
mainfrom
hide-restore-card

Conversation

@m4ttheweric

@m4ttheweric m4ttheweric commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

The team screen's "Already have mattstack settings?" card runs rt restore <org>/<repo> at Continue. rt has no restore command (rt restore --help prints "unknown command: restore"), so picking it was a dead end.

  • Removes the card from TeamScreen. TeamChoiceModel's restore path and the card's fields stay in place for when the command exists; nothing else can preselect .restore (the model defaults to .create).
  • RT-268 tracks building restore properly (key import at Continue, clone during Install once the forge token is connected).

Verified: swift build clean. Rendered the team screen from this build in light and dark: two cards (Create, Join), nothing clipped. No test or VM driver references the restore card.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Changes
    • Removed the “Already have mattstack settings?” restore card from the team-choice screen. The create and join options remain available.

Its Continue ran rt restore, which rt does not have, so choosing it
failed with unknown command.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 56337b3b-8e23-437c-a242-e7cb5b9df9db

📥 Commits

Reviewing files that changed from the base of the PR and between 0f170a0 and 3418fcb.

📒 Files selected for processing (1)
  • rt-tray/Sources/Setup/Screens/TeamScreen.swift

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.


📝 Walkthrough

Walkthrough

The team-choice screen no longer displays the “Already have mattstack settings?” restore card. The create and join cards remain.

Changes

Team Choice Screen

Layer / File(s) Summary
Team choice options
rt-tray/Sources/Setup/Screens/TeamScreen.swift
The screen removes the restore card. The create and join cards remain.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: ⚪ Minimal · up to 3418f

Users can choose Create or Join; the unavailable restore option is hidden as intended. No concrete merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: hiding the restore card until the rt restore functionality exists.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@m4ttheweric
m4ttheweric merged commit 4716c63 into main Sep 24, 2026
6 of 7 checks passed
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