diff --git a/package.json b/package.json index 0ae020d..46d1404 100644 --- a/package.json +++ b/package.json @@ -1,31 +1,31 @@ { - "name": "floatingchickens", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --plugin-search-dir . --check . && eslint .", - "format": "prettier --plugin-search-dir . --write ." - }, - "devDependencies": { - "@sveltejs/adapter-auto": "^2.1.1", - "@sveltejs/kit": "^1.30.4", - "@typescript-eslint/eslint-plugin": "^5.62.0", - "@typescript-eslint/parser": "^5.62.0", - "eslint": "^8.57.1", - "eslint-config-prettier": "^8.10.0", - "eslint-plugin-svelte": "^2.44.1", - "prettier": "^2.8.8", - "prettier-plugin-svelte": "^2.10.1", - "svelte": "^5.0.0-next.272", - "svelte-check": "^3.8.6", - "tslib": "^2.7.0", - "typescript": "^5.6.3", - "vite": "^4.5.5" - }, - "type": "module" + "name": "floatingchickens", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --plugin-search-dir . --check . && eslint .", + "format": "prettier --plugin-search-dir . --write ." + }, + "devDependencies": { + "@sveltejs/adapter-auto": "^2.1.1", + "@sveltejs/kit": "^1.30.4", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "eslint": "^8.57.1", + "eslint-config-prettier": "^8.10.0", + "eslint-plugin-svelte": "^2.44.1", + "prettier": "^2.8.8", + "prettier-plugin-svelte": "^2.10.1", + "svelte": "^5.0.0-next.272", + "svelte-check": "^3.8.6", + "tslib": "^2.7.0", + "typescript": "^5.6.3", + "vite": "^4.5.5" + }, + "type": "module" } diff --git a/src/app.html b/src/app.html index 00b6bae..995660c 100644 --- a/src/app.html +++ b/src/app.html @@ -1,4 +1,4 @@ - + diff --git a/src/lib/components/SuccessFail.svelte b/src/lib/components/SuccessFail.svelte index 13ae46a..007da5b 100644 --- a/src/lib/components/SuccessFail.svelte +++ b/src/lib/components/SuccessFail.svelte @@ -1,5 +1,6 @@
import type { AutoInputState, TeamMatch, TeleActionData, TeleAction } from '$lib/types'; import SuccessFail from '$lib/components/SuccessFail.svelte'; - import Timeline from '$lib/components/Timeline.svelte'; + import Timeline from '$lib/components/Timeline.svelte'; let actionState: AutoInputState = $state('None'); const intake_piece = () => (actionState = actionState === 'None' ? 'Intake' : actionState); @@ -28,7 +28,7 @@ tele_actions: [] }); - let actions: ActionData[] = $state([]); + let actions: ActionData[] = $state([]); let timelineExtended = $state(false); let latestActions: ActionData[] = $state([]); @@ -39,16 +39,20 @@ {/if} team {team_key}
- - + + console.log('todo')}>Add Action (timelineExtended = !timelineExtended)}>Show Timeline