User story
As a user with multiple ZIM files downloaded, I want to restrict browsing to certain ZIM files so that I can continue to use use the Offline Library using a subset of ZIMs without deleting unused ones entirely from my storage.
Note: This would be an edge case since there were no comments from user research indicating a desire to disable certain ZIMs.
Proposed solution
Allow users to disable searching from certain downloaded ZIM files.
Original task description
It is possible that a user would like to have multiple 'zim' files on his device but would not want every single one of them to be used by the app. The reasons could be,
- S/he might want to browse articles only from a particular 'zim' file to restrict search results
- S/he might want to stop receiving results from a 'zim' file for some time (Note: This isn't the same as 1)
- Something I missed for now but might add in the future ...
The app currently auto-discovers zim files which is nice but might not be something that few users might like as it prevents them from stopping the app from using a zim file. Further removing an item from the 'Offline Library' list also removes the associated zim file present in the storage. This hinders users from stopping the app from using a 'zim' file even after the app auto-discovers it.
For the app to allow users to choose which zim files the it should use, auto-discovery should not happen. The typical usage flow without auto-discovery might be something like,
Adding a zim file to 'Offline Library'
A 'zim' file obtained through the app
- Download a 'zim' file from the list of available ones
A 'zim' file obtained from an external source (sharing etc.)
- Get the 'zim' file to the local storage
- Try to open the 'zim' file and choose the app from the list (if shown) (This requires the app to associate itself with 'zim' files)
- This should show a detail screen with an option to "Add it to 'Offline Library'"
This would allow the user to choose if he wants the app to use a 'zim' file or not.
Removing a zim file to 'Offline Library'
A 'zim' file obtained through the app
- Choose the 'Remove' option from the concerned item
- User is shown a pop-up about whether to remove the 'zim' file from storage
- If yes, remove from storage else, just remove it from the list.
A 'zim' file obtained from an external source (sharing etc.)
Same as above (just to keep things consistent)
AFAIK, this doesn't have any drawbacks as the user without any file manager should be able to add the 'zim' files.