Skip to content
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

[PhotonClient] Vite and Typescript complete refactor #884

Merged
merged 304 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from 219 commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
394de28
Update photon-sidebar.vue
srimanachanta Jul 1, 2023
bc96639
ditto
srimanachanta Jul 1, 2023
7556ffa
Add default pipeline settings exports
srimanachanta Jul 5, 2023
55b6be5
Explictly state all store undefined values
srimanachanta Jul 5, 2023
274a4d3
Update AutoReconnectingWebsocket.ts
srimanachanta Jul 6, 2023
3bd19a5
Create placeholder camera settings cause my god that shit is annoying…
srimanachanta Jul 6, 2023
e17e7cf
Add default camera index overrides so i dont die
srimanachanta Jul 6, 2023
a38090d
bug fix in placeholder
srimanachanta Jul 6, 2023
fab9f8f
Add option to get pipeline names
srimanachanta Jul 6, 2023
9895206
Add common getters
srimanachanta Jul 6, 2023
0e59ac0
update state via override vs patches
srimanachanta Jul 6, 2023
f2707e7
docs
srimanachanta Jul 6, 2023
17cc1d9
Add calib helper methods
srimanachanta Jul 6, 2023
e37e7c4
Make snackbar show options optional
srimanachanta Jul 6, 2023
f487ea3
Create CalibrationCard.vue
srimanachanta Jul 6, 2023
0dc4b10
bug with with accept types fml
srimanachanta Jul 6, 2023
f647671
Update CalibrationCard.vue
srimanachanta Jul 6, 2023
fe47fde
Update CameraSettingsStore.ts
srimanachanta Jul 6, 2023
aafff39
bug fix, aka, fix a bug
srimanachanta Jul 6, 2023
9f0dfa5
Create CameraSettingsCard.vue
srimanachanta Jul 6, 2023
e39c545
Update CameraSettingsView.vue
srimanachanta Jul 6, 2023
85b4dd1
Create MetricsCard.vue
srimanachanta Jul 6, 2023
c76c28f
Simplify camera settings save
srimanachanta Jul 6, 2023
ca85af1
Update StateStore.ts
srimanachanta Jul 6, 2023
d786d47
bug fix with axios
srimanachanta Jul 6, 2023
18303a6
Create DeviceControlCard.vue
srimanachanta Jul 6, 2023
7edb7e3
Always open file downloads in new tabs
srimanachanta Jul 6, 2023
8f19eb4
bug fix with scrollbar and tracks
srimanachanta Jul 6, 2023
7c77f68
Create LightingControlCard.vue
srimanachanta Jul 6, 2023
93a8bb2
docs
srimanachanta Jul 6, 2023
00630a4
Expand data saved in store by the websocket
srimanachanta Jul 6, 2023
6226cbb
Create NetworkingCard.vue
srimanachanta Jul 6, 2023
465b04a
Update GeneralSettingsView.vue
srimanachanta Jul 6, 2023
32a0425
Update package.json
srimanachanta Jul 6, 2023
8944f76
Make the camera settings card's save changes button make more sense
srimanachanta Jul 6, 2023
adf43aa
Formatting fixes
srimanachanta Jul 6, 2023
4c3ebbc
Update .eslintrc.json
srimanachanta Jul 6, 2023
d66751b
Isolate sidebar related stuff out of the state store
srimanachanta Jul 6, 2023
8803fb7
move webkit scrollbar stuff to the calib card as that is where it is …
srimanachanta Jul 7, 2023
40e1c70
bug fix
srimanachanta Jul 7, 2023
6f40c7b
Update CameraSettingsStore.ts
srimanachanta Jul 7, 2023
7ad1f61
Create StreamConfigCard.vue
srimanachanta Jul 7, 2023
998c87e
Update CameraSettingsStore.ts
srimanachanta Jul 7, 2023
5dec94f
Create CamerasCard.vue
srimanachanta Jul 7, 2023
967fd16
Remove unknown pipeline type because it is annoying
srimanachanta Jul 9, 2023
4b72c96
Explicitly use Enum values for pipeline checks for special cases
srimanachanta Jul 9, 2023
449aabc
add type check to allow for single override for select option items
srimanachanta Jul 9, 2023
e83b3af
Update CameraSettingsCard.vue
srimanachanta Jul 9, 2023
aa591ef
Add helper method to seperate websocket and non websocket pipeline types
srimanachanta Jul 9, 2023
dc4430b
[WIP] add pipeline config options
srimanachanta Jul 9, 2023
b05a97e
add yellow scrollbar to its own css (frick css)
srimanachanta Jul 9, 2023
a0d6787
fix bug where the sidebar wouldnt correctly collapse on mobile
srimanachanta Jul 9, 2023
ede4209
Formatting fixes
srimanachanta Jul 9, 2023
a6d54a5
pass local value to onEnter
srimanachanta Jul 9, 2023
05ac3fc
block onEnter event if rules are broken
srimanachanta Jul 9, 2023
4100e85
allow escape from input field
srimanachanta Jul 9, 2023
25a1fdf
add placeholder option to cv-input
srimanachanta Jul 9, 2023
dfa4f60
Return excluded pipeline types from switch case
srimanachanta Jul 9, 2023
dd7fbb8
add helper method to change camera nickname
srimanachanta Jul 9, 2023
31f90fc
Create CameraAndPipelineSelectCard.vue
srimanachanta Jul 9, 2023
f8b341d
Update DashboardView.vue
srimanachanta Jul 9, 2023
0866a3a
Fix bug with Vue 2.7 auto expanssion of v-model
srimanachanta Jul 9, 2023
3380246
Undo enum expanssion
srimanachanta Jul 9, 2023
af4d339
Add docs for vue3 changes
srimanachanta Jul 9, 2023
827ca59
force strict ts compile
srimanachanta Jul 9, 2023
eab50a8
bug fix
srimanachanta Jul 9, 2023
ddf400f
Dont import compiler macros
srimanachanta Jul 9, 2023
3536a6a
Simplify store root calls
srimanachanta Jul 10, 2023
eebd448
Removed type checking as requirement for building
srimanachanta Jul 10, 2023
55be05a
Dont explicitly update store values from getters
srimanachanta Jul 10, 2023
8a1d09f
Explicitly type configurable camera settings
srimanachanta Jul 10, 2023
6753aae
Add option to update store instead of doing it by default on websocke…
srimanachanta Jul 10, 2023
7686243
Update MetricsCard.vue
srimanachanta Jul 10, 2023
d8e319b
change component directories to lower case
srimanachanta Jul 10, 2023
0e54623
Use typed declarations for emits
srimanachanta Jul 10, 2023
aec5b8f
add option to disable specific options in a cv-select for more verbos…
srimanachanta Jul 11, 2023
294610b
Optimize imports
srimanachanta Jul 11, 2023
1d12e47
Add InputTab
srimanachanta Jul 11, 2023
400cb50
Update cv-select.vue
srimanachanta Jul 11, 2023
21a5304
Replace type literal with Record
srimanachanta Jul 11, 2023
1ddb581
Move ActivePipelineType to PipelineTypes
srimanachanta Jul 11, 2023
3b49394
Rename colored enum to colored shape
srimanachanta Jul 11, 2023
d08dc81
explicitly type pipelineType for major pipeline types
srimanachanta Jul 11, 2023
3555489
Update WebsocketDataTypes.ts
srimanachanta Jul 11, 2023
2816875
Formatting fixes
srimanachanta Jul 11, 2023
eaf386b
Update InputTab.vue
srimanachanta Jul 11, 2023
8d15594
Fix a bug where the input tag wasnt forced on driver mode
srimanachanta Jul 11, 2023
9cd55e9
Add support for Aruco pipeline to data structs
srimanachanta Jul 11, 2023
69b342e
Update AprilTagTab.vue
srimanachanta Jul 11, 2023
5b18230
Update ArucoTab.vue
srimanachanta Jul 11, 2023
c2bf966
Fig bug when websocket data is based to number range slider
srimanachanta Jul 11, 2023
2963f1a
show message when there are no logs
srimanachanta Jul 11, 2023
4fabb6e
update log export buttons to match settings view
srimanachanta Jul 11, 2023
af3dfd2
Add ContoursTab
srimanachanta Jul 11, 2023
622ea3f
Add Targets Tab
srimanachanta Jul 11, 2023
385e78d
Formatting fixes
srimanachanta Jul 11, 2023
5d17c02
Remove empty style tags
srimanachanta Jul 11, 2023
733a911
Revert theme colors to vuetify2 values
srimanachanta Jul 11, 2023
0ebd638
capitalize family
srimanachanta Jul 11, 2023
7ed3f5e
Add TargetModel enum
srimanachanta Jul 11, 2023
338fe96
Add OutputTab
srimanachanta Jul 11, 2023
92d2ac8
Formatting fixes
srimanachanta Jul 11, 2023
f3cd0be
Update PnPTab.vue
srimanachanta Jul 12, 2023
28b8d21
Add ThreeJS dependency with types
srimanachanta Jul 13, 2023
32fd365
add docs to photon tracking
srimanachanta Jul 13, 2023
851040e
Add 3d tab
srimanachanta Jul 13, 2023
0cd086c
Formatting fixes
srimanachanta Jul 13, 2023
4c224ae
Fix a bug with cv-range-slider
srimanachanta Jul 13, 2023
d93fa16
bug fix
srimanachanta Jul 13, 2023
f1c2b57
dont update store redundantly
srimanachanta Jul 13, 2023
0ede2f4
[WIP] Add Threshold tab
srimanachanta Jul 13, 2023
9374b95
Fix a bug where cv-range-slider forces single prop types
srimanachanta Jul 13, 2023
022dfe3
Fix bug where pre and append slots wouldn't update range slider value
srimanachanta Jul 13, 2023
09f31f6
docs
srimanachanta Jul 13, 2023
d7ec177
pass id to camera stream
srimanachanta Jul 13, 2023
54f95b0
Update photon-3d-visualizer.vue
srimanachanta Jul 13, 2023
eca3eb1
misc notes
srimanachanta Jul 14, 2023
f2a37f5
Undo sidebar collapsed isolation
srimanachanta Jul 15, 2023
dc7ab9e
Reimplement tab groups after fixing the css issue
srimanachanta Jul 15, 2023
69c9a71
mark all tabs as readonly
srimanachanta Jul 15, 2023
372b908
Metric template with v-for
srimanachanta Jul 15, 2023
e5700ee
Formatting fixes
srimanachanta Jul 15, 2023
b47ff12
Update PipelineConfigCard.vue
srimanachanta Jul 15, 2023
7491b70
pass slider cols to range slider
srimanachanta Jul 15, 2023
4f286f8
pass cols to switch separately from the label
srimanachanta Jul 15, 2023
b80cc7c
Change interactive input components cols based on media queries
srimanachanta Jul 15, 2023
aed7a6a
Formatting fixes
srimanachanta Jul 15, 2023
5812bec
fix issue with injecting backend address
srimanachanta Jul 16, 2023
589d17f
Merge branch 'vite-typescript-refactor' of https://github.com/srimana…
srimanachanta Jul 16, 2023
c94897d
fix bug with how video formats were formed
srimanachanta Jul 16, 2023
3046d4b
Fix issue with how metrics are displayed
srimanachanta Jul 16, 2023
41354f1
dont hide log view on filtered logs being missing
srimanachanta Jul 16, 2023
35558cd
Update WebsocketDataTypes.ts
srimanachanta Jul 16, 2023
17f27a8
remove callbacks as they are useless
srimanachanta Jul 16, 2023
151d26f
add option to reload metrics on the metrics card
srimanachanta Jul 16, 2023
b6de702
Update MetricsCard.vue
srimanachanta Jul 16, 2023
56b38a4
Update MetricsCard.vue
srimanachanta Jul 16, 2023
eb5a3c1
fix issue with stream display
srimanachanta Jul 16, 2023
4cddb7a
make metric tables will width and space items evenly
srimanachanta Jul 17, 2023
c033fb8
Show the offset points in the output tab
srimanachanta Jul 17, 2023
bb7a308
Formatting fixes
srimanachanta Jul 17, 2023
1dfad6f
Update LogTypes
srimanachanta Jul 17, 2023
229dcbc
add the mutatePipeline prop to the data exchange and WebsocketTypes
srimanachanta Jul 17, 2023
a63244d
Simplify changePipelineSettingsInStore method
srimanachanta Jul 17, 2023
7ab29a9
Simplify mapping VideoFormats from websocket
srimanachanta Jul 17, 2023
7a7884a
Update MetricsCard.vue
srimanachanta Jul 17, 2023
f914968
Update GeneralSettingsStore.ts
srimanachanta Jul 17, 2023
8422ce1
Fix TODOs
srimanachanta Jul 17, 2023
783c89b
Change to Driver Mode when the settings card is opened
srimanachanta Jul 17, 2023
8b1827f
update store when driver mode is enabled
srimanachanta Jul 17, 2023
ba7526d
Push priorities for when connections open on component setup
srimanachanta Jul 18, 2023
873f9e9
Push priorities for when connections open on component setup
srimanachanta Jul 18, 2023
72c9c62
Add option of reverting pipeline index by tracking past values
srimanachanta Jul 19, 2023
93d8ea3
Update dependencies
srimanachanta Jul 19, 2023
c18ebb4
Revert "Update dependencies"
srimanachanta Jul 19, 2023
29af99b
working dep update
srimanachanta Jul 19, 2023
e491843
add null check for 3d visualizer
srimanachanta Jul 20, 2023
677dde7
Add ColorPicker
srimanachanta Jul 20, 2023
afb3864
Merge branch 'vite-typescript-refactor' of https://github.com/srimana…
srimanachanta Jul 20, 2023
965bc79
Formatting fixes
srimanachanta Jul 20, 2023
ddc5314
Update DeviceControlCard.vue
srimanachanta Jul 20, 2023
bd448c9
mark client as private so it cant get published to npm on accident
srimanachanta Jul 20, 2023
e3c25cb
Formatting fixes
srimanachanta Jul 20, 2023
8ec5aa1
Formatting fixes
srimanachanta Jul 20, 2023
16df945
remove require-default-prop from eslint
srimanachanta Jul 20, 2023
f613dc4
remove horizontal FOV prop from 3d view
srimanachanta Jul 20, 2023
623a8f6
Remove color picker event listener when threshold tab is unmounted
srimanachanta Jul 20, 2023
d4497bb
Rename target model enum values in the frontend
srimanachanta Jul 20, 2023
f208c36
make config cards stretch when camera size changes
srimanachanta Jul 20, 2023
857877f
Fix naming issue
srimanachanta Jul 20, 2023
061a8e5
Merge branch 'master' into vite-typescript-refactor
mcm001 Jul 20, 2023
1b6104c
Update defered values on camera change
srimanachanta Jul 21, 2023
46def0d
Update PipelineConfigCard.vue
srimanachanta Jul 21, 2023
9498b0a
Fix bug where camera was renammed in store even if request failed
srimanachanta Jul 21, 2023
b6d12ba
Fix dashboard src naming
srimanachanta Jul 21, 2023
f4e548f
Fix issues with interpreting pipeline results
srimanachanta Jul 21, 2023
1966ea1
remove max width on settings view
srimanachanta Jul 21, 2023
357e9a9
Rename Tracking Type to Type
srimanachanta Jul 21, 2023
22d8f92
remove disabling dropdown fields when their is only one option
srimanachanta Jul 22, 2023
abeb8cd
check for placeholder camera when loading
srimanachanta Jul 22, 2023
5764a6a
Update CamerasCard.vue
srimanachanta Jul 22, 2023
c5bc637
dont open image in color picking mode
srimanachanta Jul 22, 2023
d34da98
Merge branch 'master' into vite-typescript-refactor
srimanachanta Jul 23, 2023
68b70d4
Update photon-camera-stream.vue
srimanachanta Jul 23, 2023
c41d3f2
Change to and from driver mode on camera card navigate to and from
srimanachanta Jul 23, 2023
90f04b5
Styling fixes
srimanachanta Jul 25, 2023
b0c4494
Simplify converting non-websocket to websocket pipeline types
srimanachanta Jul 25, 2023
9020c3b
Add DriverMode PipelineType
srimanachanta Jul 25, 2023
5550bcf
Update new pipeline type before showing dialog for it
srimanachanta Jul 25, 2023
1549674
Fix issue with types for pipelines in config card
srimanachanta Jul 25, 2023
19ac8c9
Disable the Pipeline types field in camera and pipeline config in dri…
srimanachanta Jul 25, 2023
db5c420
Update photon-client/src/components/dashboard/CameraAndPipelineSelect…
srimanachanta Jul 25, 2023
8ef5519
Update photon-client/src/components/dashboard/CameraAndPipelineSelect…
srimanachanta Jul 25, 2023
8c65d31
Update photon-client/src/components/dashboard/CameraAndPipelineSelect…
srimanachanta Jul 25, 2023
571557c
Update photon-client/src/components/dashboard/CameraAndPipelineSelect…
srimanachanta Jul 25, 2023
1416c84
Merge branch 'master' into vite-typescript-refactor
srimanachanta Jul 25, 2023
440bd9e
Update CameraSettingsStore.ts
srimanachanta Jul 25, 2023
b842930
Merge branch 'master' into vite-typescript-refactor
srimanachanta Jul 25, 2023
8e9064b
Merge branch 'vite-typescript-refactor' of https://github.com/srimana…
srimanachanta Jul 25, 2023
b888e3d
Formatting fixes
srimanachanta Jul 25, 2023
db4da86
Fix issue with comparing resolution objects
srimanachanta Jul 25, 2023
df13e22
Filter unique resolutions in calibration and calculate instrinsics
srimanachanta Jul 26, 2023
c1ea183
Formatting fixes
srimanachanta Jul 26, 2023
be6d37a
Only show output in calib mode
srimanachanta Jul 26, 2023
e794c04
Add new camera view in camera settings
srimanachanta Jul 26, 2023
67d3a1e
rename to match the shizzz
srimanachanta Jul 26, 2023
44e40cf
Styling fixes
srimanachanta Jul 26, 2023
f91c06f
Formatting fixes
srimanachanta Jul 26, 2023
da337e6
Spelling
srimanachanta Jul 26, 2023
135a02a
Rename Lighting to LED Control
srimanachanta Jul 27, 2023
0a9cbcb
Dont say PhotonVision in metric subtitles
srimanachanta Jul 27, 2023
7c35706
Rename LightingControlCard to LEDControlCard
srimanachanta Jul 27, 2023
70f009c
Update current FOV prop when changing selected camera
srimanachanta Jul 27, 2023
0cea97d
Formatting fixes
srimanachanta Jul 27, 2023
a634d82
update temp name holders on action calls
srimanachanta Jul 27, 2023
e08d2f6
Add listener to update pipeline type on pipeline settings change
srimanachanta Jul 27, 2023
133d74b
Comment out Aruco option in pipeline select
srimanachanta Jul 27, 2023
3118d5e
Simplify showing and hiding snackbar message
srimanachanta Jul 27, 2023
9dfeb3d
Fold sidebar if the display is too small
srimanachanta Jul 27, 2023
6388794
css fix
srimanachanta Jul 27, 2023
ccf6248
Fix styling on calibration card
srimanachanta Jul 27, 2023
f8ee663
use vuetify data table in metrics card
srimanachanta Jul 27, 2023
a7d0541
Simplify css in calib card data table
srimanachanta Jul 27, 2023
439186f
styling fix for stream config card
srimanachanta Jul 27, 2023
9c76583
Update CameraCalibrationCard.vue
srimanachanta Jul 27, 2023
7a3a541
Merge branch 'master' into vite-typescript-refactor
srimanachanta Jul 27, 2023
16177d9
Fix bug where cv-number-input returned strings instead of you know, n…
srimanachanta Jul 28, 2023
5862a53
Fix an issue where pipeline settings wouldnt update with multiple ws …
srimanachanta Jul 28, 2023
4583be9
Fix styling for stream config
srimanachanta Jul 28, 2023
f3f7cca
handle reverting showing input and output
srimanachanta Jul 29, 2023
982fb8a
fix todos
srimanachanta Jul 29, 2023
45128f2
Merge branch 'master' into vite-typescript-refactor
mcm001 Jul 29, 2023
14e1eca
Simplify access to provided backend addresses
srimanachanta Aug 1, 2023
3ba20e4
explictly state event type when uploading files
srimanachanta Aug 1, 2023
3ee45cd
spelling
srimanachanta Aug 1, 2023
654f115
Fix styling on the targets tab
srimanachanta Aug 7, 2023
635f445
Styling fixes on Cameras View
srimanachanta Aug 9, 2023
e8b7d78
Reduce padding on metrics card
srimanachanta Aug 9, 2023
acb68d2
Properly show Unknown when metrics are unknown
srimanachanta Aug 9, 2023
660c6b4
Show when metrics were last fetched
srimanachanta Aug 9, 2023
5d8b462
Fix issue with hover css on calibration table rows
srimanachanta Aug 9, 2023
8e9e21c
unwrap camera stream view on medium sized screens on camera view
srimanachanta Aug 9, 2023
419c626
Formatting fixes
srimanachanta Aug 12, 2023
99d048a
Update ContoursTab.vue
mcm001 Aug 21, 2023
7cd305d
Fix cal not working with >1 camera
mcm001 Aug 21, 2023
b148c26
Update DashboardView.vue
mcm001 Aug 21, 2023
cbd4fae
Send camera index along with mutate pipeline settings
mcm001 Aug 21, 2023
c8db383
Make 3d vis update
mcm001 Aug 21, 2023
e8ce8a9
Add guards and correctly type visualizer requirements
srimanachanta Aug 21, 2023
93c3064
Formatting fixes
srimanachanta Aug 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ on:
merge_group:

