data-peek/apps/docs
Rohith Gilla 5cc4a55515
feat: web updates with pro license, customer portal, and safety improvements (#24)
* fix: prevent duplicate autocomplete suggestions in SQL editor

Use singleton pattern for Monaco completion provider to prevent
duplicates when multiple editor tabs are open. Also disable
word-based suggestions since the custom provider is comprehensive.


* feat(ai): prevent auto-execution of destructive SQL queries

Add safety guardrails to ensure UPDATE, DELETE, DROP, and TRUNCATE
queries are never auto-executed from the AI chat. Users must manually
review and execute these queries in a new tab.

- Add requiresConfirmation field to AI query response schema
- Update system prompt to require confirmation for destructive queries
- Hide "Run Query" button when requiresConfirmation is true
- Show "Review in Tab" button with warning styling instead


* feat: handle pro license

* feat: add customer portal

* feat: fix a few things

* chore: add simeple umami self hosted analytics

* fix: add globalEnv to turbo.json for Vercel builds

Declares environment variables required by the web app so Turborepo
passes them through during Vercel builds.

* refactor: use next/script for analytics with afterInteractive strategy

Replaces raw script tag with Next.js Script component for better
loading optimization, de-duplication, and automatic placement.
2025-12-03 16:44:38 +05:30
..
content/docs feat(docs): add Fumadocs documentation site 2025-11-30 09:55:07 +00:00
public feat: add docs 2025-11-30 22:28:59 +05:30
src feat: web updates with pro license, customer portal, and safety improvements (#24) 2025-12-03 16:44:38 +05:30
.gitignore feat: add docs 2025-11-30 22:28:59 +05:30
package.json feat: add docs 2025-11-30 22:28:59 +05:30
README.md feat: add docs 2025-11-30 22:28:59 +05:30
source.config.ts feat: add docs 2025-11-30 22:28:59 +05:30
tsconfig.json feat: add docs 2025-11-30 22:28:59 +05:30
vite.config.ts docs: disable prerendering in Vite config. 2025-11-30 22:35:49 +05:30

docs

This is a Tanstack Start application generated with Create Fumadocs.

Run development server:

npm run dev
# or
pnpm dev
# or
yarn dev