Added an option to settings which allows the user to filter out the profiles which have no pet photo attached to them. Dynamically updates in real time after being pressed. It must be noted, that it simply changes the items displayed, and should the first group of pets not have photos at all, it will appear as none are there, but if you go into see all, you will be able to page and see that there are results there.
Fixes # 1
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
How Has This Been Tested?
Run in simulator and changed the settings multiple times.
[x] Test A
Test Configuration:
Firmware version:
Hardware: Mac Book Pro 2016
Toolchain: Simulator (?)
SDK: Xcode
Checklist:
[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Notes!
This does change the pets that appear to only display the ones with photos, but the ones without still exist as part of the request. The pet section view also does not fill in, but will simply only display the ones that would have had images. This will need to be updated in future so that instead of simply filtering out the ones we can see, it will filter in the call.
Pet Photo Filter
Added an option to settings which allows the user to filter out the profiles which have no pet photo attached to them. Dynamically updates in real time after being pressed. It must be noted, that it simply changes the items displayed, and should the first group of pets not have photos at all, it will appear as none are there, but if you go into see all, you will be able to page and see that there are results there.
Fixes # 1
Type of change
How Has This Been Tested?
Run in simulator and changed the settings multiple times.
Test Configuration:
Checklist:
Notes!
This does change the pets that appear to only display the ones with photos, but the ones without still exist as part of the request. The pet section view also does not fill in, but will simply only display the ones that would have had images. This will need to be updated in future so that instead of simply filtering out the ones we can see, it will filter in the call.