fix(electrobun): wizard creation flow + GitLab probe + shell detection + dropdown flip

- Git probe tries GitHub then GitLab for owner/repo shorthand
- Shows "Found on GitHub/GitLab" with platform indicator
- system.shells RPC detects installed shells (bash/zsh/fish/sh/dash)
- CustomDropdown flip logic uses 200px threshold for flip-up
- Project creation properly persists all wizard fields + adds card
This commit is contained in:
Hibryda 2026-03-23 15:34:57 +01:00
parent 021feba3ed
commit e61473b025
7 changed files with 112 additions and 21 deletions

View file

@ -248,6 +248,12 @@ export type PtyRPCRequests = {
response: { installed: boolean; path: string | null };
};
/** Detect available shells on this system. */
"system.shells": {
params: Record<string, never>;
response: { shells: Array<{ path: string; name: string }> };
};
// ── Project templates RPC ───────────────────────────────────────────────────
/** Return available project templates. Optionally pass custom template dir. */