jobs:
# This job builds the client (web view).
photonclient-build:

# Let all steps run within the photon-client dir.
defaults:
run:
Expand All @@ -33,19 +31,44 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 17

# Run npm
- run: npm update -g npm
- run: npm ci
- run: npm run build --if-present
- name: Install Dependencies
run: npm ci

- name: Build Production Client
run: npm run build

# Upload client artifact.
- uses: actions/upload-artifact@master
with:
name: built-client
path: photon-client/dist/
photonclient-link:
# Let all steps run within the photon-client dir.
defaults:
run:
working-directory: photon-client

# The type of runner that the job will run on.
runs-on: ubuntu-22.04

steps:
# Checkout code.
- uses: actions/checkout@v3

# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 17

- name: Install Dependencies
run: npm ci

- name: Check Formatting
run: npm run lint
photon-build-examples:
runs-on: ubuntu-22.04
name: "Build Examples"
Expand Down Expand Up @@ -88,7 +111,6 @@ jobs:
chmod +x gradlew
./gradlew copyPhotonlib -x check
./gradlew buildAllExamples -x check --max-workers 2

photon-build-all:
# The type of runner that the job will run on.
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -135,7 +157,6 @@ jobs:
uses: codecov/codecov-action@v3
with:
file: ./photon-core/build/reports/jacoco/test/jacocoTestReport.xml

