Skip to content

reorg client demo#4

Merged
amerani merged 1 commit into
mainfrom
reorg
Apr 12, 2026
Merged

reorg client demo#4
amerani merged 1 commit into
mainfrom
reorg

Conversation

@amerani
Copy link
Copy Markdown
Owner

@amerani amerani commented Apr 12, 2026

No description provided.

@amerani amerani merged commit 7095a22 into main Apr 12, 2026
1 check passed
@amerani amerani requested a review from Copilot April 23, 2026 05:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reorganizes the project demo by moving the client UI into a dedicated demo/client Vite app and updating root scripts/docs to run the demo from the repo root.

Changes:

  • Replace the previous root-level demo entry files (index.tsx, index.html, index.css) with a new Vite-powered demo client under demo/client.
  • Add root npm scripts to install/run/verify the demo (server + client) in parallel.
  • Update README with local demo run instructions and regenerate lockfiles accordingly.

Reviewed changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Updates dev/demo scripts to support running demo/server and demo/client workflows.
package-lock.json Reflects dependency/script changes (notably removing nodemon) and a regenerated lockfile.
index.tsx Removes the old root-level demo React entrypoint.
index.html Removes the old root-level demo HTML entrypoint.
index.css Removes the old root-level demo stylesheet.
demo/client/vite.config.ts Adds Vite config for the new demo client app.
demo/client/tsconfig.node.json Adds TS config for Vite config tooling in the demo client.
demo/client/tsconfig.json Adds strict TS config for the demo client source.
demo/client/src/main.tsx Adds the new demo client React entrypoint using react-text-stream.
demo/client/src/index.css Adds the demo client styling.
demo/client/package.json Defines the demo client package and links the library via file:../...
demo/client/package-lock.json Adds lockfile for demo client dependencies.
demo/client/index.html Adds demo client HTML entrypoint.
README.md Documents how to run the demo locally and available demo scripts.
Files not reviewed (1)
  • demo/client/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread demo/client/index.html
Comment on lines +1 to +4
<html>
<head>
<title>React Event Stream</title>
</head>
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.html is missing a <!doctype html> declaration. Without it, the page can render in quirks mode, which can cause inconsistent layout/styling across browsers. Add <!doctype html> at the top of the document (and consider adding a charset meta tag as well).

Copilot uses AI. Check for mistakes.
Comment thread demo/client/src/index.css
color: lightblue;
border: 1px solid white;
padding: 10px;
box-shadow: lightblue;
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

box-shadow: lightblue; is not valid CSS for box-shadow (it requires offsets/blur/spread). As written, it will be ignored by browsers. Replace it with a valid box-shadow value or remove the property.

Suggested change
box-shadow: lightblue;
box-shadow: 0 0 4px lightblue;

Copilot uses AI. Check for mistakes.
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.

2 participants