relate: 77c0b897 --REQUIRES--> e1fad787

This commit is contained in:
Cal Corum 2026-03-01 20:20:55 -06:00
parent cd52b93f5a
commit ccd99bfde7
3 changed files with 25 additions and 2 deletions

View File

@ -6,7 +6,7 @@ tags: [sba-scouting, rust, caching, ratatui, async, tokio, sqlx, standings, api,
importance: 0.8
confidence: 0.8
created: "2026-03-02T00:33:19.472159+00:00"
updated: "2026-03-02T02:09:29.292144+00:00"
updated: "2026-03-02T02:20:55.066739+00:00"
relations:
- target: 1d64c80d-61ec-434f-902a-3a511e2b92c2
type: RELATED_TO
@ -43,6 +43,11 @@ relations:
direction: incoming
strength: 0.8
edge_id: fbf4a323-421b-4964-ba27-bffd66df6d69
- target: e1fad787-7de7-4f62-afb7-6df2ffdea1ed
type: REQUIRES
direction: outgoing
strength: 0.85
edge_id: cb95feca-40ee-4cfb-af50-cd2e1b8844cd
---
# Two-Phase Cached Loading Pattern

View File

@ -6,7 +6,7 @@ tags: [sba-scouting, rust, tui, navigation, keybinding, standings, ratatui, deci
importance: 0.7
confidence: 0.8
created: "2026-03-02T00:33:08.868540+00:00"
updated: "2026-03-02T00:33:47.329448+00:00"
updated: "2026-03-02T02:20:55.066739+00:00"
relations:
- target: 13e9c4dc-0e72-4b8f-987d-8a421f26ea80
type: BUILDS_ON
@ -33,6 +33,11 @@ relations:
direction: outgoing
strength: 0.6
edge_id: 354ec172-be4e-4a1b-9b97-f32ee5c454ef
- target: 77c0b897-4124-432f-84de-700ff82dcde1
type: REQUIRES
direction: incoming
strength: 0.85
edge_id: cb95feca-40ee-4cfb-af50-cd2e1b8844cd
---
# Standings Screen Navigation Key: 'w'

View File

@ -0,0 +1,13 @@
---
id: cb95feca-40ee-4cfb-af50-cd2e1b8844cd
type: REQUIRES
from_id: 77c0b897-4124-432f-84de-700ff82dcde1
from_title: "Two-phase cached loading pattern for API-heavy screens in Rust TUI"
to_id: e1fad787-7de7-4f62-afb7-6df2ffdea1ed
to_title: "Standings screen nav key chosen as 'w' in SBA Scout Rust TUI"
strength: 0.85
created: "2026-03-02T02:20:55.066739+00:00"
updated: "2026-03-02T02:20:55.066739+00:00"
---
The two-phase cached loading pattern was designed specifically for the standings screen. The nav key decision (w for standings) and the caching pattern are tightly coupled — the pattern's DB cache table (standings_cache) and background API refresh are the implementation of the standings screen that the nav key routes to.