-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat/navigate upgrade react router * feat/navigate migrate to react router 6 * feat/navigate style modal * feat/navigate create endpoints for app settings * feat/navigate protect editor with pin * feat/navigate apply dynamic routing draft * feat/navigate upgrade relevant packages * feat/navigate restructure directory and add tests * feat/navigate test aliases validation * feat/navigate validate aliases before sending * feat/navigate create data endpoint * feat/navigate config: prettier * feat/navigate invalidate empty strings * feat/navigate create endpoints * feat/navigate parse on import * feat/navigate navigate to alias * feat/navigate user help and sample data * feat/navigate refact aliases modal * feat/navigate refact settings style * feat/navigate update sample db * feat/navigate link is relative to hostname * feat/navigate navigate to first match * feat/navigate update readme and version bump * feat/navigate config: create shared module * feat/navigate config: cheat module install * feat/navigate fix tests * feat/navigate run tests in pull request * Update ontime_cy.yml
- Loading branch information
Showing
74 changed files
with
2,577 additions
and
1,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: ontime_test_CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
env: | ||
CI: '' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
|
||
# Utils server | ||
- name: Utils - Install dependencies | ||
run: yarn install | ||
working-directory: ./server/utils | ||
|
||
- name: Utils - run link command | ||
run: yarn link | ||
working-directory: ./server/utils | ||
|
||
# React | ||
- name: React - Link to utils | ||
run: yarn link ontime-utils | ||
working-directory: ./client | ||
|
||
- name: React - Install dependencies | ||
run: yarn install | ||
working-directory: ./client | ||
|
||
- name: React - Run tests | ||
run: yarn test:pipeline | ||
working-directory: ./client | ||
|
||
- name: React - Build project | ||
run: yarn build | ||
working-directory: ./client | ||
|
||
# Node server | ||
- name: React - Link to utils | ||
run: yarn link ontime-utils | ||
working-directory: ./server/src | ||
|
||
- name: Server - Install dependencies | ||
run: yarn install | ||
working-directory: ./server/src | ||
|
||
# App | ||
- name: Electron - Install dependencies | ||
run: yarn install | ||
working-directory: ./server | ||
|
||
- name: Electron - Run tests | ||
run: yarn test | ||
working-directory: ./server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": true, | ||
"jsxSingleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Exported viewer links | ||
const speakerLink = 'http://localhost:4001/speaker'; | ||
const smLink = 'http://localhost:4001/sm'; | ||
const publicLink = 'http://localhost:4001/public'; | ||
const pipLink = 'http://localhost:4001/pip'; | ||
const studioLink = 'http://localhost:4001/studio'; | ||
|
||
export const viewerLinks = [ | ||
{ link: speakerLink, label: 'Speaker Screen' }, | ||
{ link: smLink, label: 'Backstage Screen' }, | ||
{ link: publicLink, label: 'Public Screen' }, | ||
{ link: pipLink, label: 'Picture in Picture' }, | ||
{ link: studioLink, label: 'Studio Clock' } | ||
]; |
Oops, something went wrong.