Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cd4c77e
add typecheck infra
samfreund Mar 11, 2026
8ed49b8
fix typecheck errors
samfreund Mar 11, 2026
a7b6180
add workflow
samfreund Mar 11, 2026
23ed4e3
enable noImplicitAny
samfreund Mar 11, 2026
a7b568e
more fixes
samfreund Mar 11, 2026
61b2814
lint
samfreund Mar 11, 2026
15c5e24
more eslint rules
samfreund Mar 11, 2026
0077bea
replace ref with useTemplateRef
samfreund Mar 11, 2026
a6eaafb
fix any's
samfreund Mar 11, 2026
dfee95d
refactor cameraInfoFor
samfreund Mar 11, 2026
81dce15
lint
samfreund Mar 11, 2026
6ec213c
fix some 'as' instances
samfreund Mar 23, 2026
7d27bc2
Update photon-client/src/components/cameras/CameraCalibrationInfoCard…
samfreund Mar 23, 2026
8830a7d
address comments
samfreund Mar 23, 2026
1800098
Remove extra tsconfig
Gold856 Mar 23, 2026
333c158
remove 'as' spam
samfreund Mar 23, 2026
4cf6224
better coalescing
samfreund Mar 23, 2026
f787c33
remove extra stuff/comments from workflow
samfreund Mar 23, 2026
7fe19b7
remove double negate
samfreund Mar 23, 2026
7175fc3
fix double script
samfreund Mar 23, 2026
ff0a9d5
Add type checking lints
Gold856 Mar 23, 2026
8a90347
none should be a selectable arducam model
samfreund Mar 23, 2026
b177cfd
fix the weird stuff
samfreund Mar 23, 2026
9661d93
lint
samfreund Mar 23, 2026
fbaf928
fix restrict-template-expressions
samfreund Mar 23, 2026
241c069
remove unused components [skip ci]
samfreund Mar 23, 2026
d565655
fix require-await [skip ci]
samfreund Mar 24, 2026
088354d
fix prefer-promise-reject-errors
samfreund Mar 24, 2026
ede1ca7
fix unsafe enum comparison
samfreund Mar 24, 2026
d43a710
replace pipeline index references with type
samfreund Mar 24, 2026
eade98c
fix floating promises
samfreund Mar 24, 2026
acfb871
come on man
samfreund Mar 24, 2026
fbdfb99
remove old comment
samfreund Mar 24, 2026
0ecc274
condense check
samfreund Mar 24, 2026
f46b5b6
docs
samfreund Mar 24, 2026
80ac4cd
bit more verbose, but more typesafe
samfreund Mar 24, 2026
531836d
fix itemprops for pv-select
samfreund Mar 24, 2026
cd94114
fix backend hostname stuff
samfreund Mar 24, 2026
cf6952d
remove fetch-depth option
samfreund Mar 24, 2026
6ccd9cc
void import
Gold856 Mar 24, 2026
990d440
fix typeLabels typing
samfreund Mar 24, 2026
f74d9f5
refactor metric colors typing
samfreund Mar 24, 2026
5f837de
refactor dark mode checks
samfreund Mar 24, 2026
88b0611
bring back og trackball control init
samfreund Mar 24, 2026
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
28 changes: 21 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,34 @@ jobs:
run: |
./gradlew build
./gradlew clean
typecheck-client:
name: "Typecheck Client"
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm
cache-dependency-path: photon-client/pnpm-lock.yaml
- name: Typecheck Client
working-directory: photon-client
run: |
pnpm install
pnpm type-check
playwright-tests:
name: "Playwright E2E tests"
runs-on: ubuntu-24.04
needs: [validation]
steps:
# Checkout code.
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch tags
run: git fetch --tags --force
- name: Install Java 17
uses: actions/setup-java@v5
with:
Expand Down Expand Up @@ -138,7 +153,6 @@ jobs:
runs-on: ubuntu-24.04
needs: [validation]
steps:
# Checkout code.
- name: Checkout code
uses: actions/checkout@v6
with:
Expand Down
2 changes: 2 additions & 0 deletions photon-client/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/// <reference types="vite/client" />

declare module "vue3-virtual-scroll-list";
6 changes: 4 additions & 2 deletions photon-client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import skipFormattingConfig from "@vue/eslint-config-prettier/skip-formatting";

export default defineConfigWithVueTs(
pluginVue.configs["flat/recommended-error"],
vueTsConfigs.recommended,
vueTsConfigs.recommendedTypeChecked,
skipFormattingConfig,
{
ignores: ["**/dist/**", "playwright-report"]
Expand Down Expand Up @@ -45,7 +45,9 @@ export default defineConfigWithVueTs(
"vue/require-default-prop": "off",
"vue/v-for-delimiter-style": "error",
"vue/v-on-event-hyphenation": "off",
"@typescript-eslint/no-explicit-any": "off",
"vue/require-typed-ref": "error",
"@typescript-eslint/no-empty-object-type": "error",
"@typescript-eslint/no-explicit-any": "error",
"vue/valid-v-slot": ["error", { allowModifiers: true }]
}
}
Expand Down
5 changes: 3 additions & 2 deletions photon-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"format-ci": "prettier --check src/",
"test": "playwright test",
"test-ui": "playwright test --ui",
"test-setup": "playwright install --with-deps"

"test-setup": "playwright install --with-deps",
"type-check": "vue-tsc"
},
"dependencies": {
"@fontsource/prompt": "^5.2.6",
Expand All @@ -28,6 +28,7 @@
"three": "^0.178.0",
"vue": "^3.5.13",
"vue-router": "^4.5.1",
"vue-tsc": "^3.2.5",
"vue3-virtual-scroll-list": "^0.2.1",
"vuetify": "^3.8.3"
},
Expand Down
86 changes: 86 additions & 0 deletions photon-client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion photon-client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import { useTheme } from "vuetify";
import { restoreThemeConfig } from "@/lib/ThemeManager";
const is_demo = import.meta.env.MODE === "demo";
const backendHost = inject<string>("backendHost");
if (!is_demo) {
const websocket = new AutoReconnectingWebsocket(
`ws://${inject("backendHost")}/websocket_data`,
`ws://${backendHost}/websocket_data`,
() => {
useStateStore().$patch({ backendConnected: true });
},
Expand Down
Loading
Loading