stack/apps/dashboard/src
aadesh18 8aa80ceb2c
AI in Stack Companion (#1297)
This PR puts the ask ai functionality into the ai stack companion, along
with persistent history.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* "Ask AI" chat sidebar with streaming assistant responses, progressive
word-by-word reveal, auto-scroll, Enter-to-send and Arrow-key
navigation, "Thinking…" and error indicators
* Chat UI primitives: inline/code blocks, smart links, copy-to-clipboard
for code/URLs, and expandable tool-result cards with copyable outputs

* **Bug Fixes**
* Prevented button/menu clicks inside list items from bubbling to parent
row handlers

* **Refactor**
* Chat rendering, streaming, parsing, and UI helpers consolidated into a
shared module and integrated into the sidebar widget
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2026-04-13 18:40:32 +00:00
..
app Add a dialog with sign-up rule trigger history 2026-04-09 11:55:26 -07:00
components AI in Stack Companion (#1297) 2026-04-13 18:40:32 +00:00
hooks Better Clickhouse errors during development 2026-01-30 22:39:17 -08:00
lib AI in Stack Companion (#1297) 2026-04-13 18:40:32 +00:00
globals.d.ts Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
instrumentation.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
polyfills.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
proxy.tsx Upgrade dashboard to Next.js 16 2025-10-20 23:29:44 -07:00
stack.tsx stack auth preview mode (#1307) 2026-04-08 16:57:42 -07:00