pgcli icon indicating copy to clipboard operation
pgcli copied to clipboard

More compact bottom bar

Open vanviegen opened this issue 3 years ago • 1 comments

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 AUTHORS file (or it's already there).
  • [x] I installed pre-commit hooks (pip install pre-commit && pre-commit install), and ran black on my code.
  • [x] Please squash merge this pull request (uncheck if you'd like us to merge as multiple commits)

vanviegen avatar Jul 07 '22 11:07 vanviegen

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?

j-bennet avatar Sep 02 '22 16:09 j-bennet