diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index a4c0b6c..b372403 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,6 +5,10 @@ this file is the curated, human-readable summary. ## Unreleased — Fast defaults with user-controlled source builds +- **Readable disabled Assistant buttons (2026-10-03).** Disabled primary + controls, including Send beside Clear History, now keep a visible label and + outline. The Send control still becomes active only after text is entered. + - **Reviewed external overlay registration (2026-10-03).** `sys overlay review ` resolves GPO leads through Gentoo's overlay registry and inspects each live Git repository, exact ebuild hash, amd64 diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 1fd922b..3983d9b 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -3,6 +3,12 @@ Rolling note between work sessions. **Update this file before you finish**, then commit it. It should be short and current; use `git log` for detail. +- **Assistant Send visibility (2026-10-03):** The button left of Clear History + is Send. Its disabled primary style used dark text on a dark fill, making the + label almost invisible with an empty prompt. The shared QML button now uses + a visible disabled label and outline; the running disposable VM displayed it + correctly after copying the component into the user-local Assistant config. + - **External overlay registration (2026-10-03):** The next user request asked `sys` to discover compatible third-party repositories, offer a choice, then add and keep the accepted repository synced. A deterministic review now diff --git a/docs/STATUS.md b/docs/STATUS.md index fbe587f..17c2754 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -48,6 +48,11 @@ disposable VM; `serial-driver.py recovery` now automates the same check. ## Matrix +Assistant Send button (2026-10-03): the shared button component now renders +disabled controls with a visible label and outline. The running disposable VM +showed Send beside Clear History while the prompt was empty; the control +remained disabled. This is a user-local QML preview, not a rebuilt ISO. + External overlay registration (2026-10-03): `sys overlay review` now performs bounded GPO and Gentoo registry lookups, clones candidate Git repositories into temporary review directories, and reports exact revisions, ebuild SHA-256, diff --git a/installer/live/desktop/common/PhoebusButton.qml b/installer/live/desktop/common/PhoebusButton.qml index f0bfc1b..a6f544e 100644 --- a/installer/live/desktop/common/PhoebusButton.qml +++ b/installer/live/desktop/common/PhoebusButton.qml @@ -24,10 +24,9 @@ Rectangle { implicitHeight: compact ? Theme.controlHeightCompact : Theme.controlHeightLarge implicitWidth: Math.max(compact ? 80 : 120, labelText.implicitWidth + (compact ? 28 : 48)) radius: Theme.radiusSmall - color: actionEnabled ? baseBg : Theme.surface - border.width: (primary || danger) ? 0 : 1 + color: actionEnabled ? baseBg : Theme.card + border.width: (!actionEnabled || (!primary && !danger)) ? 1 : 0 border.color: activeFocus ? Theme.focusRing : Theme.border - opacity: actionEnabled ? 1 : 0.55 activeFocusOnTab: true Accessible.role: Accessible.Button Accessible.name: label @@ -66,7 +65,8 @@ Rectangle { id: labelText anchors.centerIn: parent text: btn.label - color: (btn.primary || btn.danger) ? Theme.charcoal : Theme.warmWhite + color: !btn.actionEnabled ? (Theme.isLight ? Theme.lightMuted : Theme.muted) + : (btn.primary || btn.danger) ? Theme.charcoal : Theme.warmWhite font.family: Theme.family font.pixelSize: btn.compact ? Theme.fontSmall : Theme.fontBody font.weight: btn.primary ? Font.DemiBold : Font.Normal @@ -76,7 +76,7 @@ Rectangle { id: mouse anchors.fill: parent hoverEnabled: true - cursorShape: Qt.PointingHandCursor + cursorShape: btn.actionEnabled ? Qt.PointingHandCursor : Qt.ArrowCursor enabled: btn.actionEnabled onClicked: btn.clicked() }