From 98c2174a672615b3ffcbcd3edfbf0df7b1a2878b Mon Sep 17 00:00:00 2001 From: Sergey Mozhaev Date: Fri, 12 Jun 2026 07:25:08 +0300 Subject: [PATCH] feat(ai): render ChatGPT Team (Codex + Chat) bullets in ai_adoption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FE-only layout placement for the ChatGPT Team metric_keys served by the analytics-api metric_catalog (insight #1282): chatgpt_active → ai_members, codex_lines / codex_sessions → ai_codex_detail, with matching display-order entries. Labels/sublabels/thresholds come from the wire catalog (post-#82, threshold-config.ts deleted). Rebased onto current main as a single signed commit (DCO). Part of constructorfabric/insight#497. Signed-off-by: Sergey Mozhaev --- src/lib/insight/bullet-layout-groups.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/insight/bullet-layout-groups.ts b/src/lib/insight/bullet-layout-groups.ts index f74b669..e5617f5 100644 --- a/src/lib/insight/bullet-layout-groups.ts +++ b/src/lib/insight/bullet-layout-groups.ts @@ -34,6 +34,7 @@ export const BULLET_LAYOUT_GROUPS: Record = { cursor_active: 'ai_members', cc_active: 'ai_members', codex_active: 'ai_members', + chatgpt_active: 'ai_members', team_ai_loc: 'ai_team_output', cursor_acceptance: 'ai_acceptance', cc_tool_acceptance: 'ai_acceptance', @@ -43,6 +44,8 @@ export const BULLET_LAYOUT_GROUPS: Record = { cursor_completions: 'ai_cursor_detail', cc_lines: 'ai_cc_detail', cc_sessions: 'ai_cc_detail', + codex_lines: 'ai_codex_detail', + codex_sessions: 'ai_codex_detail', chatgpt: 'ai_web', claude_web: 'ai_web', ai_loc_share2: 'ai_loc_share', @@ -124,6 +127,7 @@ const BULLET_DISPLAY_ORDER: readonly string[] = [ 'cursor_active', 'cc_active', 'codex_active', + 'chatgpt_active', 'team_ai_loc', 'cursor_acceptance', 'cc_tool_acceptance', @@ -133,6 +137,8 @@ const BULLET_DISPLAY_ORDER: readonly string[] = [ 'cursor_completions', 'cc_lines', 'cc_sessions', + 'codex_lines', + 'codex_sessions', 'chatgpt', 'claude_web', 'ai_loc_share2',