Implement event review timeline (#9941)

* initial implementation of review timeline

* hooks

* clean up and comments

* reorganize components

* colors and tweaks

* remove touch events for now

* remove touch events for now

* fix vite config

* use unix timestamps everywhere

* fix corner rounding

* comparison

* use ReviewSegment type

* update mock review event generator

* severity type enum

* remove testing code
This commit is contained in:
Josh Hawkins
2024-02-20 17:22:59 -06:00
committed by GitHub
parent aa99e11e1a
commit cdd6ac9071
11 changed files with 1231 additions and 18 deletions

View File

@@ -67,6 +67,18 @@ module.exports = {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
severity_alert: {
DEFAULT: "hsl(var(--severity_alert))",
dimmed: "hsl(var(--severity_alert_dimmed))",
},
severity_detection: {
DEFAULT: "hsl(var(--severity_detection))",
dimmed: "hsl(var(--severity_detection_dimmed))",
},
severity_motion: {
DEFAULT: "hsl(var(--severity_motion))",
dimmed: "hsl(var(--severity_motion_dimmed))",
},
},
keyframes: {
"accordion-down": {