feat(hub): auto-mark all archive trades on chart
Add 自动 toggle on archive chart; when on, load history span for all trades and plot numbered open/close arrows for each. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3972,6 +3972,9 @@ body.hub-page-ai #page-ai {
|
||||
border-color: var(--accent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
}
|
||||
.archive-chart-wrap {
|
||||
position: relative;
|
||||
}
|
||||
.archive-chart-host {
|
||||
height: 360px;
|
||||
min-height: 280px;
|
||||
@@ -3980,6 +3983,30 @@ body.hub-page-ai #page-ai {
|
||||
background: var(--panel);
|
||||
overflow: hidden;
|
||||
}
|
||||
.archive-mark-auto {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 10px;
|
||||
z-index: 5;
|
||||
padding: 4px 10px;
|
||||
font-size: 0.72rem;
|
||||
font-family: var(--font);
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border-soft);
|
||||
background: var(--chart-bar-bg, var(--inset-surface));
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.archive-mark-auto:hover {
|
||||
border-color: var(--accent);
|
||||
color: var(--text);
|
||||
}
|
||||
.archive-mark-auto.is-on {
|
||||
color: #22c55e;
|
||||
border-color: rgba(34, 197, 94, 0.45);
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
}
|
||||
.archive-trades {
|
||||
overflow: auto;
|
||||
max-height: 280px;
|
||||
|
||||
Reference in New Issue
Block a user