Changeset e4c61dd for lan-frontend
- Timestamp:
- 01/24/26 18:03:24 (6 months ago)
- Branches:
- master
- Children:
- a762898
- Parents:
- d42aac3
- Location:
- lan-frontend
- Files:
-
- 4 added
- 2 edited
-
.env (modified) (1 diff)
-
src/components/AIAssistantDrawer.jsx (modified) (1 diff)
-
src/components/Dropdown.jsx (added)
-
src/components/SankeyPanel.jsx (added)
-
src/components/SankeyViz.jsx (added)
-
src/components/Visualisations.jsx (added)
Legend:
- Unmodified
- Added
- Removed
-
lan-frontend/.env
rd42aac3 re4c61dd 1 1 VITE_API_BASE=http://localhost:5555 2 2 VITE_GOOGLE_CLIENT_ID=43542590862-pt18e0hb33o41889bu976oshddoemivs.apps.googleusercontent.com 3 GRAFANA_API_TOKEN=KIC7rMwr4U8V-GI8suP5rGgNjdcQvB0cAvAwkwevTKw -
lan-frontend/src/components/AIAssistantDrawer.jsx
rd42aac3 re4c61dd 73 73 ]); 74 74 } else { 75 setMessages((m) => [ 76 ...m, 77 {role: "assistant", text: data.answer || "(no answer)"}, 78 ]); 75 const qs = Array.isArray(data.queries) ? data.queries : []; 76 const notes = data.notes || ""; 77 78 const text = 79 qs.length 80 ? `SQL queries:\n\n${qs.map((q, i) => `${i + 1}) ${q}`).join("\n\n")}\n\nNotes: ${notes}` 81 : `Notes: ${notes || "No queries returned."}`; 82 83 setMessages((m) => [...m, {role: "assistant", text}]); 79 84 } 85 80 86 81 87 } catch (e) {
Note:
See TracChangeset
for help on using the changeset viewer.
