feat(panel): add sub-hour trend bucketing and smooth range switches

- Enforce strict window bounds on usage trends without 6-hour out-of-window padding, subdividing sub-2h intraday spans into 1m, 5m, and 15m slots with stepMs cache invalidation and minute export labels
- Morph SVG trend curves and areas continuously across varying slot counts via De Casteljau cubic Bezier knot subdivision, synchronized with peak pill glides, axis fades, and heatmap stage transitions
- Coordinate consumption range, tab, and sort switches with opacity crossfades and @starting-style progress bar width transitions while respecting prefers-reduced-motion
This commit is contained in:
fish
2026-11-24 04:41:26 +09:00
parent 49fe0b3457
commit 7e6d11d7aa
12 changed files with 1591 additions and 199 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>用量监控</title>
<link rel="stylesheet" href="/styles.css?v=1795457102792">
<link rel="stylesheet" href="/styles.css?v=1795462720987">
<script src="/preload.js"></script>
</head>
<body>
<div id="app-root"></div>
<script src="/app.js?v=1795457102792"></script>
<script src="/app.js?v=1795462720987"></script>
</body>
</html>