phoebus_os/installer/live/desktop/common/PhoebusCard.qml
Phoebus 7e9fa9c2a3
Some checks are pending
ci / test (push) Waiting to run
feat(installer): graphical welcome and install wizard over a typed bridge
Add a branded live welcome window and a Quickshell/QML installer frontend
over a narrow, fail-closed JSON bridge (phoebus-installer --gui-bridge)
that reuses the same InstallConfig, plan, validation, authorization and
staged executor as the TUI/CLI. Add the Phoebus brand system (emblem,
wordmark, wallpaper, tokens), suppress DMS first-run dialogs on the live
medium, identify the live medium as protected, make the installer
shortcut live-only, and fix the installed boot default so systemd-boot
never selects the recovery entry.

Verified in a disposable graphical VM (welcome/installer journey,
duplicate prevention, keyboard navigation, blocked AI prerequisite) plus
a real non-interactive install and detached boot (INSTALL-RC=0,
NO_SECRET_LEAK, systemd running, 0 failed units, LUKS2, Btrfs, network).
2026-09-21 13:13:40 -07:00

32 lines
843 B
Bash

import QtQuick
// A raised surface with a hairline border and the standard radius.
//
// Put children in the `content` column; they should set `width: parent.width`
// for full-width content, and their implicit heights determine the card's.
Rectangle {
id: card
default property alias content: col.data
property int padding: Theme.pad
property int spacing: 10
property color fill: Theme.surface
property bool outlined: true
color: fill
radius: Theme.radius
border.width: outlined ? 1 : 0
border.color: Theme.border
implicitWidth: 320
implicitHeight: col.implicitHeight + padding * 2
Column {
id: col
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: card.padding
spacing: card.spacing
}
}