mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user