feat(panel): unify chart motion and preserve pending TTFT reel roll

- Extract shared chartMotion and stepChartMath modules to bring GPU 2D pointer-following tooltips, cached tooltip geometry, cubic curve/band morphing, and quantized hover hit-testing to Summary step/fit charts and AccountQuotaTrendCard
- Hide chart peak pills whenever all plotted values are zero and keep them hidden across hover and mouseleave transitions
- Hold the active conversation's last valid TTFT and mounted odometer digit reels while a new step's TTFT is still pending, and add @starting-style reel entry transitions
This commit is contained in:
fish
2026-11-25 03:42:33 +09:00
parent e520efe84e
commit e8616ab0c3
16 changed files with 5105 additions and 2198 deletions
+22 -2
View File
@@ -854,7 +854,7 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
border: none;
}
[data-modern-ui="true"] .trend-tooltip:not(.is-hm-top):not(.is-hm-bottom):not(.is-rich-breakdown) {
[data-modern-ui="true"] .trend-tooltip:not(.is-hm-top):not(.is-hm-bottom):not(.is-rich-breakdown):not(.is-floating-tip) {
top: 2px;
bottom: auto;
transform: translate3d(var(--tip-shift, -50%), var(--tip-y, 0px), 0);
@@ -868,6 +868,14 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
translateX(var(--tip-shift, 0px));
}
[data-modern-ui="true"] .trend-tooltip.is-floating-tip {
top: 0;
bottom: auto;
left: 0;
transform: translate3d(var(--tip-x, 0px), var(--tip-y, 0px), 0)
translateX(var(--tip-shift, 0px));
}
[data-modern-ui="true"] .trend-tooltip.is-tracking {
transition:
left 150ms var(--ease-modern),
@@ -880,7 +888,12 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
transition: transform 150ms var(--ease-modern);
}
[data-modern-ui="true"] .trend-hover-dot.is-tracking {
[data-modern-ui="true"] .trend-tooltip.is-floating-tip.is-tracking {
transition: transform 150ms var(--ease-modern);
}
[data-modern-ui="true"] .trend-hover-dot.is-tracking,
[data-modern-ui="true"] .sstep-hover-raw-dot.is-tracking {
transition:
cx 150ms var(--ease-modern),
cy 150ms var(--ease-modern);
@@ -1008,6 +1021,13 @@ html[data-standalone="true"][data-modern-ui="true"] .app-shell {
will-change: transform;
}
@starting-style {
:host([data-modern-ui="true"]) .wm-od-track,
[data-modern-ui="true"] .wm-od-track {
transform: translate3d(0, 0, 0);
}
}
:host([data-modern-ui="true"]) .wm-od-cell,
[data-modern-ui="true"] .wm-od-cell {
display: block;