Skip to content

feat(website): live Portato mocks, Control Panel tour, /download route with D1 count - #461

Merged
Brooooooklyn merged 4 commits into
mainfrom
website/portato-live-mocks-download
Dec 1, 2026
Merged

Brooooooklyn merged 4 commits into
mainfrom
website/portato-live-mocks-download

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Live at https://portato.void.app (deployed from this tree).

Site

Where Before After
Landing hero Python code chat PDF card-statement chat + mesh backdrop
Landing chat card merge_intervals code block letter-photo turn (app's chat thread)
/portato hero Python code chat Qwen3.8-27B reads a photo of a made-up Japanese tax letter
Photo tile static picture the app's ImageTiles: hover card, viewer, Copy (small island)
Work example + Session tab old mock real woff-build PR #91 session, speeds scaled per #456
Control Panel screenshot gallery 7-view tour of the app's components with generated mock data (/panel-frame)
/portato header mlx-node mark Portato icon
  • Removed: the Python conversation, CodeBlock, the code-highlighting build, @shikijs/*, the screenshot gallery and its shots.
  • Default SITE_URL is now https://portato.void.app (vite.config.ts, void.config.ts, check-site.mjs).
  • README line 42 and ChatWork.tsx: "A file edit is shown as a diff, and each command shows its output."

/download

GET /download ─► OS: Sec-CH-UA-Platform, else User-Agent; arch: Sec-CH-UA-Arch / Linux UA
   ├─ mac → Portato-<v>-arm64.dmg
   ├─ windows → Portato-<v>-win32-arm64-setup.exe
   ├─ linux arm64 → Portato-<v>-linux-arm64.deb
   └─ x86 / phone / bot / failure → releases/latest
release list: GitHub API (optional GITHUB_TOKEN secret, cached 10 min)
   └─ API fails → tag from the releases/latest redirect, names as release-version.ts builds them
each GET → one D1 row in `downloads` (at, os, tag, target); no IP, no user agent
  • Every "Download" button points at /download; on Windows/Linux the label reads "Download for Windows/Linux".
  • The site is now a hybrid Void deploy: every request goes through the Worker (pages are the same prerendered files).
  • Read the count: cd website && CI=1 void db execute --remote --yes "select os, tag, count(*) from downloads where target = 'file' group by os, tag".

Also in this PR

Checks

tsc, vp run build, check-portato-mock, check-numbers, check-site, check-samples, vp fmt --check on changed files: pass. Route tested in vp preview and live (API blocked → fallback still gives the file; HEAD not counted).

🤖 Generated with Claude Code

…e with D1 count

- Landing hero: the PDF card-statement chat; hero mesh backdrop; Portato brand in the /portato header.
- /portato hero and the landing chat card: a recorded Qwen3.8-27B reply to a photo of a made-up letter. The photo tile is the app's own ImageTiles with its hover card and viewer.
- Work example and Session tab: the real woff-build PR #91 session, speeds scaled to the engine of PR #456 (captions say so).
- Control Panel: a 7-view tour of the app's own components with generated mock data (/panel-frame), replacing the screenshot gallery.
- Python example, code-highlighting build and @shikijs deps removed.
- /download: 302 to the latest arm64 DMG, .exe or .deb by OS (client hints, then user agent); x86, phones and bots get the releases page. Release list from the GitHub API (optional GITHUB_TOKEN secret), with the releases/latest redirect as fallback. Each GET logs one row (time, os, tag, target; no IP or user agent) in D1.
- Default SITE_URL is https://portato.void.app.
- README: Work line says file edits show a diff and commands show their output.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ded46122-a843-4b01-8623-39a9cbb848da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T12:36:04.955479Z 175248b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Brooooooklyn and others added 3 commits December 1, 2026 20:46
The site joins the root workspaces and website/yarn.lock is gone; the root
yarn.lock now holds its packages. `installConfig.hoistingLimits: workspaces`
keeps them in website/node_modules, so the site keeps its own React, types,
typescript and tailwindcss copies and the root node_modules layout barely moves.
Every pre-existing root lock entry keeps its resolution.

website.yml runs one root `yarn install --immutable`; its postinstall runs
`void prepare`. Also fixes the site's tsc error in record-portato-run.ts:
the Workers types make `process` `any`, so `process.exit` was not `never`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st initializers

#458 and #460 each added a struct field; a test written against the other
branch kept the old field list, so main stopped compiling the mlx-core lib
tests and the qwen35_cuda_prefill_bench integration test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Brooooooklyn
Brooooooklyn merged commit 1d2d1f0 into main Dec 1, 2026
12 checks passed
@Brooooooklyn
Brooooooklyn deleted the website/portato-live-mocks-download branch December 1, 2026 12:57
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