Skip to content

Repository files navigation

GacJS

Read the LICENSE first.

Ask DeepWiki

Running GacUI in Browsers!

Documentation

Area Document
Architecture Project Structure
Network transport and handshakes GacJS Network Protocol
Remote Protocol GacUI Remote Protocol Reference
Rendering GacUI HTML DOM Rendering
Rich text DocumentParagraph Implementation
E2E testing Testing the Remote Protocol with Playwright
Snapshot testing Testing with Snapshots
Workflow RPC Workflow Interface-Based RPC
Workflow RPC lifetime Memory Management for Workflow RPC in TypeScript
Workflow RPC bindings Generating TypeScript Bindings for Workflow RPC

Building this Project

The root of test projects is in the Gaclib folder, yarn build and you will get all files created to Gaclib\website\entry\lib\dist.

Run in Browser

Run RemotingTest_Core.vcxproj with /Http on Windows or /MiniHttp on Windows, Linux, or macOS.

Start the website on port 8896:

Set-Location Gaclib\website\entry
npm run start

Open http://localhost:8896 and press ENTER in the server terminal when you want to stop it. This is an interactive GacUI renderer.

RPT_Windows RPT_Ubuntu RPT_macOS

Interacting with GacUI Core

GacUIHtml2

Switching between Renderers

You can start a local RemotingTest_Win32_Renderer with /Http, do something to the UI, and start the website, you can see the website take over the running UI on the fly.

GacUIHtml2

localhost/snapshots.html

A demo for rendering GacUI Unit Test with Snapshots

SnapshotViewer

About

Running GacUI in Browsers!

Resources

Stars

215 stars

Watchers

34 watching

Forks

Releases

Packages

Contributors

Languages