Skip to content

Feature/161 a preview UI component for lancedb tables#215

Merged
felix-schultz merged 18 commits intodevfrom
feature/161-a-preview-ui-component-for-lancedb-tables
Aug 22, 2025
Merged

Feature/161 a preview UI component for lancedb tables#215
felix-schultz merged 18 commits intodevfrom
feature/161-a-preview-ui-component-for-lancedb-tables

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces a new "Explore Data" feature in the desktop app, allowing users to browse and inspect their project's database tables in a user-friendly interface. It adds backend support for listing tables, viewing table schemas, and paginated data retrieval, and updates the frontend to provide a rich UI for these capabilities. Additionally, several codebase improvements and minor UI/UX tweaks are included.

New Explore Data feature (frontend & backend):

  • Added a comprehensive UI in apps/desktop/app/library/config/explore/page.tsx for browsing database tables, searching, sorting, viewing schemas, and paginated data, with error/loading/empty states.
  • Implemented backend Tauri commands in apps/desktop/src-tauri/src/functions/app/tables.rs for listing table names (db_table_names), retrieving table schemas (db_schema), and paginated data listing (db_list).
  • Registered new Tauri commands in apps/desktop/src-tauri/src/lib.rs to make them available to the frontend.
  • Enabled the "Explore Data" navigation item in apps/desktop/app/library/config/layout.tsx by removing the disabled flag, and made related layout/padding tweaks for a better UI experience. [1] [2] [3]

Codebase and configuration improvements:

  • Added the new tables backend module to apps/desktop/src-tauri/src/functions/app.rs and made minor code style/organization improvements in other backend files. [1] [2] [3]
  • Enabled drag-and-drop in the desktop app window configuration for better usability. (dragDropEnabled in apps/desktop/src-tauri/tauri.conf.json)

Documentation and minor UI fixes:

  • Updated the README.md to clarify the scalability of Typed Workflows.
  • Improved loading and suspense UI in the website's backend provider for more consistent appearance. [1] [2]
  • Minor code formatting and cleanup in catalog and API packages for consistency. [1] [2] [3] [4] [5]

This update makes it much easier for users to inspect and interact with their project's database data directly from the desktop app, and lays the foundation for future database-related features.

feat: add database table functions for LanceDB integration

feat: implement LanceDBExplorer component for visualizing Arrow schemas

chore: update package dependencies for improved functionality
…BExplorer and implement persistent table settings
- Added a new method `getSpeed` to aggregate instantaneous speed, total downloaded bytes, total size, and progress percentage.
- Improved code formatting and consistency throughout the `DownloadManager` class.
- Refactored existing methods for better readability and maintainability.
- Ensured proper cleanup of download states on window unload.
- Changed accent color from oklch(0.3493 0.0215 18.2326) to oklch(0.4534 0.1177 22.9910) in global.css
- Updated accent color in flow-like-theme.json to match the new value
- Added new database query functionalities in `tables.rs` including `db_query`, `db_indices`, `db_delete`, and `db_add`.
- Integrated new commands into the Tauri application in `lib.rs`.
- Updated backend provider to include database state management in `backend-provider.tsx`.
- Introduced AWS credentials handling in `aws_credentials.rs` for database connections.
- Created new routes for database operations in `app.rs` and structured them in `db.rs`.
- Implemented index building and management in `build_index.rs`, `db_add.rs`, and `db_delete.rs`.
- Enhanced database listing and querying capabilities in `db_list.rs` and `db_query.rs`.
- Added TypeScript interfaces for database state management in `db-state.ts`.
- Created empty states for database operations in `empty-states/db-state.ts`.
- Updated UI components to handle new database functionalities and states.
@felix-schultz felix-schultz merged commit 3de8b3d into dev Aug 22, 2025
1 of 3 checks passed
@felix-schultz felix-schultz deleted the feature/161-a-preview-ui-component-for-lancedb-tables branch August 22, 2025 20:03
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