From 6bc91a30162609d3a45d10d2ab30a2a3a48b02ac Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Wed, 7 Aug 2024 14:45:52 +0200 Subject: [PATCH] add blockplan tile (low effort slop) --- src/lib/DashboardTile.svelte | 3 +- src/lib/TSHelpers/ComponentOrder.ts | 6 +- src/lib/TilesAndModals/BasicInfoTile.svelte | 1 + src/lib/TilesAndModals/BlockplanTile.svelte | 84 +++++++++++++++++++++ src/lib/types.ts | 15 ++++ src/routes/api/timeline/+server.js | 30 ++++++++ src/routes/dashboard/+page.svelte | 4 +- 7 files changed, 139 insertions(+), 4 deletions(-) create mode 100644 src/lib/TilesAndModals/BlockplanTile.svelte create mode 100644 src/routes/api/timeline/+server.js diff --git a/src/lib/DashboardTile.svelte b/src/lib/DashboardTile.svelte index 8156db9..2897301 100644 --- a/src/lib/DashboardTile.svelte +++ b/src/lib/DashboardTile.svelte @@ -5,13 +5,14 @@ export let title: string; export let clickable: boolean = true; export let ready: boolean = false; + export let add_class: string = ''; const dispatch = createEventDispatcher();