add main appearance

This commit is contained in:
Joey Kimsey
2026-09-12 00:57:48 -04:00
parent f785af89cd
commit 17d83f7209
7 changed files with 1185 additions and 407 deletions

View File

@ -6,7 +6,7 @@ This replaces the old `TempusToolkit` Electron stub. The keepers were the login
## Run it
From this folder (Windows source checkout is fine <20> Capsule is Node, not PHP):
From this folder (Windows source checkout is fine <20> Capsule is Node, not PHP):
```bash
npm install
@ -17,7 +17,7 @@ npm run dev
## How auth works
All HTTP runs in the **main process**. The renderer never sees the token and never talks to the site directly, so TTP<54>s same-origin CORS policy does not apply.
All HTTP runs in the **main process**. The renderer never sees the token and never talks to the site directly, so TTP<54>s same-origin CORS policy does not apply.
| Action | Endpoint | Notes |
|--------|----------|-------|
@ -35,7 +35,9 @@ App-facing pairing notes live with the PHP app: `repos/ttp/docs/capsule.md`.
|------|-----|
| `src/main/` | Window, session file, TTP HTTP, IPC |
| `src/preload/` | `window.capsule` bridge |
| `src/renderer/` | Login view and connected workspace |
| `src/renderer/` | Login, TTP-styled chrome, search / notifications / messages / profile |
The logged-in header follows the public TTP shell (`text-bg-dark`, FA 6.7.1, Bootstrap 5.3). Search stays visible and centered. Account is a top-right dropdown like the site. Notifications and messages are the same bell / envelope menus. Profile edit covers User CP preferences except email, password, and phone <20> those open `{site}/usercp/<2F>`. Lists are placeholders until the API step.
## Remote