feat(qt): About for 2.1.0 — codename, contributor sweep, sponsors

Codename becomes 'Rebuild Q (You Can (Not) Redo)'. The contributor list
gains the ten people whose work shipped since the last sweep — merged
PRs (b0bbywan, Ronjar, eldios, herder, PhilipVinc, Mazipani) and the
house rule for adopted work without a merge (pbaart's Dutch locale,
stshow's DLNA strict-renderer handling, RayneGit's Wayland clipboard
feature flag, LuckyTheCoder's Liquid Glass icon from issue #712) — and
the README list is now identical to the modal's.

New Sponsors section: public GitHub sponsors (linked chips) then Ko-fi
supporters by their public display names, in a fixed three-row strip
that scrolls itself, closed by the translated anonymous-sponsors line.
The panel grows to 920x860 and the modal now eats the wheel on scrim
and panel.

cc
This commit is contained in:
vicrodh committed 2026-08-31 11:50:32 -06:00
1 parent 4f065eb45f
commit bb3a971c0c
10 files changed
+262 -8

No files matched your search

+14 -2
View File
@@ -687,15 +687,27 @@ pull requests.
- [@boxdot](https://github.com/boxdot)
- [@arminfelder](https://github.com/arminfelder)
- [@afonsojramos](https://github.com/afonsojramos) — macOS port
- [@Vudgekek](https://github.com/Vudgekek) — macOS audio
- [@GwendalBeaumont](https://github.com/GwendalBeaumont) — i18n
- [@AdamArstall](https://github.com/AdamArstall)
- [@Vudgekek](https://github.com/Vudgekek) — macOS audio
- [@DoubleGate](https://github.com/DoubleGate)
- [@pbaart](https://github.com/pbaart) — Dutch translation
- [@hoyon](https://github.com/hoyon) — classical work grouping
- [@mxnix](https://github.com/mxnix) — Russian translation
- [@TerminalTilt](https://github.com/TerminalTilt) — Catppuccin themes
- [@Alexandre-Menigault](https://github.com/Alexandre-Menigault) — active lyrics wrapping
- [@MarkusAbtion](https://github.com/MarkusAbtion) — opt-in section navigation
- [@fengalin](https://github.com/fengalin) — crypto-provider test coverage
- [@luukvanderduim](https://github.com/luukvanderduim) — applied-filter visibility
- [@pbaart](https://github.com/pbaart) — Dutch translation
- [@b0bbywan](https://github.com/b0bbywan) — ALSA buffer sizing
- [@stshow](https://github.com/stshow) — DLNA strict-renderer casting
- [@Ronjar](https://github.com/Ronjar) — deb822 APT instructions
- [@eldios](https://github.com/eldios) — Nix packaging
- [@herder](https://github.com/herder) — Spotify-parity hotkeys and the Vim keymap
- [@PhilipVinc](https://github.com/PhilipVinc) — daemon event hooks
- [@Mazipani](https://github.com/Mazipani) — Chromecast X.509 v1 certificates
- [@RayneGit](https://github.com/RayneGit) — Wayland clipboard
- [@LuckyTheCoder](https://github.com/LuckyTheCoder) — macOS Liquid Glass icon
## License
@@ -6293,3 +6293,9 @@ msgstr "Zufällig stammt der Entwickler und Maintainer dieser Software aus Mexik
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Sponsoren"
msgid "And all those anonymous sponsors..."
msgstr "Und all die anonymen Sponsoren..."
@@ -6299,3 +6299,9 @@ msgstr "Dicho sea de paso, el desarrollador y mantenedor de este software es de
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Patrocinadores"
msgid "And all those anonymous sponsors..."
msgstr "Y todos esos patrocinadores anónimos..."
@@ -6291,3 +6291,9 @@ msgstr "Il se trouve que le développeur et mainteneur de ce logiciel est mexica
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Sponsors"
msgid "And all those anonymous sponsors..."
msgstr "Et tous ces sponsors anonymes..."
@@ -6275,3 +6275,9 @@ msgstr "実はこのソフトウェアの開発者・メンテナーはメキシ
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "スポンサー"
msgid "And all those anonymous sponsors..."
msgstr "そして、すべての匿名スポンサーの皆さん…"
@@ -6281,3 +6281,9 @@ msgstr "Toevallig komt de ontwikkelaar en beheerder van deze software uit Mexico
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Sponsors"
msgid "And all those anonymous sponsors..."
msgstr "En al die anonieme sponsors..."
@@ -6291,3 +6291,9 @@ msgstr "Acontece que o desenvolvedor e mantenedor deste software é do México,
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Patrocinadores"
msgid "And all those anonymous sponsors..."
msgstr "E todos esses patrocinadores anônimos..."
@@ -6311,3 +6311,9 @@ msgstr "Так уж вышло, что разработчик и мейнтей
msgid "OK"
msgstr "OK"
msgid "Sponsors"
msgstr "Спонсоры"
msgid "And all those anonymous sponsors..."
msgstr "И все те анонимные спонсоры..."
+91 -5
View File
@@ -210,6 +210,40 @@ Item {
}
}
// A sponsor chip — HandleChip minus the avatar circle (sponsors are
// names, not GitHub identities; only the GitHub-sponsor rows carry a
// url and become clickable). NOT a pill (ADR-008): radiusSm + border.
component SponsorChip: Rectangle {
id: sc
property string name: ""
property string url: ""
readonly property bool clickable: sc.url !== ""
height: 28
width: scText.implicitWidth + 24
radius: theme.radiusSm
border.width: 1
border.color: theme.borderSubtle
color: (sc.clickable && scArea.containsMouse) ? theme.surfaceHover : theme.surfaceElevated
Text {
id: scText
anchors.centerIn: parent
text: sc.name
color: (sc.clickable && scArea.containsMouse) ? theme.accent : theme.textPrimary
font.pixelSize: 13
font.weight: theme.weightMedium
}
MouseArea {
id: scArea
anchors.fill: parent
enabled: sc.clickable
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: QbzShell.openExternalUrl(sc.url)
}
}
// A small uppercase-ish section heading (11px semibold, +0.5 tracking).
component SectionHeading: Text {
color: theme.textMuted
@@ -257,6 +291,10 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: QbzAbout.aboutClose()
// Wheel-lock (the DiscoverConfigModal rule): a MouseArea consumes
// presses but lets wheel events fall through, so without this the
// page underneath kept scrolling behind the modal.
onWheel: function (wheel) { wheel.accepted = true }
}
}
@@ -274,16 +312,23 @@ Item {
Rectangle {
id: panel
anchors.centerIn: parent
// 840x770 capped, minus an 80px window margin — AboutModal.slint:163-164.
width: Math.min(root.width - 80, 840)
height: Math.min(root.height - 80, 770)
// The Slint reference was 840x770 (AboutModal.slint:163-164); grown
// for the Sponsors section (QoL round) so Contributors + Sponsors fit
// without crowding. Still capped by an 80px window margin.
width: Math.min(root.width - 80, 920)
height: Math.min(root.height - 80, 860)
radius: theme.radiusMd
color: theme.surfaceCard
border.width: 1
border.color: theme.borderSubtle
// Swallow clicks so they never reach the closing backdrop.
MouseArea { anchors.fill: parent }
// Swallow clicks so they never reach the closing backdrop — and the
// wheel, so a scroll outside the body Flickable (header, margins)
// does not reach the page behind the modal.
MouseArea {
anchors.fill: parent
onWheel: function (wheel) { wheel.accepted = true }
}
Item {
id: stack
@@ -540,6 +585,47 @@ Item {
}
}
Item { width: 1; height: 24 }
// Sponsors (QoL round) — GitHub sponsors first (linked),
// then Ko-fi supporters by their public display name.
// FIXED-HEIGHT strip of exactly three chip rows
// (3×28 + 2×8); the strip scrolls ITSELF, the modal
// never grows with the list.
SectionHeading { text: QbzSession.tr("Sponsors", QbzSession.trRev) }
Item { width: 1; height: 12 }
Flickable {
width: parent.width
height: 100
clip: true
contentWidth: width
contentHeight: sponsorFlow.height
boundsBehavior: Flickable.StopAtBounds
Flow {
id: sponsorFlow
width: parent.width
spacing: 8
Repeater {
model: root.doc.sponsors || []
delegate: SponsorChip {
id: sponsorChip
required property var modelData
name: sponsorChip.modelData.name || ""
url: sponsorChip.modelData.url || ""
}
}
}
}
Item { width: 1; height: 8 }
Text {
width: parent.width
text: QbzSession.tr("And all those anonymous sponsors...", QbzSession.trRev)
color: theme.textMuted
font.pixelSize: 12
font.italic: true
wrapMode: Text.WordWrap
}
Item { width: 1; height: 24 }
Rectangle { width: parent.width; height: 1; color: theme.borderSubtle }
Item { width: 1; height: 18 }
+115 -1
View File
@@ -64,7 +64,7 @@ fn build_commit() -> &'static str {
/// The release codename shown in the build-info grid.
///
/// HAND-SET, exactly like `AboutModal.slint:371`. Bump it with the version.
pub const CODENAME: &str = "Rebuild 破 (You Can (Not) Advance)";
pub const CODENAME: &str = "Rebuild Q (You Can (Not) Redo)";
/// Platform label for the build-info grid. This is the Qt port, so the label
/// reads "(Qt)" rather than the Slint build's "(Slint)".
@@ -108,6 +108,87 @@ const CONTRIBUTORS: &[&str] = &[
"MarkusAbtion",
"fengalin",
"luukvanderduim",
// 2.1.0 sweep (QoL round). Same house rule as above: credited because
// their solution or idea SHIPPED, merged PR or not — pbaart (Dutch
// translation, #561), b0bbywan (ALSA buffer sizing, #662), stshow (the
// DLNA strict-renderer handling qbz-cast carries, #541/#547), Ronjar
// (deb822 APT docs, #530), eldios (nix libjack2, #563), herder
// (hotkeys + Vim preset, #724), PhilipVinc (daemon event hooks, #700),
// Mazipani (Chromecast X.509 v1 fix, #730), RayneGit (arboard
// wayland-data-control, #727), LuckyTheCoder (the macOS Liquid Glass
// icon, issue #712 — an issue, not a PR, and credited all the same).
"pbaart",
"b0bbywan",
"stshow",
"Ronjar",
"eldios",
"herder",
"PhilipVinc",
"Mazipani",
"RayneGit",
"LuckyTheCoder",
];
/// Public GitHub sponsors of the author (`sponsorshipsAsMaintainer`,
/// `includePrivate: false` — ONLY logins GitHub itself shows publicly).
/// Hand-maintained, like [`CONTRIBUTORS`].
const GITHUB_SPONSORS: &[&str] = &[
"damienalexandre",
"ejrichards",
"nkopas",
"Eirikr70",
"Xameon42",
];
/// Ko-fi supporters, by the PUBLIC display name each typed into Ko-fi's
/// "From" field — never emails, never payment columns. The anonymous
/// defaults ("Supporter", "Ko-fi Supporter") are excluded here; they are what
/// the modal's "And all those anonymous sponsors..." line is for.
const KOFI_SPONSORS: &[&str] = &[
"voytrekk",
"Peppe",
"Bennytek",
"Aboto",
"turboapapera",
"voxit",
"Tom",
"Bopi",
"Sylvain Van Hoof",
"Torbi",
"Chris Heino",
"Pep",
"Roger",
"Norin",
"Niko",
"Mauzify",
"Max",
"forte_hunter",
"Anthony Philibert",
"Zeitfalle",
"Ben",
"silverbeetles",
"Mat",
"CB",
"Salty Pringles",
"oujou",
"Darktime ahead",
"Nebu",
"Otto",
"Hyrbii",
"Guillaume Michaud",
"Thomas",
"James",
"lollopolve",
"Julien",
"@adavid",
"Carlo",
"M.Rodorodette",
"C.H.",
"CraigMyers",
"Mal",
"Wouter Eerdekens",
"Ian B",
"valfaun",
];
/// How many contributor chips per wrap row (`about.rs:76`). Slint has no
@@ -153,6 +234,10 @@ struct Doc {
author_avatar: String,
#[serde(rename = "contributorRows")]
contributor_rows: Vec<Vec<Chip>>,
/// ADDITIVE (QoL round): the Sponsors section — GitHub sponsors first
/// (clickable, `url` set), then the Ko-fi display names (`url` empty).
/// FLAT, not row-grouped: only QML renders it, and `Flow` wraps.
sponsors: Vec<Chip>,
}
fn profile_url(handle: &str) -> String {
@@ -194,6 +279,19 @@ fn snapshot_doc() -> Doc {
.collect()
})
.collect(),
sponsors: GITHUB_SPONSORS
.iter()
.map(|handle| Chip {
name: (*handle).to_string(),
url: profile_url(handle),
avatar: String::new(),
})
.chain(KOFI_SPONSORS.iter().map(|name| Chip {
name: (*name).to_string(),
url: String::new(),
avatar: String::new(),
}))
.collect(),
}
}
@@ -334,6 +432,22 @@ mod tests {
assert_eq!(fengalin.url, "https://github.com/fengalin");
}
#[test]
fn sponsors_are_github_then_kofi_and_only_github_links() {
let doc = snapshot_doc();
assert_eq!(
doc.sponsors.len(),
GITHUB_SPONSORS.len() + KOFI_SPONSORS.len()
);
for (chip, handle) in doc.sponsors.iter().zip(GITHUB_SPONSORS) {
assert_eq!(chip.name, *handle);
assert_eq!(chip.url, profile_url(handle));
}
assert!(doc.sponsors[GITHUB_SPONSORS.len()..]
.iter()
.all(|chip| chip.url.is_empty()));
}
#[test]
fn release_url_is_the_v_prefixed_tag_for_the_running_version() {
let doc = snapshot_doc();