Skip to content

feat(console): Magpie-style add-account tiles + CaiAI empty soft link - #411

Merged
caigee-cmd merged 8 commits into
mainfrom
feat/add-account-magpie-tiles
Oct 27, 2026
Merged

caigee-cmd merged 8 commits into
mainfrom
feat/add-account-magpie-tiles

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Add-account step 1 is now a Magpie-inspired grouped tile wall over real login sources only (Subscriptions: Qoder / WorkBuddy / Trae; Experimental: Devin, Command, Codex, Zhipu, QwenWork, Kimi, and any future descriptor not in the stable set).
  • Login / import flow after selecting a tile is unchanged.
  • Empty Accounts shows a skippable CaiAI soft link (Prefer hosted? Try CaiAI / 不想自托管?用托管 Gateway → CaiAI → https://caiaiu.com/register?aff=cli2api). Access shows the same line when there are no accounts. Not a fake provider tile or modal.
  • Reuses HeroUI, existing SearchBar / ProviderMark / surface tokens (solid-glass rim already in index.css). No new design system, no CaiAI provider card, no fade-in on the tile wall.

Test plan

  • Open Add account → see Subscriptions + Experimental sections with logos; search filters tiles
  • Click a stable tile (e.g. Qoder Global) → login/import wizard still works; Back returns to tile wall
  • Click an experimental tile (e.g. Devin / Zhipu) → existing auth path still works
  • Accounts with zero accounts: soft link visible under empty panel; with accounts: soft link gone
  • Access with zero accounts: soft link under the empty notice
  • cd frontend && npm run sync already run; frontend build passes
  • Do not merge / release / deploy from this PR unless explicitly asked

Replace the flat account-type OptionTiles step with a grouped provider
tile wall (Subscriptions / Experimental) using existing HeroUI + solid-
glass surface tokens. Empty Accounts and Access states get a skippable
CaiAI hosted soft link without inventing a fake provider card.
Widen picker step toward Magpie spacing; keep login width and softlink.
#411 consensus: softlink must stay register affiliate URL, not homepage.
Revert mistaken CAIAI_HOME_URL change from 19995b5; leave modal layout intact.
Align TSX with embedded static (already register?aff=cli2api after 8cbb56d).
#411 softlink must stay affiliate register URL, not homepage.
Picker step sm:max-w-6xl (not full-bleed); looser tile grid/padding;
Tailwind hover/press. Align softlink source to register?aff for sync.
Centered modal sm:max-w-6xl (not full-bleed); 4-col xl grid; tile padding;
Tailwind hover/press. Softlink unchanged.
HeroUI size=lg pins modal__dialog to max-w-lg (32rem), so Container
sm:max-w-6xl never widened the white card. Override Dialog like LogsPage
(w-full max-w-6xl method / max-w-5xl login). Drop xl:grid-cols-4 until
container queries exist so tiles stay readable at 1/2/3 cols.
@caigee-cmd
caigee-cmd merged commit 0c4eaff into main Oct 27, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the feat/add-account-magpie-tiles branch October 27, 2026 19:39
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