-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remote displays app and PR CI #114
base: main
Are you sure you want to change the base?
Conversation
let remoteClient: RemoteClient | undefined; | ||
function initializeClient() { | ||
if (!remoteClient) { | ||
remoteClient = new RemoteClient(`ws://${window.location.hostname}:8380/interfaces/v1/remote-app`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remoteClient = new RemoteClient(
ws://${window.location.hostname}:8380/interfaces/v1/remote-app
);
Wouldn't it better to use the configured server port incase user has a different port set via the installer?
name: PR | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
|
||
jobs: | ||
title: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
name: PR | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
|
||
jobs: | ||
title: | ||
name: Validate title semantics | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diff here? is this just whitespace?
onChange={(event) => setTypedBridgeID(event.target.value)} | ||
/> | ||
|
||
<span>GFNCBENFB4TQ</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<span>GFNCBENFB4TQ</span> | |
<span>GFNCBENFB4TQ</span> |
Does this have a purpose? Or is this meant to be taken from a var somewhere? I'm not very sure.
this.server = server; | ||
this.logger.log('Remote app gateway websocket initialised'); | ||
this.logger.log( | ||
`Initialised on http://${await this.networkService.getLocalIp(true)}:${this.serverConf.port}${server.path}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`Initialised on http://${await this.networkService.getLocalIp(true)}:${this.serverConf.port}${server.path}`, | |
`Initialised websocket gateway on ws://${await this.networkService.getLocalIp(true)}:${this.serverConf.port}${server.path}`, |
I believe that a user looking at the logs might think this is (also) the remote app path and try to access it but of course it returns 404 since its only for websockets, and might cause confusion.
? `Connected (${connectionState.clientName})` | ||
: connectionState.connected === ConnectionPhase.ConnectedToBridge | ||
? 'Waiting on aircraft' | ||
: 'Not connected'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
: 'Not connected'} | |
: 'Simbridge Connection Lost'} |
4acfc5d
to
e6d613e
Compare
No description provided.