aglinxinyuan opened a new pull request, #9472:
URL: https://github.com/apache/texera/pull/9472

   ### What changes were proposed in this PR?
   
   Add React and TSX support to the existing Angular frontend toolchain. A 
Chromium test mounts a React counter inside an Angular component, clicks it, 
and checks that destroying the Angular host unmounts React.
   
   This verifies the first step of the component migration proposed in [the 
framework discussion](https://github.com/apache/texera/discussions/9387). The 
React component and host are test fixtures.
   
   ### Any related issues, documentation, discussions?
   
   Closes #9470.
   
   ### How was this PR tested?
   
   From `frontend/`:
   
   ```sh
   node .yarn/releases/yarn-4.14.1.cjs install --immutable --inline-builds
   node .yarn/releases/yarn-4.14.1.cjs format:ci
   node .yarn/releases/yarn-4.14.1.cjs ng run gui:test-browser
   node .yarn/releases/yarn-4.14.1.cjs build
   ```
   
   The new browser test failed before React and JSX support were added. All 24 
Chromium tests passed with the change. For local testing, I copied the 
checked-in `jschardet` stub into `node_modules` after reproducing the Windows 
junction failure on a clean checkout of `main`.
   
   From the repository root:
   
   ```sh
   python -X utf8 bin/licensing/check_binary_deps.py 
--ignore-transitive-version npm frontend/dist/3rdpartylicenses.json
   ```
   
   The normal build produced `dist/index.html` and passed the binary license 
audit. A temporary production entry point imported the normal app and the React 
fixture. Chromium rendered the optimized fixture and updated the counter using 
Enter. The temporary build's license report listed React, React DOM, and 
Scheduler as MIT.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-6)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to