From 9df25c436592b522316eadb869dd8835726059c9 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Fri, 25 Apr 2025 19:29:51 -0700
Subject: [PATCH] Extremely basic chat component
---
.../app-frame/app-frame.component.html | 1 +
.../app-frame/app-frame.component.ts | 2 +
.../toasts-dropdown.component.html | 2 +-
.../components/chat/chat/chat.component.html | 31 +++++++
.../components/chat/chat/chat.component.scss | 22 +++++
.../components/chat/chat/chat.component.ts | 91 +++++++++++++++++++
.../src/app/interceptors/csrf.interceptor.ts | 14 +--
src-ui/src/app/services/chat.service.ts | 60 ++++++++++++
src-ui/src/app/services/csrf.service.ts | 23 +++++
src-ui/src/main.ts | 2 +
src/paperless/settings.py | 6 ++
11 files changed, 242 insertions(+), 12 deletions(-)
create mode 100644 src-ui/src/app/components/chat/chat/chat.component.html
create mode 100644 src-ui/src/app/components/chat/chat/chat.component.scss
create mode 100644 src-ui/src/app/components/chat/chat/chat.component.ts
create mode 100644 src-ui/src/app/services/chat.service.ts
create mode 100644 src-ui/src/app/services/csrf.service.ts
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html
index ff80288aa..d52db0c09 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.html
+++ b/src-ui/src/app/components/app-frame/app-frame.component.html
@@ -30,6 +30,7 @@
+
-