mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
Merge branch 'main' into SaaS
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Core stub for the floating action button chat widget.
|
||||
* The real implementation lives in proprietary/components/chat/ChatFAB.tsx
|
||||
* and shadows this via the @app/* alias cascade in proprietary builds.
|
||||
*/
|
||||
export function ChatFAB() {
|
||||
return null;
|
||||
}
|
||||
@@ -17,6 +17,7 @@ import WorkbenchBar from "@app/components/shared/WorkbenchBar";
|
||||
import LandingPage from "@app/components/shared/LandingPage";
|
||||
import Footer from "@app/components/shared/Footer";
|
||||
import DismissAllErrorsButton from "@app/components/shared/DismissAllErrorsButton";
|
||||
import { ChatFAB } from "@app/components/chat/ChatFAB";
|
||||
|
||||
// Workbench panels are loaded on demand. Viewer pulls in pdfjs-dist and the
|
||||
// full @embedpdf plugin set; FileEditor/PageEditor are only needed once a file
|
||||
@@ -225,6 +226,9 @@ export default function Workbench() {
|
||||
{/* Dismiss All Errors Button */}
|
||||
<DismissAllErrorsButton />
|
||||
|
||||
{/* Floating AI chat button + panel */}
|
||||
<ChatFAB />
|
||||
|
||||
{/* Main content area */}
|
||||
<Box
|
||||
className={`flex-1 min-h-0 z-10 ${currentView === "pageEditor" ? "relative flex flex-col" : `relative ${styles.workbenchScrollable}`}`}
|
||||
|
||||
@@ -8,6 +8,10 @@ export const Z_ANALYTICS_MODAL = 1301;
|
||||
export const Z_INDEX_CONFIG_MODAL = 1400;
|
||||
|
||||
export const Z_INDEX_FILE_MANAGER_MODAL = 1200;
|
||||
|
||||
// Chat FAB overlay — sits above normal app chrome (fullscreen surface: 1000)
|
||||
// but below all modals (automate: 1100, file manager: 1200, config: 1400).
|
||||
export const Z_INDEX_CHAT_FAB_OVERLAY = 1050;
|
||||
export const Z_INDEX_OVER_FILE_MANAGER_MODAL = 1300;
|
||||
|
||||
export const Z_INDEX_AUTOMATE_MODAL = 1100;
|
||||
|
||||
Reference in New Issue
Block a user