From b1c22229c5e3c246898ef5df158e63081c827de5 Mon Sep 17 00:00:00 2001 From: Schwitzz Date: Fri, 30 Oct 2026 11:41:00 -0500 Subject: [PATCH] feat: use enlarged single PS logo and add line-numbered AI suggestions with highlight/accept/deny/copy-to-note --- apps/web/src/components/Sidebar.tsx | 25 +- apps/web/src/components/WritingView.tsx | 31 +- apps/web/src/features/ai/AISidebar.tsx | 730 ++++++++++++++++++++---- apps/web/src/store/project-store.ts | 106 ++++ apps/web/src/store/settings.ts | 32 +- apps/web/src/styles/writing.css | 14 + packages/ai/src/ai-session.ts | 10 + packages/core/src/types.ts | 16 +- packages/ui/src/AppShell.css | 108 +++- 9 files changed, 903 insertions(+), 169 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 07a60b9..85317de 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -57,26 +57,11 @@ export function Sidebar({ nav }: SidebarProps) { style={{ cursor: "pointer" }} title="PubScript" > - {navCollapsed ? ( - PubScript - ) : ( -
- PubScript - PubScript -
- )} + PubScript + ); + } + return {part}; + }); }; return ( @@ -376,6 +744,16 @@ export function AISidebar({ fullPage = false }: AISidebarProps) { ✨ AI Studio {activeAgent.name} + {highlightedLine != null && ( + + )}