Feat/refactor and adding multiple database support#36
Merged
abeni16 merged 14 commits intoJun 30, 2026
Conversation
This commit introduces support for MongoDB as a database engine, updating the relevant types and connection dialogs. It modifies the connection handling to include MongoDB-specific connection strings and ensures the application can manage MongoDB clients. Additionally, the SQL editor is updated to handle JSON language mode for MongoDB queries, enhancing the overall functionality of the application.
This commit introduces support for DuckDB and Redis as database engines, updating the relevant types and connection handling. It modifies the connection dialogs to accommodate these new engines, enhances the connection string parsing and building functions, and updates the application state management to include DuckDB and Redis connections. Additionally, it implements export functionality for DuckDB results in both CSV and JSON formats, improving the overall database management capabilities of the application.
This commit introduces a new animated particle background to the onboarding flow, improving visual engagement. It updates the onboarding steps to include additional database engines and privacy features, enhancing user guidance. The connection dialog now displays icons for various database engines instead of text labels, providing a more intuitive interface. Additionally, the build configuration is updated to reflect changes in asset paths and improve overall application performance.
This commit adds the `thiserror` crate for improved error handling and refactors the database connection handling by modularizing the code into separate engine modules. It updates the connection commands to utilize the new engine abstractions, enhancing maintainability and scalability. Additionally, it modifies the `db.rs` file to expose public modules for better accessibility across the application.
This commit introduces a new theme selection feature in the settings dialog, allowing users to choose from multiple themes including 'sepia', 'ocean', 'forest', 'rose', 'slate', and 'amber'. It refactors the theme handling logic to support these new themes and updates the CSS to apply the corresponding styles. Additionally, it enhances the settings dialog UI for better user experience and integrates theme labels for improved clarity.
This commit introduces support for SRV connection strings in MongoDB, allowing users to connect to MongoDB Atlas and other SRV-enabled databases. It updates the connection input types, modifies the connection string building logic, and enhances the connection dialog to include an option for SRV usage. Additionally, it refactors related components to ensure compatibility with the new connection handling, improving overall database connectivity options.
This commit adds support for Redis as a database engine, updating the connection string parsing and building functions to accommodate Redis-specific formats. It enhances the connection dialog to include Redis options and refactors related components for improved usability. Additionally, it updates the build configuration to reflect changes in asset paths.
This commit introduces a new update check feature in the settings dialog, utilizing the `useUpdateCheck` hook to manage update status and display relevant information to the user. It refactors the update checking logic, replacing the previous implementation with a more streamlined approach. Additionally, it updates the build configuration to include the `semver` dependency for version comparison, enhancing the overall user experience in managing application updates.
…nt and collection name extraction This commit updates the DuckDB query result structure to include the actual row count, enhancing the accuracy of query results. Additionally, it introduces a new function to extract collection names from MongoDB shell syntax, improving the parsing logic for MongoDB queries. Unit tests are added to validate the new collection name extraction functionality, ensuring robustness in handling various MongoDB query formats.
This commit refines the MongoDB export process by introducing a new function to resolve database and collection names from MongoDB query strings. It updates the export functions to utilize this new logic, ensuring accurate handling of various query formats. Additionally, unit tests are added to validate the new functionality, enhancing the robustness of MongoDB data exports.
This commit enhances the DuckDB query execution functions by introducing a `quote_identifier` utility to ensure proper quoting of table and column names. It updates the SQL query construction to use this utility, improving the safety and correctness of SQL statements generated for DuckDB operations. This change helps prevent SQL injection and syntax errors related to unquoted identifiers.
This commit updates the asset paths in the build configuration, replacing the JavaScript file reference to ensure the correct version is loaded. Additionally, it modifies the ModelWorkspace component to conditionally render the inspector table, enhancing the component's flexibility and usability in displaying model details.
…erences This commit adds a new button in the VeloxApp component that utilizes the RobotIcon for triggering the Ask Veloxy feature, improving user interaction. Additionally, it updates the asset paths in the build configuration to ensure the correct JavaScript file is loaded, enhancing the overall application performance.
This commit modifies the TabsTrigger components in the VeloxApp to remove unnecessary padding classes, streamlining the styling for better consistency. This change enhances the visual presentation of the tabs without altering their functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.