AI web: OPTIONAL markers for login and the admin screen; drop per-user model memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
461798127a
commit
24a064875e
1 file changed
+3
-1
@@ -12,7 +12,7 @@ const TABS = {
|
|||||||
review: ['Review', 'Check extracted fields against the document', <><path d="M4 4h10l6 6v10H4z" /><path d="m8 14 3 3 5-6" /></>],
|
review: ['Review', 'Check extracted fields against the document', <><path d="M4 4h10l6 6v10H4z" /><path d="m8 14 3 3 5-6" /></>],
|
||||||
report: ['Report', 'Result of every processed item', <><path d="M4 4h16v16H4z" /><path d="M8 9h8M8 13h8M8 17h5" /></>],
|
report: ['Report', 'Result of every processed item', <><path d="M4 4h16v16H4z" /><path d="M8 9h8M8 13h8M8 17h5" /></>],
|
||||||
cost: ['Cost', 'Tokens, spend and the case against doing it by hand', <><path d="M12 2v20" /><path d="M17 6H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" /></>],
|
cost: ['Cost', 'Tokens, spend and the case against doing it by hand', <><path d="M12 2v20" /><path d="M17 6H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" /></>],
|
||||||
// OPTIONAL: admin/roles tab goes here
|
// OPTIONAL: admin/roles tab goes here (its nav entry; the screen is below, in <section>)
|
||||||
} as const
|
} as const
|
||||||
type Tab = keyof typeof TABS
|
type Tab = keyof typeof TABS
|
||||||
|
|
||||||
@@ -37,6 +37,7 @@ export function App() {
|
|||||||
act('start_automation')
|
act('start_automation')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OPTIONAL: login page goes here (until signed in, return the sign-in screen instead of the shell)
|
||||||
return (
|
return (
|
||||||
<div className="flex h-screen">
|
<div className="flex h-screen">
|
||||||
<aside className="flex w-[230px] min-w-[230px] flex-col border-r border-line bg-glass max-[820px]:w-[66px] max-[820px]:min-w-[66px]" style={{ backdropFilter: 'var(--blur)' }}>
|
<aside className="flex w-[230px] min-w-[230px] flex-col border-r border-line bg-glass max-[820px]:w-[66px] max-[820px]:min-w-[66px]" style={{ backdropFilter: 'var(--blur)' }}>
|
||||||
@@ -101,6 +102,7 @@ export function App() {
|
|||||||
{tab === 'review' && <Review onUnsaved={setUnsaved} />}
|
{tab === 'review' && <Review onUnsaved={setUnsaved} />}
|
||||||
{tab === 'report' && <Report />}
|
{tab === 'report' && <Report />}
|
||||||
{tab === 'cost' && <Cost />}
|
{tab === 'cost' && <Cost />}
|
||||||
|
{/* OPTIONAL: admin/roles screen goes here (admins only) */}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user