-
Notifications
You must be signed in to change notification settings - Fork 11
Feat/use tailwind #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
abolkog
commented
May 26, 2025
- Use tailwindcss instead of Bootstrap
- Simplify the console and remove unused components
- add share code
Update the project to use Tailwind CSS for styling instead of bootstrap.
Simply the Console component by removing the JSONView component. - Remove JSONView component - Remove unused Header component - Remove unused types
- Remove ContextMenu component and its related files - Remove ActionButton component and its related files - Remove Clickable component and its related files - Remove unused code from Console component - Remove unused code from AppContext - Remove unused code from Reducer
165141b
to
d639496
Compare
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success44 tests passing in 9 suites. Report generated by 🧪jest coverage report action from faf383b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR replaces Bootstrap with Tailwind/HeadlessUI, removes unused components (ContextMenu, Clickable, ActionButton), simplifies the Console component, and adds a ShareCode feature with URL-based code loading.
- Swap Bootstrap/CSS frameworks: integrate Tailwind, configure PostCSS, update HTML and Webpack
- Refactor UI components (App, About, Console, CodeEditor) to use Tailwind/HeadlessUI, remove legacy code
- Introduce ShareCode support and URL parameter loading; update package dependencies and README
Reviewed Changes
Copilot reviewed 65 out of 65 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
src/components/ContextMenu/* | Removed ContextMenu component and tests |
src/components/Console/* | Refactored rendering logic and styling to Tailwind; updated tests |
src/components/CodeEditor/CodeEditor.tsx | Fixed editor theme to 'vs-dark', removed dynamic theming effect |
src/components/App/App.tsx | Replaced layout with react-split/Tailwind, removed ContextMenu, added ShareCode & URL parsing |
src/components/About/* | Swapped Modal for HeadlessUI Dialog; updated JSX and tests |
public/index.html | Dropped Bootstrap/Fork Ribbon, set up Inter font and updated body classes |
postcss.config.mjs, package.json, webpack.common.js | Tailwind integration and new dependencies |
README.md | Updated sample image path and library list |
eslint.config.mjs | Added TypeScript lint rules |
Comments suppressed due to low confidence (1)
src/components/App/App.tsx:9
- No tests cover the newly added ShareCode component; consider adding unit tests to verify its rendering, URL-sharing behavior, and interactions.
import ShareCode from 'components/ShareCode';