feat/input-reader
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
1342979353 |
ci: Qodana - JetBrains' code analysis from a workflow of its own, and what its first run reported settled (D93) (#373)
* ci: Qodana - a workflow of its own from JetBrains' template, Qodana Community for .NET over FrameLedger.slnx (D93) The first run: the linter in its Linux container, EnableWindowsTargeting passed to it, no quality gate yet - what it builds and what it reports decides the rest. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * ci: Qodana's gate is zero problems, and the inspections this project argues with are off in .editorconfig, each with its reason (D93) Pushed before the fixes on purpose: the run this starts has the settings and none of the fixes, so it shows the gate failing on what is left. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix: what Qodana's first run reported, settled - about 400 fixes in 181 files, none changing behaviour; the documents (D93) Redundant qualifiers, casts, using directives, nullable suppressions and unsafe modifiers removed from the report's own positions; var for built-in types and one-line block bodies brought to .editorconfig's style by dotnet format; every XAML item template names its DataType and a binding that reached its page through DataContext.ViewModel names the page's type; two unread fields, two overwritten initialisers and an unused parameter removed; SpokenTextAutomationPeer no longer assumes the base peer's name is a string. docs/13_CI_CD.md §Qodana, CLAUDE.md, the wiki's workflow table, HANDOFF's decisions index (D93) and the changelog entry. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
fb0ee60fa0 |
feat(app): a game's page shows its artwork - your own image, else what the Steam or GOG GALAXY app keeps on this PC - in a band coloured from it (beta.23 PR-3) (#310)
The owner asked for a game's cover and hero art on its page, its colour optionally carried into the page (2026-10-14), and chose: images already on the PC only, a banner with a portrait cover, the colour on by default. D60 - where the artwork comes from: - The image the user chooses in Edit... > Choose image..., copied only once the dialog closed with Save (Cancel leaves nothing) as a PNG no larger than 1200 px a side, to the data folder's covers\game-<id>-<unix ms>.png - a new name for each choice, so a shown file is never written over - and named in games.cover_path relative to the data folder. A cover_path is followed only when it is one of those names, in that folder and never through a junction or a symbolic link: a viewer's copy of a ledger may come from anywhere, and a rooted, share (\\host\...) or .. path is never opened. "Use the store's image" deletes the copy, as removing a game with its sessions does; at start the App deletes the copies no row names (its own folder only, never a viewer's). - Else what the store's app keeps: Steam's appcache\librarycache\<appid>\ (flat, or in hash-named folders - library_600x900[_2x], library_capsule, library_hero, header, library_header; the newest copy wins) and GOG GALAXY's webcache\<user>\gog\<id>\ (WebP). Which store installed the game is asked of the stores' own records as Play asks (StoreRecords.Owning over Steam's and GOG's, kept two minutes), never of the row's platform alone; store ids are digits only. Epic's and itch's apps keep no image files. - Found, decoded (no larger than the page needs, frozen, the twelve latest kept) and coloured on the thread pool: the page's text is there first. Nothing is downloaded; privacy.online_metadata stays reserved. D61 - the band's colour: the artwork's dominant colour (a hue histogram of a 48 px copy, greys and near-black or near-white skipped) over the card's fill, at the strongest opacity - at most 30 % on the dark theme, 22 % on the light - at which every text the header shows still reads: primary and secondary 4.5:1, tertiary 3:1, the pills' and the warning's text 4.5:1 on their fills. Controls/ArtTint follows a theme switch through a resource reference on the band (ApplicationThemeManager.Changed is raised by Apply alone); no tint in high contrast; no text is ever drawn on a picture. Settings > Games: "Show game artwork" (ui.game_art) and "Colour the game page from its artwork" (ui.game_art_tint), both on. Strings in en, vi and ja (ja marked for review). Caught in a render of the page before this commit: the cover's own Style was not based on WPF UI's DefaultImageStyle, so the ui:Image had no template and drew nothing beside a banner that drew. PagesLoadTests.TheGamePagesArtworkIsDrawn and AccessibilityTests.NoStyleOfAWpfUiControlLeavesOutItsTemplate both ran red first; 16_WPFUI_SYNTAX's Gotchas list has it. Docs: Privacy Policy 2.11 (section 1: the images you choose; section 4: the store apps' images, and their records read when a game's page opens) with legal-drift-history, TRADEMARKS, THIRD_PARTY_NOTICES, LIMITATIONS (Game artwork), 08_UI, 16_WPFUI_SYNTAX, 06_DATA_MODEL, 01_ARCHITECTURE, 02_SPEC FR-1.3, 05_DETECTION, 12_BUILD, 20_OPEN_QUESTIONS (Cover art closed), guide 05/07/08, wiki App-UI-development, CHANGELOG. Tests: StoreArtCachesTests (both Steam layouts, the better cover and the newest copy, ids of another shape, nothing there, several GOG users), ColorMathTests (agrees with the tests' own WCAG; the hardest colours keep every pair readable in both themes), GameArtTests (source order, a missing own image, the D59 owning rule, off in Settings reads nothing, a cover_path not ours, a damaged file, records read once), CoverStoreTests (a new name each choice, a non-image leaves nothing, tidying keeps a removed row's image, deleting follows our names only, a covers junction is never followed), EditGameViewModelTests, GameDetailViewModelTests, PagesLoadTests (the band readable in both themes and through a switch; the edit dialog's image row; the artwork drawn). Local gate: ALL GATES PASSED in 282 s; the artwork classes 20 times green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |