Skip to content

Conversation

@AntoinePrv
Copy link
Member

@AntoinePrv AntoinePrv commented Dec 19, 2025

No description provided.

AntoinePrv and others added 8 commits December 22, 2025 11:11
Add SqliteToolbar similar to CsvToolbar to allow users to select which
table to view from SQLite files. Refactor common dropdown toolbar code
into a shared DropdownToolbar base class.

Changes:
- Add SqliteOptions interface and DEFAULT_SQLITE_OPTIONS
- Create abstract DropdownToolbar base class for shared functionality
- Implement SqliteToolbar with table name dropdown (placeholder values)
- Update widget factory to create SQLite toolbar for .sqlite files
- Update requests to send table_name parameter to server
- Refactor CSV toolbar to use new base class

The toolbar currently shows placeholder table names. The next commit will
connect it to the /arrow/file-info/ route to get actual table names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Connect the SQLite toolbar to the /arrow/file-info/ route to dynamically
fetch and populate the table name dropdown with actual table names from
the SQLite file.

Changes:
- Add fetchFileInfo function to requests.ts
- Update SqliteToolbar to asynchronously load table names on initialization
- Add updateTableNameOptions helper to dynamically populate dropdown
- Replace placeholder table names with actual ones from the database

The toolbar now displays the real tables available in each SQLite file
and automatically selects the appropriate table when the user changes
the selection.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Verifies that updating fileOptions triggers model reinitialization and fetches the first chunk.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@AntoinePrv AntoinePrv marked this pull request as ready for review December 22, 2025 14:04
@AntoinePrv AntoinePrv merged commit b12a595 into QuantStack:main Dec 22, 2025
7 checks passed
@AntoinePrv AntoinePrv deleted the sqlite branch December 22, 2025 14:29
@AntoinePrv AntoinePrv added the feature Add a new functionality to the project label Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Add a new functionality to the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant