Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions surfsense_web/app/(home)/downloads/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export default async function DownloadsPage() {
<section className="ss-home-hero ss-home-pad">
<div className="mx-auto max-w-2xl text-center">
<h1 className="ss-home-display">Download SurfSense</h1>
<p className="ss-home-lede mx-auto mt-6 max-w-xl">
One installer, no account, no cloud.
</p>
<p className="ss-home-lede mx-auto mt-6 max-w-xl">One installer, no account, no cloud.</p>
<TrialForm label="Download" note="" />
</div>
</section>
Expand Down
22 changes: 11 additions & 11 deletions surfsense_web/app/(home)/private-ai-for-business/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ export const metadata: Metadata = {
url: canonicalUrl,
siteName: "SurfSense",
type: "website",
images: [
{ url: "/og-image.png", width: 1200, height: 630, alt: "Private AI for business" },
],
images: [{ url: "/og-image.png", width: 1200, height: 630, alt: "Private AI for business" }],
},
twitter: {
card: "summary_large_image",
Expand Down Expand Up @@ -158,8 +156,8 @@ export default function PrivateAiForBusinessPage() {
you have the file, the deliverable comes out here, nothing is
uploaded, so there is no copy for anyone to reach. */}
<p className="ss-home-lede mx-auto mt-8 max-w-2xl">
You already have the file. The deliverable comes out on the same machine it went in
on: nothing is uploaded, so there is no vendor copy of your client's contract, your
You already have the file. The deliverable comes out on the same machine it went in on:
nothing is uploaded, so there is no vendor copy of your client's contract, your
patient's notes or your firm's numbers, and nothing for anyone to subpoena from us.
</p>
<p className="ss-home-body mx-auto mt-5 max-w-2xl text-sm">
Expand Down Expand Up @@ -216,8 +214,8 @@ export default function PrivateAiForBusinessPage() {

<div className="ss-home-rule ss-home-pad py-8">
<p className="ss-home-body max-w-4xl text-sm">
Every one of them also exports to PDF. What goes in is the file you already have:
PDF, Word, PowerPoint, Excel, HTML, CSV, Markdown, plain text and images.
Every one of them also exports to PDF. What goes in is the file you already have: PDF,
Word, PowerPoint, Excel, HTML, CSV, Markdown, plain text and images.
</p>
</div>
</section>
Expand Down Expand Up @@ -259,15 +257,17 @@ export default function PrivateAiForBusinessPage() {
<section className="ss-home-rule">
<div className="ss-home-head ss-home-head-plain">
<p className="ss-home-eyebrow">Compliance</p>
<h2 className="ss-home-h2 mt-2">Compliance depends on your controls, not on our software</h2>
<h2 className="ss-home-h2 mt-2">
Compliance depends on your controls, not on our software
</h2>
</div>

<div className="ss-home-pad pb-12">
<div className="ss-home-body flex max-w-3xl flex-col gap-4">
<p>
Whether a workflow is HIPAA, GDPR or SRA compliant depends on the controls around
it, and those are yours to establish. No piece of software carries that property on
its own.
Whether a workflow is HIPAA, GDPR or SRA compliant depends on the controls around it,
and those are yours to establish. No piece of software carries that property on its
own.
</p>
<p>
What we can tell you is narrower and checkable. The index and every prompt stay on
Expand Down
6 changes: 1 addition & 5 deletions surfsense_web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,7 @@ export default function RootLayout({
<SoftwareApplicationJsonLd />
</head>
<body
className={cn(
roboto.className,
roboto.variable,
"bg-[#141414] antialiased h-full w-full "
)}
className={cn(roboto.className, roboto.variable, "bg-[#141414] antialiased h-full w-full ")}
>
<PostHogProvider>
<LocaleProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
LayoutGrid,
LibraryBig,
ListFilter,
type LucideIcon,
Settings2,
TriangleAlert,
type LucideIcon,
Unplug,
Upload,
Wrench,
Expand Down Expand Up @@ -207,11 +207,7 @@ export function ComposerAddMenuDrawer({
<span className="flex-1 text-left">Manage Tools</span>
<ChevronRight className="size-4 shrink-0 text-muted-foreground" />
</button>
<button
type="button"
className={ROW}
onClick={() => push({ kind: "searchScope" })}
>
<button type="button" className={ROW} onClick={() => push({ kind: "searchScope" })}>
<ListFilter className="size-4 shrink-0 text-muted-foreground" />
<span className="flex-1 text-left">Search Scope</span>
{selectedSearchScope ? (
Expand Down Expand Up @@ -242,9 +238,7 @@ export function ComposerAddMenuDrawer({
<Icon className="size-4 shrink-0 text-muted-foreground" />
<span className="min-w-0 flex-1 text-left">
<span className="block font-medium">{option.label}</span>
<span className="mt-0.5 block text-xs text-muted-foreground">
{option.tooltip}
</span>
<span className="mt-0.5 block text-xs text-muted-foreground">{option.tooltip}</span>
</span>
{isSelected ? <Check className="size-4 shrink-0" /> : null}
</button>
Expand Down
5 changes: 4 additions & 1 deletion surfsense_web/components/assistant-ui/thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,10 @@ const Composer: FC<ComposerProps> = ({ isLoadingMessages = false, showExamplePro
onDismiss={() => setClipboardInitialText(undefined)}
/>
)}
<div ref={inputWrapperRef} className="aui-composer-input-wrapper relative px-4 py-2 sm:mb-5">
<div
ref={inputWrapperRef}
className="aui-composer-input-wrapper relative px-4 py-2 sm:mb-5"
>
<span
ref={placeholderMeasureRef}
aria-hidden="true"
Expand Down
3 changes: 1 addition & 2 deletions surfsense_web/components/homepage/home/home-sections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ export function HomeConfidential() {
<p className="ss-home-body mt-5">{CONFIDENTIAL.body}</p>
<p className="mt-6">
<Link className="ss-home-forward" href={CONFIDENTIAL.action.href}>
{CONFIDENTIAL.action.label}{" "}
<ArrowRightIcon aria-hidden="true" className="size-4" />
{CONFIDENTIAL.action.label} <ArrowRightIcon aria-hidden="true" className="size-4" />
</Link>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion surfsense_web/components/json-view.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use client";

import type { InteractionProps } from "@microlink/react-json-view";
import { useTheme } from "next-themes";
import dynamic from "next/dynamic";
import { useTheme } from "next-themes";
import { useCallback, useMemo } from "react";

// @microlink/react-json-view reads `document` at module-eval time, which throws
Expand Down
5 changes: 4 additions & 1 deletion surfsense_web/components/settings/git-remote-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,10 @@ export function GitRemoteSettings({
}}
className="w-full justify-start gap-2 font-normal"
>
<IconBrandGitlab size={14} className="shrink-0 text-muted-foreground" />
<IconBrandGitlab
size={14}
className="shrink-0 text-muted-foreground"
/>
<span className="truncate">{repo.full_name}</span>
</Button>
</li>
Expand Down
4 changes: 1 addition & 3 deletions surfsense_web/components/site/site-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ function Wordmark() {
priority
className="size-6 dark:invert"
/>
<span className="ss-home-wordmark text-lg text-[color:var(--foreground)]">
SurfSense
</span>
<span className="ss-home-wordmark text-lg text-[color:var(--foreground)]">SurfSense</span>
</Link>
);
}
Expand Down
3 changes: 1 addition & 2 deletions surfsense_web/lib/documents/git-synced-folders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export function folderDeletionTouchesSync(
if (mountId == null) return false;
const byId = new Map(folders.map((f) => [f.id, f]));
return (
isSelfOrDescendantOf(byId, folderId, mountId) ||
isSelfOrDescendantOf(byId, mountId, folderId)
isSelfOrDescendantOf(byId, folderId, mountId) || isSelfOrDescendantOf(byId, mountId, folderId)
);
}
Loading