basementdevs / scyllash

13 stars 1 forks source link

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

Closed Daniel-Boll closed 3 weeks ago

Daniel-Boll commented 3 weeks 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