Skip to content

Conversation

@minggangw
Copy link
Member

@minggangw minggangw commented Jan 20, 2026

This pull request adds Electron version display to demo applications and updates Electron from version 31.x to 40.0.0. It also fixes timer parameter types in the turtle_tf2 demo by converting numeric literals to BigInt.

Changes:

  • Updated the test command to include Electron tests via test/electron/run_test.js
  • Bumped Electron version from ^31.x to ^40.0.0 across all demo package.json files
  • Added Electron version display overlays to all demo renderer files
  • Fixed timer periods in turtle_tf2/main.js to use BigInt literals (100n, 1000n)

Fix: #1378

Copilot AI review requested due to automatic review settings January 20, 2026 02:42
Copy link

Copilot AI left a 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 pull request adds Electron version display to demo applications and updates Electron from version 31.x to 40.0.0. It also fixes timer parameter types in the turtle_tf2 demo by converting numeric literals to BigInt.

Changes:

  • Updated the test command to include Electron tests via test/electron/run_test.js
  • Bumped Electron version from ^31.x to ^40.0.0 across all demo package.json files
  • Added Electron version display overlays to all demo renderer files
  • Fixed timer periods in turtle_tf2/main.js to use BigInt literals (100n, 1000n)

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
package.json Added Electron installation and test execution to the main test script
electron_demo/turtle_tf2/renderer.js Added process import and Electron version display overlay
electron_demo/turtle_tf2/package.json Bumped Electron version from ^31.7.7 to ^40.0.0
electron_demo/turtle_tf2/main.js Fixed timer periods to use BigInt literals (100n, 1000n) as required by createTimer API
electron_demo/topics/renderer.js Added Electron version display (missing process import)
electron_demo/topics/package.json Bumped Electron version from ^31.0.0 to ^40.0.0
electron_demo/manipulator/renderer.js Added process import and dual version displays (floating overlay + HTML elements)
electron_demo/manipulator/package.json Bumped Electron version from ^31.7.7 to ^40.0.0
electron_demo/manipulator/index.html Added HTML elements for displaying Node.js, Chromium, and Electron versions
electron_demo/car/renderer.js Added Electron version display (missing process import)
electron_demo/car/package.json Bumped Electron version from ^31.0.0 to ^40.0.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coveralls
Copy link

coveralls commented Jan 20, 2026

Coverage Status

coverage: 85.585% (+0.02%) from 85.565%
when pulling c74b595 on minggangw:fix-1378
into 1fb7276 on RobotWebTools:develop.

@minggangw minggangw merged commit 486f9a4 into RobotWebTools:develop Jan 20, 2026
15 checks passed
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.

Add basci test for Electron and pump Electron for demos

2 participants