Commit Graph

5 Commits

Author SHA1 Message Date
thomas
0e89df9266 Add aspect ratios configuration option (#15)
* Add aspect ratios configuration option

- Add new component for configurable aspect ratios
- Add options allowing for aspect ratios to use max option
- Update documentation to reflect aspect ratio functionality
- Refactor options to include in each relevant component
2023-03-22 19:01:24 +00:00
thomas
18d4199854 Abstract UI components, add UI ordering/sorting (#13)
* Abstract UI components

- Created an ABC for our UI components
- Extract components to its own module
- Add concept of sorting including option and defaults
- Update test for _safe_opt when attr is None
- Change import structure to avoid circular imports
2023-03-21 20:31:32 +00:00
544146
da46da971a Add tests for safely getting options 2023-03-20 21:28:46 +00:00
544146
90baa20c8b Add other cases to unit tests 2023-03-20 15:44:47 +00:00
544146
c4d2e7ec9e Refactor repository
- Split code up, so it can be easily unit tested
- Add unit tests for utility functions
- Add different display options for percentages
- Add contribution section on README.md
2023-03-20 15:27:12 +00:00