Skip to content

Conversation

@jasir99
Copy link
Contributor

@jasir99 jasir99 commented Jan 13, 2026

No description provided.

Nuri1977 and others added 26 commits January 6, 2026 11:31
- Added `wordBreak: 'break-all'` and `overflowWrap: 'anywhere'` to Typography components displaying file paths and connection strings.
- Fixed layout issues caused by long text in:
    - DataLakeInstanceDetails (Data Path, Metadata Path, Host, Temp Directory)
    - DataLakeTableDetails (Table Path, Data File Paths)
    - DataLakeInstances (Data Path column in the list view)
    - DataLakeConnectionWizard (Location in the review step)
… consolidate instance types

- Implement "Refresh" functionality in DataLake details to manually invalidate cache for tables and health status.
- Centralize [DuckLakeInstance] interface in [src/types/duckLake.ts] and merge hydrated UI properties (health, stats).
- Refactor [DataLakeInstanceDetails] and [DataLakeSidebar] to use the shared central interface.
- Standardize runtime configuration access to handle both `runtime` and `runtimeOptions` properties.
… table sorting

- Implement server-side pagination and filtering for instance snapshot history across DuckDB, SQLite, and PostgreSQL adapters
- Add search functionality and MUI TablePagination to the Instance History tab for efficient browsing of large snapshot sets
- Enhance CSV import robustness in DataLakeTableImportWizard by using `read_csv_auto` with `ignore_errors=true` and `null_padding=true`
- Implement frontend sorting for DataLake tables to display the most recently created tables at the top
- Update DuckDB adapter to fetch actual table creation timestamps by joining with snapshot metadata
- Populate "Last Accessed" column in table lists using the `updatedAt` timestamp
- Refine History tab UI with a minimal search bar design and fixed placeholder truncation
Properly encode username, password, and database name in PostgreSQL
connection URLs to handle special characters.
- Implemented `renameTab` in [useTabManager] to properly update tab paths and titles when files are renamed.
- Updated `closeTabByPath` to recursively find and close all tabs associated with files inside a deleted directory.
- Added `onRename` callback propagation from [RenderTree] up to [ProjectDetails] to synchronize tab state with file system operations pursuant to rename actions.
- Refactored [RenderTree] to trigger the rename callback upon successful file rename.
- Path computation failed when filename appeared multiple times in path (e.g., projects/test/test/file.txt)
- Implement backend query cancellation for Postgres, Redshift, Snowflake, Databricks, and DuckDB
- Create `connector:cancel-query` IPC channel and tracking mechanism for active queries
- Add "Stop Query" button with centered layout in the results pane
- Update [SqlEditor] to generate unique query IDs and handle cancellation flow
- Refactor `QueryResult` styling to ensure success messages are top-aligned and full-width
- Remove redundant `toast.error` calls (errors are now shown inline)
- Fix row count display formatting in query results
- Add `projectName: string` to the `client.post` generic in [queryData]
- Ensure type alignment between frontend service and backend IPC handler
… files

When switching from an editable tab to a non-editable file (e.g., .duckdb),
the previous tab's content was being overwritten with the non-editable
file's placeholder message.

Root cause: Monaco editor fires onChange events when its value prop changes
during tab switches. The handleChange callback had stale closure references,
causing content updates to be attributed to the wrong tab.

Changes:
- editor/index.tsx: Use refs to track activeTabId and expectedContent
  synchronously during render. Only forward genuine user edits to state,
  ignoring Monaco's internal sync events during tab transitions.
- useTabManager.ts: Restore proper ID capturing from within setTabs
  callback and keep tabsRef in sync for consistent tab lookups.
…and-rename

fix: update editor tabs on file rename and folder deletion
…tory

feat: implement SQL query cancellation and refine result UI
- DataLakeInstanceDetails: Replace deprecated InputProps with slotProps
  for snapshot search field, moving startAdornment and sx into slotProps.input
- DataLakeTableImportWizard: Replace deprecated InputProps with slotProps
  for file path field, moving endAdornment into slotProps.input
- Add instance-wide snapshot history tab with paginated table view
- Filter table-specific snapshots by table ID in backend queries
- Add snapshot search with pagination reset on filter change
- Invalidate snapshot cache on refresh
- Fix text overflow with word wrapping in history columns
- Migrate TextField InputProps to MUI v6 slotProps format
- postgresql.adapter: Remove trailing commas in SELECT clauses for
  columnStatsQuery and dataFilesQuery to fix SQL syntax errors
- DataLakeInstanceDetails: Handle zero/negative bytes in formatBytes,
  add BigInt support and try/catch in safeToString, use exact:false
  for snapshot cache invalidation, reset pagination on filter change
- DataLakeTableImportWizard: Quote table name as identifier to prevent
  SQL injection and handle reserved words
- Update PostgreSQL, SQLite, and DuckDB adapters to properly escape
  `%`, `_`, and `\` in snapshot search filters to prevent unintended
  wildcard matching
- Add explicit `ESCAPE '\'` clause to all LIKE queries for consistent
  behavior across different database backends
Fix: Remove deprecated profiles config and fix editor tab state management
…history

Enhance/Implement DuckLake snapshot history pagination and UI text wrapping
@coderabbitai
Copy link

coderabbitai bot commented Jan 13, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jasir99 jasir99 merged commit c455cd7 into main Jan 13, 2026
3 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.

2 participants