Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the React example by moving it to a Vite + TypeScript setup and implementing a DropDownBox example with search over an embedded TreeList, along with linting and test tooling.
Changes:
- Added Vite/Vitest configuration, TypeScript project references, and ESLint/Stylelint setup for the React example.
- Implemented the DropDownBox + TreeList UI (with selection reducer) and supporting data/search service utilities.
- Added a basic React Testing Library test scaffold and setup file.
Reviewed changes
Copilot reviewed 22 out of 29 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| React/vitest.config.ts | Adds Vitest configuration (jsdom, globals, setup file). |
| React/vite.config.ts | Adds Vite configuration with React plugin. |
| React/tsconfig.node.json | Adds TS config for Node-side tooling files (Vite/Vitest configs). |
| React/tsconfig.json | Adds TS solution-style project references. |
| React/tsconfig.app.json | Adds TS config for the app source (bundler mode, strict). |
| React/stylelint.config.mjs | Adds Stylelint config based on eslint-config-devextreme. |
| React/src/vite-env.d.ts | Adds Vite client type reference. |
| React/src/setupTests.ts | Adds Testing Library jest-dom setup. |
| React/src/service.ts | Adds data sources/stores and search/filter helpers for the demo. |
| React/src/main.tsx | Adds React entrypoint wiring to #root. |
| React/src/index.css | Adds base page styling. |
| React/src/components/DropDownList/selectionReducer.ts | Adds reducer for dropdown/tree selection state. |
| React/src/components/DropDownList/DropDownList.tsx | Implements DropDownBox with embedded TreeList + search behavior. |
| React/src/assets/react.svg | Adds React logo asset. |
| React/src/App.tsx | Adds main demo UI + search options controls. |
| React/src/App.test.tsx | Adds initial test scaffold (currently mismatched to UI). |
| React/src/App.css | Adds demo layout styling. |
| React/README.md | Adds React example README with build/lint instructions. |
| React/public/vite.svg | Adds Vite logo asset. |
| React/public/robots.txt | Adds robots.txt. |
| React/public/manifest.json | Adds web app manifest. |
| React/package.json | Adds React example package/scripts/dependencies. |
| React/index.html | Adds Vite HTML entry. |
| React/eslint.config.js | Adds ESLint flat config for TS/React and devextreme rules. |
| React/.gitignore | Adds React project gitignore. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
Please correct the project and update this pull request by pushing a new commit. |
|
Please correct the project and update this pull request by pushing a new commit. |
|
Please correct the project and update this pull request by pushing a new commit. |
|
Please correct the project and update this pull request by pushing a new commit. |
|
Please correct the project and update this pull request by pushing a new commit. |
No description provided.