SurfSense/surfsense_web
suryo12 20b8b99938 refactor(web): shrink LayoutShell.documentsPanel interface (fixes #1360)
The `documentsPanel` prop on `LayoutShell` declared `isDocked` and
`onDockedChange` alongside `open` / `onOpenChange`, but the shell never
forwarded those two extra fields to its consumers. `RightPanel` already
defines its own interface accepting only `open` / `onOpenChange`, and
`DocumentsSidebar` keeps both as optional props with safe fallbacks for
the rare cases that pass them directly.

Trim the interface to the two fields the shell actually plumbs through
and drop the matching `isDocumentsDocked` state and prop entries from
`LayoutDataProvider`, which was the only caller still populating the
dead fields (`FreeLayoutDataProvider` already passed the minimal pair).
`DocumentsSidebar` itself is untouched — its props remain optional so
direct consumers that want docking behaviour can still wire it.
2026-05-25 22:06:44 +07:00
..
app Merge pull request #1430 from suryo12/refactor/1362-oauth-typed-contract 2026-05-23 15:53:51 -07:00
atoms refactor: extract shared hasPermission helper (MODSetter/SurfSense#1366) 2026-05-22 12:08:05 +08:00
blog/content fix: update URLs to use the "www" subdomain across the application 2026-05-15 12:35:15 -07:00
changelog/content chore: added missed changelogs 2026-04-16 22:14:44 -07:00
components refactor(web): shrink LayoutShell.documentsPanel interface (fixes #1360) 2026-05-25 22:06:44 +07:00
content/docs feat(docs): add observability documentation 2026-05-23 03:18:25 +05:30
contexts feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
contracts refactor(web): centralize OAuth callback cookie contract (fixes #1362) 2026-05-23 23:22:18 +07:00
features/chat-messages refactor: replace action log sheet with dialog component and update related references 2026-05-18 01:34:41 +05:30
hooks feat: implement memory document fetching and saving functionality in the editor panel, and remove deprecated memory hook 2026-05-20 12:50:15 +05:30
i18n chore: linting 2026-03-27 03:17:05 -07:00
lib refactor(web): use last-seen-tick comparison for slideout listener 2026-05-24 18:13:36 +07:00
messages feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux 2026-04-14 21:26:00 -07:00
public feat: added adsense on /free page 2026-05-21 21:01:10 -07:00
tests chore: fix linting 2026-05-12 04:00:04 +05:30
types chore: linting 2026-04-27 14:04:50 -07:00
zero feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
.cursorrules feat: monorepo 2025-04-07 23:47:06 -07:00
.dockerignore chore: ignore Playwright runtime artifacts 2026-05-04 17:48:44 +05:30
.env.example feat: added adsense on /free page 2026-05-21 21:01:10 -07:00
.gitignore chore: update .gitignore and biome.json to include additional test-related directories and files for improved E2E testing 2026-05-12 03:59:52 +05:30
biome.json chore: update .gitignore and biome.json to include additional test-related directories and files for improved E2E testing 2026-05-12 03:59:52 +05:30
components.json chore: ran linting 2026-02-17 12:47:39 +05:30
docker-entrypoint.js format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
docker-entrypoint.sh feat: add Docker configuration files and installation script for SurfSense 2026-02-24 22:45:37 +05:30
Dockerfile chore: update Docker configuration to include pnpm workspace and refine dependency management 2026-05-11 15:31:24 +05:30
drizzle.config.ts chore: biome checks 2025-10-15 14:38:26 -07:00
eslint.config.mjs Biome: fixes for eslint config 2025-07-27 11:47:38 -07:00
instrumentation-client.ts feat: implement analytics tracking for desktop app events 2026-04-18 14:35:14 -07:00
instrumentation.ts feat: enhance error handling with PostHog integration 2026-03-12 01:28:39 -07:00
LICENSE feat: monorepo 2025-04-07 23:47:06 -07:00
mdx-components.tsx perf(images): add sizes prop to improve Next.js image loading 2026-04-03 22:11:21 +07:00
next.config.ts feat(next.config): enable remote SVG support with enhanced content security policy 2026-05-05 19:13:38 -07:00
package.json feat: bumped version to 0.0.25 2026-05-21 14:44:33 -07:00
playwright.config.ts chore: fix linting 2026-05-12 04:00:04 +05:30
pnpm-lock.yaml chore: remove caret from @rocicorp/zero dependency version 2026-05-13 03:34:28 +05:30
pnpm-workspace.yaml feat: added blog posts 2026-05-15 11:55:30 -07:00
postcss.config.mjs Initial formatting using biome 2025-07-27 10:05:37 -07:00
source.config.ts feat: added blog posts 2026-05-15 11:55:30 -07:00
svgr.d.ts chore: ran linting 2026-02-10 19:06:21 +05:30
tailwind.config.js feat: enhance UI components with new border radius and tooltip features 2026-01-20 17:35:08 +05:30
tsconfig.json feat: old chat to new-chat with persistance 2025-12-21 16:32:55 -08:00