Skip to content

build(hub): set up the new TypeScript app - #104

Merged
nshki merged 4 commits into
copilot/hub-new-conventionsfrom
copilot/hub-new-baseline
Oct 23, 2026
Merged

nshki merged 4 commits into
copilot/hub-new-conventionsfrom
copilot/hub-new-baseline

Conversation

Copilot AI commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Why

Give the team a clean starting point for rebuilding Hub without porting product features yet. This follows #102 in the stack for #101. The stack builds on build/hub/new, not main.

What changes

Replace Rails and Superglue with a TypeScript Express API and React + Vite app. The API has a health endpoint; the frontend shows the existing logo and theme. Database, sign-in, and deployment choices remain open.

Keep the frontend components, styles, Storybook examples, and shared canvas and Controls code for reuse. Remove the old backend, database files, deployment setup, and live-update connection. The canvas keeps its periodic refresh. Keep the presentation stories, move template examples out of database seeds, and remove the deleted view from the component-usage example.

Rewrite shared Ruby checks in TypeScript with function directories and colocated Vitest tests. Update CI, local commands, and documentation for the new setup.

Co-authored-by: Nishiki Liu <hello@nshki.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI added this pull request to stack #105 October 23, 2026 19:22
Move workflow and dependency checks into function directories with colocated Vitest coverage. Update CI entrypoints and contributor commands, and typecheck the repository tooling.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI marked this pull request as ready for review October 23, 2026 19:51
Copilot AI max review requested due to automatic review settings October 23, 2026 19:51
Copilot AI requested review from a team and nshki as code owners October 23, 2026 19:51

This comment was marked as duplicate.

Copilot AI added 2 commits October 23, 2026 20:07
Omit explicit index paths where Vite and Vitest resolve directories. Preserve required native Node file paths for the API, CLI scripts, and Storybook configuration, and document the exception.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the release published on October 9, 2026, which meets the seven-day dependency policy. Keep the current health and JSON not-found API behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nshki
nshki merged commit f3a14f7 into build/hub/new Oct 23, 2026
23 checks passed
@nshki
nshki deleted the copilot/hub-new-baseline branch October 23, 2026 20:44
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.

5 participants