photonserver-build-offline-docs:
runs-on: ubuntu-22.04

Expand Down Expand Up @@ -172,7 +193,6 @@ jobs:
with:
name: built-docs
path: build/html

photonserver-check-lint:
# The type of runner that the job will run on.
runs-on: ubuntu-22.04
Expand All @@ -193,8 +213,6 @@ jobs:
- run: |
chmod +x gradlew
./gradlew spotlessCheck

# Building photonlib
photonlib-build-host:
env:
MACOSX_DEPLOYMENT_TARGET: 10.14
Expand Down Expand Up @@ -228,7 +246,6 @@ jobs:
env:
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
if: github.event_name == 'push'

photonlib-build-docker:
strategy:
fail-fast: false
Expand Down Expand Up @@ -262,7 +279,6 @@ jobs:
env:
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
if: github.event_name == 'push'

photonlib-wpiformat:
name: "wpiformat"
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -291,7 +307,6 @@ jobs:
name: wpiformat fixes
path: wpiformat-fixes.patch
if: ${{ failure() }}

photon-build-package:
needs: [photonclient-build, photon-build-all, photonserver-build-offline-docs]

Expand Down Expand Up @@ -377,8 +392,6 @@ jobs:
with:
name: jar-${{ matrix.artifact-name }}
path: photon-server/build/libs


photon-image-generator:
needs: [photon-build-package]
if: ${{ github.event_name != 'pull_request' }}
Expand Down Expand Up @@ -419,8 +432,6 @@ jobs:
with:
name: image-${{ matrix.image_suffix }}
path: photonvision*.xz


photon-release:
needs: [photon-build-package, photon-image-generator]
runs-on: ubuntu-22.04
Expand Down
1 change: 1 addition & 0 deletions .styleguide
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ modifiableFileExclude {
\.so$
\.dll$
\.webp$
\.ico$
gradlew
}

Expand Down
2 changes: 0 additions & 2 deletions photon-client/.browserslistrc

This file was deleted.

17 changes: 0 additions & 17 deletions photon-client/.eslintrc.js

This file was deleted.

18 changes: 18 additions & 0 deletions photon-client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:vue/recommended",
"@vue/eslint-config-typescript/recommended"
],
"rules": {
"quotes": ["error", "double"],
"comma-dangle": ["error", "never"],
"semi": ["error", "always"],
"eol-last": "error",
"object-curly-spacing": ["error", "always"],
"quote-props": ["error", "as-needed"],
"no-case-declarations": "off",
"vue/require-default-prop": "off"
}
}
27 changes: 17 additions & 10 deletions photon-client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.idea
.vscode
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
components.d.ts
37 changes: 0 additions & 37 deletions photon-client/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions photon-client/babel.config.js

This file was deleted.

1 change: 1 addition & 0 deletions photon-client/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
13 changes: 13 additions & 0 deletions photon-client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Photon Client</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading
Loading