Skip to content

Conversation

@JakubAndrysek
Copy link

This pull request introduces a major refactor, migrating the project from a plain HTML/JS prototype to a modern React + TypeScript + Vite setup with improved tooling, testing, and deployment. The old direct DOM/JS implementation and custom scripts are removed in favor of a scalable, maintainable structure using current frontend best practices. Automated CI/CD and Playwright testing workflows are also added.

…lation

- Added Tailwind CSS for styling and removed existing CSS files.
- Configured Tailwind CSS in `tailwind.config.js`.
- Updated `vite.config.ts` to include Tailwind CSS plugin.
- Implemented Wokwi CLI for real-time ESP32 simulation in `App.tsx`.
- Removed unused assets and styles from `App.css`.
- Enhanced UI with responsive design and serial monitor output display.
- Updated dependencies in `package.json` and `pnpm-lock.yaml` for Tailwind CSS and Wokwi CLI.
- Changed the pnpm workspace configuration to point to the wokwi-client-js package.
- Updated imports in App.tsx to use APIClient and types from wokwi-client-js.
- Added auto-scrolling functionality for the serial monitor output.
- Modified iframe source for embedding Wokwi diagrams and adjusted its properties.
- Refactored the serial monitor output container to use a ref for scrolling.
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