diff --git a/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md b/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md index cf285cf6d38..9eeff0f1999 100644 --- a/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md +++ b/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md @@ -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 diff --git a/graph/decisions/standings-screen-nav-key-chosen-as-w-in-sba-scout-rust-tui-e1fad7.md b/graph/decisions/standings-screen-nav-key-chosen-as-w-in-sba-scout-rust-tui-e1fad7.md index bd1d37aee77..06bb1f8e1c4 100644 --- a/graph/decisions/standings-screen-nav-key-chosen-as-w-in-sba-scout-rust-tui-e1fad7.md +++ b/graph/decisions/standings-screen-nav-key-chosen-as-w-in-sba-scout-rust-tui-e1fad7.md @@ -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' diff --git a/graph/edges/two-phase-cached-loading-patte--REQUIRES--standings-screen-nav-key-chose-cb95fe.md b/graph/edges/two-phase-cached-loading-patte--REQUIRES--standings-screen-nav-key-chose-cb95fe.md new file mode 100644 index 00000000000..bf1bcb14480 --- /dev/null +++ b/graph/edges/two-phase-cached-loading-patte--REQUIRES--standings-screen-nav-key-chose-cb95fe.md @@ -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.