docs(qt): correct the stale search notes

The two whose falsifying commit does not touch their file, so R7 rule 2
could not put them beside the code.

QbzEmptyState claimed it had consolidated SearchView's and Cortinilla's
no-results states. Neither uses it - both draw their own line inline, and the
cortinilla's is a single 28px row inside a dropdown rather than a centred
block.

SearchView's SOURCE note justified its Qobuz-only assumption by saying the
local sections "are not ported". They are now. The assumption still holds for
the results PAGE, which is Qobuz-only, so the note is narrowed rather than
deleted - the cortinilla is a different document whose rows carry their own
source field.

Contract: qbz-nix-docs/qt-frontend/2026-08-03-cortinilla-parity, commit C12
(R7-7, R7-8).

cc
This commit is contained in:
vicrodh committed 2026-08-03 18:15:16 -06:00
1 parent b38b0b3d57
commit 28c04bd990
2 files changed
+17 -11

No files matched your search

+9 -4
View File
@@ -1,8 +1,13 @@
// QbzEmptyState — the plain centered empty state (title + optional icon /
// body / action), consolidated in phase 22 from HomeView.RecentPlaceholder,
// QueuePanel's empty queue, SearchView's no-results and Cortinilla's
// no-results. Slint has no shared EmptyState either (per-surface inline) —
// this is a POC-only consolidation; arms: `iconName` ("" = none), `title`,
// body / action), consolidated in phase 22 from HomeView.RecentPlaceholder
// and QueuePanel's empty queue.
//
// NOT used by SearchView or Cortinilla, contrary to what this header used to
// claim: both draw their own no-results line inline, because the cortinilla's
// is a single 28px row inside a dropdown rather than a centred block. Slint
// has no shared EmptyState either (per-surface inline).
//
// Arms: `iconName` ("" = none), `title`,
// `body` ("" = hidden), `actionLabel` + `actionClicked()` ("" = no action).
import QtQuick