project-nomad/admin/inertia/components/chat
chriscrosstalk dabc869aeb
fix(chat): open full chat in place instead of a new window (#1181)
The chat modal's pop-out button called window.open('/chat', '_blank').
/chat is served by the admin app itself, so this spawned a second browser
window for a same-origin internal route.

That breaks anyone running NOMAD as an installed web app or in kiosk mode:
clicking it leaves a stray window they then have to get back out of, which
is exactly the complaint in #1123.

Navigate with router.visit instead, and relabel the button from "Open in
New Tab" to "Open Full Chat" so it describes what now happens. IconMessage
isn't in the DynamicIcon registry (deliberately curated for tree-shaking),
so use the already-registered IconArrowRight.

Refs #1123

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 03:39:55 +00:00
..
ChatAssistantAvatar.tsx feat: [wip] native AI chat interface 2026-01-31 20:39:49 -08:00
ChatButton.tsx fix(UI): switch to tabler icons only for consistency 2026-01-31 20:39:49 -08:00
ChatInterface.tsx fix(chat): make conversation layout responsive (#1090) 2026-08-04 03:37:42 +00:00
ChatMessageBubble.tsx feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
ChatModal.tsx feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
ChatSidebar.tsx fix(chat): open full chat in place instead of a new window (#1181) 2026-08-04 03:39:55 +00:00
CollectionCombobox.tsx feat(rag): add subject/collection organization to knowledge base (#1063) 2026-08-04 03:37:42 +00:00
CollectionsManager.tsx feat(rag): add subject/collection organization to knowledge base (#1063) 2026-08-04 03:37:42 +00:00
KbPolicyPromptBanner.tsx fix(KB): silent maybe-later error + redundant prompt-state refetches (PR #899 review) 2026-05-20 10:16:00 -07:00
KnowledgeBaseModal.tsx feat(rag): add subject/collection organization to knowledge base (#1063) 2026-08-04 03:37:42 +00:00
NomadMdModal.tsx feat(AI): nomad.md for custom instructions (#1127) 2026-08-04 03:38:33 +00:00
index.tsx feat(AI): per-model thinking toggle with global default (off) (#1079) 2026-08-04 03:38:29 +00:00