Skip to content

Add CSV and SQLite viewers with XLSX export support - #15

Merged
vercel[bot] merged 1 commit into
mainfrom
v0/improve-local-db-viewer
Sep 15, 2026
Merged

vercel[bot] merged 1 commit into
mainfrom
v0/improve-local-db-viewer

Conversation

@vercel

@vercel vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor
  • Added interactive viewers for local CSV and SQLite database files.
  • Implemented XLSX export support for local data files.
  • Improved the user interface and performance of local database previews.

v0 Session

@vercel
vercel Bot merged commit 37e0f34 into main Sep 15, 2026
1 of 2 checks passed
@netlify

netlify Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploy Preview for lexispredict ready!

Name Link
🔨 Latest commit b39c1d8
🔍 Latest deploy log https://app.netlify.com/projects/lexispredict/deploys/6aa95e8dba94c800082c60a8
😎 Deploy Preview https://deploy-preview-15--lexispredict.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel
vercel Bot deleted the v0/improve-local-db-viewer branch September 15, 2026 15:04
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
private Building Building Preview Sep 15, 2026 3:04pm UTC

@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

@graphify-labs graphify-labs Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Graphify reviewed this change.

Worth a look — the grounded gate found no coupling regressions or blocking issues, but 3 advisory finding(s) below merit a look before merge.


Graphify review — findings

Streams XLSX export from the local SQLite viewer in 10k-row query chunks (yielding to the event loop between batches) instead of loading every row at once, so large tables export without blocking the UI. Adds a row-count control letting the user pick how many rows to export or select "all", caps the total at XLSX_MAX_ROWS, and names the download <table>-<n>-linhas.xlsx. Updates the file-size guidance copy to mention the SQLite WASM in-memory limit.

Worth a look

  • Concurrent file opens can publish a stale database and leak the newer onesrc/components/db/local-db-viewer.tsx:43 · Escalate · medium
    • agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review
  • exportXlsx reads database/current/exportRows without re-checking after await, allowing stale/closed statesrc/components/db/local-db-viewer.tsx:82 · Escalate · medium
    • agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review
  • Default XLSX export now truncates to 100 rowssrc/components/db/local-db-viewer.tsx:83 · Escalate · medium
    • agreed by 2 of 2 members but NOT verified (no proof, no reproducing execution) — consensus is not a verdict; needs human review
Analysis details — impact, health, verification

Impact & health

Graphify review

Impact — 7 functions depend on the 7 functions this change touches.

Health — grade A; no new coupling hotspots.

Verification — 7 functions in the blast radius were not formally verified this run (proofs are advisory here).

Gate & verification

graphify gate

PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.

Advisory (not blocking):

  • verification_scope: 7 function(s) in the blast radius were not formally verified this run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant