Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Leave no dot at the start of an empty import arc

AdamPlatin123f62b28a933bb
diff --git a/app/src/start/start.css b/app/src/start/start.css
index 0edc2c31..5b9056c7 100644
--- a/app/src/start/start.css
+++ b/app/src/start/start.css
@@ -100,7 +100,7 @@ html[data-up] .pond{translate:0 -60px;scale:.62}
fills with the copy (--f, from the main process's share); a failed copy keeps what it reached,
in red. It lights up once the card has flown into it (data-caught). */
.ring:not([data-n="4"]) .arc[data-phase=import]{display:none}
-.arc[data-phase=import]:is([data-state=active],[data-state=failed]) .arc-fill{stroke-dashoffset:calc(100 - var(--f,0) * 100);transition-duration:.3s;transition-timing-function:ease-out}
+.arc[data-phase=import]:is([data-state=active],[data-state=failed]) .arc-fill{stroke-dashoffset:calc(101 - var(--f,0) * 101);transition-duration:.3s;transition-timing-function:ease-out}
.arc[data-phase=import][data-state=failed] .arc-fill{stroke:var(--bt-danger)}
.arc[data-caught] .arc-base{stroke:var(--bt-ink-deepseek);stroke-opacity:.22;animation:bt-catch .42s ease-out}
@keyframes bt-catch{from{stroke-width:5;stroke-opacity:1}}
diff --git a/app/test/start-page.test.mjs b/app/test/start-page.test.mjs
index 9f81e354..88f798b5 100644
--- a/app/test/start-page.test.mjs
+++ b/app/test/start-page.test.mjs
@@ -147,6 +147,10 @@ test('an empty or hidden arc leaves no dot: no dash touches its path', () => {
for (const at of run) assert.equal(touches(dashes(glow), at), false, `the glow touches its arc at ${String(at)}`)
const draw = Number(css.match(/@keyframes bt-ring-draw\{from\{stroke-dashoffset:(-?[\d.]+)\}\}/u)[1])
assert.equal(touches(dashes(base), draw), false, 'the ring touches its arcs before it draws in')
+ // The import's arc fills with the copy (--f from 0 to 1): empty at 0, whole at 1.
+ const share = css.match(/\.arc\[data-phase=import\]:is\(\[data-state=active\],\[data-state=failed\]\) \.arc-fill\{stroke-dashoffset:calc\(([\d.]+) - var\(--f,0\) \* ([\d.]+)\)/u).slice(1).map(Number)
+ assert.equal(touches(dashes(fill), share[0]), false, 'an empty import arc touches its arc')
+ assert.equal(share[0] - share[1], 0, 'a full import arc is not whole')
// Shown, they cover the arc.
assert.equal(touches(dashes(fill), 0), true)
assert.equal(touches(dashes(base), offsetOf(base)), true)