Commit Graph

29 Commits

Author SHA1 Message Date
thomas
f41fe98ced Add new image names (#18) 2023-03-22 19:07:13 +00:00
544146
8d43b78900 Change image names to fix caching 2023-03-22 19:06:09 +00:00
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
thomas
2d3343c911 Merge pull request #12 from thomasasfk/readme-small
Small update to README.md
2023-03-20 21:45:47 +00:00
544146
159c071bed Small update to README.md 2023-03-20 21:45:28 +00:00
thomas
9db0cdaaf7 Merge pull request #11 from thomasasfk/readme-dependencies
Add dependencies section to README.md
2023-03-20 21:44:37 +00:00
544146
d3a3a43854 Add dependencies section to README.md 2023-03-20 21:44:04 +00:00
thomas
da708459ec Merge pull request #10 from thomasasfk/add-test-instructions-to-readme
Update README.md with testing instructions
2023-03-20 21:41:44 +00:00
544146
40fd47ffb3 Update README.md with testing instructions 2023-03-20 21:41:26 +00:00
thomas
aa7cd6f8a6 Merge pull request #8 from thomasasfk/test-for-safe-opt
Add tests for safely getting options
2023-03-20 21:29:34 +00:00
544146
da46da971a Add tests for safely getting options 2023-03-20 21:28:46 +00:00
thomas
2e8d24c56f Merge pull request #5 from thomasasfk/safely-get-options
Safely retrieve options
2023-03-20 20:12:01 +00:00
544146
2898de8abd Safely retrieve options
- Fixes issues where first launch after install raises AttributeError
- Moved all constants into _constants.py
- Moved all settings related functions into _settings.py
- Add sane defaults for last resort
2023-03-20 20:09:05 +00:00
thomas
5f5a7463d5 Merge pull request #4 from thomasasfk/update-readme
Update README.md to reflect changes
2023-03-20 16:00:44 +00:00
544146
912ff1844d Update README.md to reflect changes 2023-03-20 16:00:15 +00:00
thomas
7fe71cc5cd Merge pull request #3 from thomasasfk/add-status-badge
Add status badge
2023-03-20 15:53:36 +00:00
544146
b39444254e Add status badge 2023-03-20 15:52:35 +00:00
thomas
d320bd45f0 Merge pull request #2 from thomasasfk/add-unit-tests
Add parametrized unit test coverage
2023-03-20 15:49:24 +00:00
544146
4cd0a6d336 Run tests on main 2023-03-20 15:47:37 +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
544146
83c4a76caf Add parametrized unit test coverage 2023-03-20 13:35:47 +00:00
thomas
235ec21f3d Update README.md 2023-03-20 04:17:54 +00:00
thomas
3bb75c4fce Update README.md 2023-03-20 04:01:12 +00:00
544146
977fa06088 Fix README.md 2023-03-20 03:56:30 +00:00
544146
4cc60d7e13 Run pre-commit on entire project 2023-03-20 03:50:20 +00:00
544146
b77707c7cd Update README.md 2023-03-20 03:45:02 +00:00
544146
6f3748f390 Add initial files for Aspect Ratio Helper 2023-03-20 03:21:15 +00:00