Skip to content

Update the React example#7

Merged
16adianay merged 6 commits into
25.2.6+from
React
May 19, 2026
Merged

Update the React example#7
16adianay merged 6 commits into
25.2.6+from
React

Conversation

@16adianay

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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.

Comment thread React/src/App.test.tsx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@DevExpressExampleBot

Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

Non-zero exit code when running test file

https://codecentralfarm.devexpress.devx/job/devextreme-dropdownbox-implement-search-for-treelist_25.2.6+/28/console

@DevExpressExampleBot

Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

Non-zero exit code when running test file

https://codecentralfarm.devexpress.devx/job/devextreme-dropdownbox-implement-search-for-treelist_25.2.6+/30/console

@DevExpressExampleBot

Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

Non-zero exit code when running test file

https://codecentralfarm.devexpress.devx/job/devextreme-dropdownbox-implement-search-for-treelist_25.2.6+/31/console

@DevExpressExampleBot

Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

Non-zero exit code when running test file

https://codecentralfarm.devexpress.devx/job/devextreme-dropdownbox-implement-search-for-treelist_25.2.6+/32/console

@DevExpressExampleBot

Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

Non-zero exit code when running test file

https://codecentralfarm.devexpress.devx/job/devextreme-dropdownbox-implement-search-for-treelist_25.2.6+/33/console

@16adianay 16adianay merged commit 678a452 into 25.2.6+ May 19, 2026
5 of 7 checks passed
@16adianay 16adianay deleted the React branch May 19, 2026 08:22
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