[pull] main from danvergara:main#95
Open
pull[bot] wants to merge 36 commits into
Open
Conversation
* build(gomod): install clipboard * feat(tui): add the ability to copy the content of a cell by pressing enter key * feat(tui): scroll back to the the beginning the cell selected when a table is selected * feat(tui): set focus to the content view after a successful query * feat(tui): fix table header visible after scrolling * docs(readme): add guidelines on how to copy content from table cell
* build(gomod): bump the golang version to 1.25.2 * build(dockerfile): bump the golang version to 1.25 * ci(github-actions): update actions to latest release * ci(github-actions): update ci actions on the docs config file * ci(github): bump linter binary version to support go 1.25 * ci(github): fix some errors in ci config * ci(github): fix yaml format on golang versions
* build(gomod): install testcontainers library and modules to run containers at will * test(client): refactor the client test suite to use testify's suite pkg and testcontainers to run containers at will without depending on docker compose * build(makefile): unify the test command to run the integration tests with the test target without docker compose * ci(actions): refactor the CI file to run the integration tests using test container without the external container services * build(scripts): remove the test_all.sh script * docs(contributing): update the CONTRIBUTING guidelines based on these changes * ci(actions): fix the db user for posgres * style(client): fix a typo * build(makefile): make db user a parameter
…ning queries that do not return anything (#275)
* feat(cmd): add a new flag * feat(config): add a function to read the keybindings values from the config values * test(config): add a new test function to validate the SetupKeybindings function * feat(root): set the keybindings value if the flag is set * build(make): add a k flag to the run command for testing purposes * docs(readme): update the documentation * docs(tui): update the outdated help string
* feat(oracle): add the ability to switch to other schemas * feat(client): fix the queries to query against ALL* tables * fix(client): fix set search_path query for postgres * feat(client): add a way to handle the schema in the client side for the oracle databases * feat(oracle): add a way to build queries based on if the schema flag is present or not * docs(config): fix a typo in the example config file * docs(readme): update the readme file to include the use of the schema for the oracle databases * refactor(client): refactor the oracle client to remove the else statements * docs(docs): update the documents in the docs directory
* fix(config): add missing fig struct tags * test(config): add missing ssh test assertions * docs: update docs to show example of the new fixes
…f dblab on homebrew (#277)
Co-authored-by: karthickkannans <k.kannan_krossark@heru.net>
* docs(mkdocs): add a logo to the docs site * docs(mkdocs): update docs to catch up with the latest changes
* bump to Go 1.26 * bump golangci-lint to 2.10
* update bubbletea dependencies * initial model * more boilerplate * add more boilerplate * basic UI setup * setup refactor * almost the basic dlab experience * refactor(bubbletui): refactor the dimension variables to keeep the View method clean * fix model dimensions * style(bubbletui): remove unused variables * feature parity with tview * add some doc comments * remove tview and the tui package * minor tweaks * keybindings * update the README * update screenshots * fix tree overflow * add got to top-down to the tree * add go to top/down navigation to the table list * fix undesire quit from the list * remove validation on database from the config connection * center logo and reduce the size of the title box * use bubbles table rather than the go-pretty one * update screenshots with the native table * fix a static check error indicating how to copy an slice to another
* update navigation docus * update usage
* migrate to treeview * fix error not checked errors * omit type at sideViewContent declaration * add icons * update tree image * remove a comment
* fix table cell size by storing the max width from rows * remove redundant conditional * change focus to the resulset view after successful queries * fix footer height calculation * fix node id collision by providing a guaranteed-unique id * add node id formatting * set the first database as the default one in the graph
* chore: add a file to dump messages for debugging using spew * add a new make command to connect to the pagila database for testing
#300) * feat: add keybindings to navigate all the way to end or the beginning of the current line on the viewport * docs: add the $ and 0 keybinginds to the dos * docs: add key bindings to the docs * fix fig tags * add test to validate new key bindings
* refactor(bubbletui): refactor the app model into different components * route query success msg to the sidebar * remove the old model * move the helper functions where they belong
* rename the keybindings variable * add keys to the config for the editor * add key handling to the editor * add key bindings to the config files * add more key bindings to the editor * update the readme file to remove the old tcell reference * deprecate the original execute query key binding * update the readme file based on the new key bindings * update the website documentation * add dump files * remove obvious comments * remove another obvious comment
* record demo gif with vhs * update the tape output
* refactor(client): add a way to return the database hierarchy from the db client * add db node data to build the tree on the ui * more progress * wip refactor: preload database graph * first working graph with postgres * correct behavior of the new graph making the schema optional * test(client): fix the test by passing the schemas since the tests run against a postgres container * chore: improve automation * fix(bubbletui): fix the sidebar height limit * feat(client): implement the catalog method across the board * style: fix linter errors * test(client): fix the query for mysql on CI * docs(docs): update docs and readme to support the new changes on the db name and schema flags * fix: remove the width constraint on the style wrapping the tree * chore(docs): update screenshots
* chore(bubbletui): upgrade to bubbletea v2 * fixes based on new sizes calculations * chore(git): add the sidebar debug file to the gitignore * fix(bubbletui): fix the title overflow * calculate the available height for the side viewport based on the actual height of the app title
* feat(bubbletui): refresh the catalog when a ddl query is executed * refactor(sidebar): remove the expand all method call * refactor(bubbletui): add an error message on the resultset view whenever the catalog loading fails
* feat(client): add fetch views methods to postgres and oracle * feat(bubbletui): add emoji for view * chore(client): call the fetchViews method * feat(client): add schema handling to the sql server * add full support for views listing and defintions across all database integrations * chore(makefile): add make target commands to run dblab agains test databases * docs(client): add doc comments
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )