pgcli
pgcli copied to clipboard
More compact bottom bar
Description
The multiline and transaction parts of the bottom bar could be rather verbose, causing (import) info not to fit when using a somewhat narrow terminal. This PR removes some verbosity, while hopefully maintaining clarity.
This PR is based on PR #1354 as it touches some of the same code.
Checklist
- [x] I've added this contribution to the
changelog.rst. - [x] I've added my name to the
AUTHORSfile (or it's already there). - [x] I installed pre-commit hooks (
pip install pre-commit && pre-commit install), and ranblackon my code. - [x] Please squash merge this pull request (uncheck if you'd like us to merge as multiple commits)
Hi @vanviegen ,
I see your PR's tests are failing on test_virtual_database. We have some special handling for pgbouncer database, and I suspect transactions wouldn't be supported in that, so you might need to use that check for self.is_virtual_database(). Do you need help with this PR?