basementdevs / scyllash

14 stars 1 forks source link

feat(app): refactor UI and remove current_keyspace #6

Closed Daniel-Boll closed 3 months ago

Daniel-Boll commented 3 months ago

This commit refactors the UI by adding sidebar and content functions to handle the layout. The current_keyspace field is removed from the App struct. The Default trait implementation for App is simplified. The handle_key_event function now has a clippy allow attribute for single_match. The Widget trait implementation for App is updated to use the new sidebar and content functions.

Signed-off-by: Daniel Boll danielboll.academico@gmail.com