Skip to content

Commit e57de9d

Browse files
yyodsclaude
andcommitted
[green] presence-gate the exact-board spotlight on /flash
Include the selected release's waveshare-esp32-s3-lcd-147b presence in showWaveshareBoard so the real-hardware board photograph and exact-board guidance stay on the flash page for the access-controlled candidate, not only after public qualification, and simplify the profile-list gate to the same flag. Candidate mode swaps only the eyebrow to 'Exact-board reference · hardware qualification pending'; the photo asset and its v0.5.0 caption are deliberately unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016KVSKkd7KUMHqKXDhPXTj5 Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent 8fbfe09 commit e57de9d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎tools/web/src/app/flash/page.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ export default function FlashPage() {
4444
const releaseHasPicoProfile = Boolean(
4545
release?.profiles.some((profile) => profile.id === "rpi-pico2-w"),
4646
);
47+
// The real-hardware board photo accompanies the profile whenever the
48+
// selected release or preview offers it — candidate builds included.
4749
const showWaveshareBoard =
48-
waveshareLcd147b ||
50+
releaseHasWaveshareProfile ||
4951
preview?.profiles.some(
5052
(profile) => profile.id === "waveshare-esp32-s3-lcd-147b",
5153
);
@@ -82,7 +84,9 @@ export default function FlashPage() {
8284
<p className="eyebrow">
8385
{preview
8486
? "Exact-board reference"
85-
: "Validated display board"}
87+
: candidate
88+
? "Exact-board reference · hardware qualification pending"
89+
: "Validated display board"}
8690
</p>
8791
<h2 id="waveshare-lcd147b">Waveshare ESP32-S3-LCD-1.47B</h2>
8892
{preview ? (
@@ -199,7 +203,7 @@ export default function FlashPage() {
199203
the display boot splash.
200204
</span>
201205
</li>
202-
{showWaveshareBoard || releaseHasWaveshareProfile ? (
206+
{showWaveshareBoard ? (
203207
<li>
204208
<strong>waveshare-esp32-s3-lcd-147b</strong>
205209
<span>

0 commit comments

Comments
 (0)