nx_callui_research_fetch.nx source
↩ module page · 36 lines · 2837 B
1// nx_callui_research_fetch.nx -- GROUND the video-CALL UI/UX bar (operator 2026-07-03: "our ui and all
2// the stuff is still far behind -- use the nishi researcher and census and keep getting state of the art").
3// Banks the SOTA surface for call UIs over sovereign TLS-1.3: the incumbents (Jitsi/Zoom/Meet/FaceTime),
4// the interaction mechanics they share (green-room pre-join, active-speaker layout, PiP self-view, device
5// pickers, tile badges), and the design-system laws (responsive grid, safe-area, a11y, Fitts). Idempotent
6// have-skip. Sources -> knowledge/library. expect_exit: 0 license_tier: ORIGINAL
7import "nx_research_engine.nx"
8const K_MAGIC_8388608: i64 = 8388608
9
10func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { return rf_fetch_bank(u, o, store, out, cap) }
11
12func main() -> i64 {
13 let store: *TrustStore = rf_init()
14 if (store as i64) == 0 { rf_puts("callui: trust store load failed\n" as *u8); return 1 }
15 rf_puts("CA roots="); rf_putn(trust_store_count(store)); rf_puts(" -- CALL-UI SOTA: the bar to exceed\n" as *u8)
16 let cap: i64 = K_MAGIC_8388608
17 let out: *u8 = sys_mmap(cap)
18 var ok: i64 = 0
19 rf_section("the INCUMBENT call UIs (the benchmark set)" as *u8)
20 ok = ok + F("https://en.wikipedia.org/wiki/Jitsi" as *u8, "cui_jitsi" as *u8, store, out, cap)
21 ok = ok + F("https://en.wikipedia.org/wiki/Zoom_(software)" as *u8, "cui_zoom" as *u8, store, out, cap)
22 ok = ok + F("https://en.wikipedia.org/wiki/Google_Meet" as *u8, "cui_meet" as *u8, store, out, cap)
23 ok = ok + F("https://en.wikipedia.org/wiki/FaceTime" as *u8, "cui_facetime" as *u8, store, out, cap)
24 ok = ok + F("https://en.wikipedia.org/wiki/Microsoft_Teams" as *u8, "cui_teams" as *u8, store, out, cap)
25 rf_section("the INTERACTION MECHANICS every SOTA call UI shares" as *u8)
26 ok = ok + F("https://en.wikipedia.org/wiki/Picture-in-picture" as *u8, "cui_pip" as *u8, store, out, cap)
27 ok = ok + F("https://en.wikipedia.org/wiki/Videotelephony" as *u8, "cui_videotelephony" as *u8, store, out, cap)
28 ok = ok + F("https://en.wikipedia.org/wiki/Voice_activity_detection" as *u8, "cui_vad" as *u8, store, out, cap)
29 rf_section("the DESIGN LAWS (responsive/a11y/interaction)" as *u8)
30 ok = ok + F("https://en.wikipedia.org/wiki/Responsive_web_design" as *u8, "cui_responsive" as *u8, store, out, cap)
31 ok = ok + F("https://en.wikipedia.org/wiki/Fitts%27s_law" as *u8, "cui_fitts" as *u8, store, out, cap)
32 ok = ok + F("https://en.wikipedia.org/wiki/Web_Content_Accessibility_Guidelines" as *u8, "cui_wcag" as *u8, store, out, cap)
33 ok = ok + F("https://en.wikipedia.org/wiki/Dark_mode" as *u8, "cui_darkmode" as *u8, store, out, cap)
34 rf_puts("CALLUI BANKED: "); rf_putn(ok); rf_puts(" / 12 -- the UI bar is RESEARCHED, not asserted\n" as *u8)
35 return 0
36}