Skip to content

RC-0.0.6#29

Merged
AHS12 merged 22 commits intomainfrom
dev
Nov 8, 2025
Merged

RC-0.0.6#29
AHS12 merged 22 commits intomainfrom
dev

Conversation

@AHS12
Copy link
Copy Markdown
Owner

@AHS12 AHS12 commented Oct 26, 2025

Highlights

  • MySQL and PostgreSQL DDL import with asynchronous parsing and progress reporting.
  • Gallery pagination (10 per page) with simple previous/next controls.
  • Card‑based database selection in Create Diagram.
  • Improved Import Dialog validation and database icons.

New & Improved

  • MySQL and PostgreSQL DDL Import (8bee30f): import SQL DDL files/scripts to generate diagrams.
  • Enhanced MySQL/PostgreSQL Parser (b972563): async parsing, composite foreign keys, extra column attributes, better syntax coverage, diagnostics for warnings/errors, and visible progress in ImportDialog.
  • Gallery Sort & Search (dba6ee9): quickly locate diagrams with A–Z sorting and a search bar.
  • Pagination (a518c78): display 10 items per page with previous/next.
  • Create Diagram UI (a518c78): replace dropdown with database icon cards (MySQL, PostgreSQL; SQL Server, SQLite coming soon).
  • Import Dialog UX (e93e023, a518c78): database icons, clearer validation, and progress updates.
  • Relationship‑Based Layout (6f41ce4): auto‑organize tables by foreign‑key relationships.
  • Zone‑Aware Reorganization (7e1ad2f): lock zones, warn before reorganizing, and respect locked areas.
  • Duplicate Diagram (d300ad1): duplicate existing diagrams with unique IDs.
  • Table Overlap Option (b9aa3e4): allow overlap during creation when compactness is desired.
  • What’s New Dialog (25904e7): in‑app release notes with Markdown.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • Tests added/updated
  • All tests pass locally
  • Tested on multiple browsers (Chrome, Firefox, Safari, Edge)

Test Environment:

  • Browser: EDGE
  • OS:

Checklist

  • Code follows project style
  • Self-reviewed code
  • Updated documentation
  • Backward compatible (or breaking change documented)
  • No new warnings/errors

Additional Notes

Any extra context or screenshots.

AHS12 added 2 commits October 2, 2025 10:06
…nal features

- Add async parsing with progress reporting for large schemas
- Support composite foreign keys and additional column attributes
- Improve parsing accuracy for various MySQL syntax elements
- Add diagnostic reporting for parsing warnings and errors
- Update ImportDialog to show parsing progress
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 26, 2025

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

Project Deployment Preview Comments Updated (UTC)
thoth-blueprint Ready Ready Preview Comment Nov 8, 2025 10:06am

refactor: replace array finds with Map lookups for O(1) access
perf: memoize CustomEdge, NoteNode, ZoneNode and TableNode components
refactor: store diagrams in Map for efficient lookups
perf: optimize relationship creation and edge inspection
AHS12 added 6 commits November 6, 2025 23:07
- Implement hierarchical layout algorithm with collision detection
- Add UI controls for manual reorganization and import option
- Disable default focus behavior during selection
- Include force-directed layout as alternative approach
- Implement zone-aware table reorganization that respects locked zones
- Add warning dialog before reorganization showing affected elements
- Introduce diagram locking functionality to prevent accidental changes
- Enhance isNodeInsideZone utility to support explicit dimensions
- Update store to handle diagram locking state and zone-aware reorganization
Implement diagram duplication in store with unique name generation and ID mapping. Add duplicate button to DiagramGallery UI with Copy icon. The feature allows users to create copies of existing diagrams while maintaining all original elements with new unique identifiers.
- Implement PostgreSQL DDL parser with support for CREATE TABLE statements
- Add PostgreSQL-specific UI elements and documentation
- Handle PostgreSQL-specific features like dollar-quoted strings and enum types
- Update import dialog to support both MySQL and PostgreSQL DDL imports
AHS12 added 4 commits November 8, 2025 13:27
The parser previously failed to recognize enum types when they were schema-qualified (e.g., public.employment_type). This change adds proper handling by examining the raw token and normalizing the identifier to check against known enum types.
- Replace inline editing with dedicated dialogs for better UX
- Move dbTypeDisplay to shared lib for consistency
- Add validation for zone name uniqueness
- Replace select dropdown with card-based database type selection in CreateDiagramDialog
- Add pagination support to DiagramGallery with 10 items per page
- Enhance ImportDialog validation and user experience
@AHS12 AHS12 changed the title (feat): Add Import support for SQL and DBML RC-0.0.6 Nov 8, 2025
@AHS12 AHS12 merged commit a4f30d9 into main Nov 8, 2025
4 checks passed
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