explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Update for use with Textual 0.9.1

Open castaway opened this issue 2 years ago • 2 comments

Description:

Codebase / User Interface now runs with Textual 0.9.1 release and Bluetooth Numbers 1.0.0 No functional changes to the interface

Checklist:

  • [x] The pull request is done against the latest development branch
  • [x] Only one feature/fix was added per PR and the code change compiles without warnings
  • [x] I accept the DCO.

castaway avatar Jan 15 '23 19:01 castaway

WIP / Draft because: The table view does not currently scroll up/down when using the mouse wheel. Does it on the older version of Textual? If so I think I probably need to swap the main ScrollView / Table for Container / DataTable, which is a subclass of ScrollView. (ScrollView itself is no longer exported as a main Textual widget)

castaway avatar Jan 15 '23 19:01 castaway

Hi, thanks for this effort! Have you taken a look at the code of humble-explorer? I used a DataTable there instead of a ScrollView. Scrolling works that way. I also had to create the BleakScanner object in the app's on_mount method to be able to run it on macOS (https://github.com/koenvervloesem/humble-explorer/pull/27).

koenvervloesem avatar Jan 16 '23 07:01 koenvervloesem