hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 24673fac96 dashboard: pre-fill resource-limit inputs so editing one doesn't clear the other
mara: 'filling just one of the fields should not touch the other.'

The cpu/mem override form always posts both fields, and the server
correctly treats an empty field as 'clear this override' (documented,
tested behavior in agent_config/resource_limits.rs). The bug was on the
client: the inputs only ever showed the current effective value as a
placeholder, never as the actual value — so a field left untouched
looked filled to the eye but posted empty, silently clearing whatever
override (or lack of one) was already in effect for that field.

Fix: set .value to the current effective value (already fetched and
displayed correctly in the read-only cap columns next to this form) so
leaving a field alone round-trips it unchanged. One resulting nuance
worth flagging: an agent with no per-agent override on a field, that's
purely tracking the hive-wide default, now pins that field to today's
default the first time *any* field on the form is edited, rather than
continuing to silently follow future hive-default changes. Fixing that
fully would need the server to expose whether each field is a real
per-agent override or just the resolved default, which is more than
this bug report asked for.
2026-09-21 15:55:05 +02:00
..
agent-menu treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
builds.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
call.js refactor(hive-c0re): drop the request_init_config tool and InitConfig approval 2026-09-14 19:03:44 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
common.js docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
core.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
core.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
core.js dashboard: pre-fill resource-limit inputs so editing one doesn't clear the other 2026-09-21 15:55:05 +02:00
credentials.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
credentials.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
credentials.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
dashboard.css docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
dashboard.html docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
flow.css docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
flow.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
flow.js docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
home.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
home.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
index.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
logs.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
logs.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
logs.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
permissions.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
schedules.js remove operator as target for scheduled prompts 2026-09-11 23:32:45 +02:00
state.js dashboard: remove the Y3R C4LL questions pane (ask/answer removal, frontend) 2026-08-29 20:35:27 +02:00
stats.css fix(stats): move window selector into the page header tab bar 2026-07-26 17:21:21 +02:00
stats.html treefmt: apply prettier 2026-09-02 15:25:07 +02:00
stats.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
stream-worker.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
swarm.js docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
system-sections.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
tabs.js refactor(hive-c0re): drop the request_init_config tool and InitConfig approval 2026-09-14 19:03:44 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00