Comments (12)
All of them for every set?
from mtg-familiar.
At least for a set. :)
from mtg-familiar.
Latest set? Ask for choice? That could still be a lot of space, but it's worth looking at I guess
from mtg-familiar.
Here's my use case: I was standing in line to board a plane and i wanted to browse magic cards. Unfortunately, none of the pictures worked when I had to go into airplane mode. It would have been great to ask for the pictures to be cached/downloaded for a few sets.
We might also want to have a least-recently-used cache of images, if only to avoid all the network traffic and speed up the app.
from mtg-familiar.
A cache is doable. The app already handles card prices with a 24 hour expiring cache. I just don't want users to be chewing up space on their device without realizing it. Pre-caching on a per-set basis is also simple enough. Nothing a multi-choice alert dialog can't handle.
from mtg-familiar.
I think it's reasonable to say "cache XX of data" as a user pref, to transparently reduce network traffic and speed up the app. Default to 100 MB? How big is each image?
As a user, I want to explicitly say "store all the images for this set", which is separate than the transparent LRU cache. I don't want images to disappear if I've explicitly chosen to get all the images for, say, M15.
from mtg-familiar.
Any idea on where to choose what set to download entirely? It doesn't seem to fit anywhere in the flow of what's there so far
from mtg-familiar.
Somewhere in the preferences I think. Maybe under search and results?
from mtg-familiar.
I think that's good for caching, but should we put full set download in there too? I guess that might be the most sensible place based on the other fragments
from mtg-familiar.
I added caching in d128008. It still needs a slider to control the cache size, and a way to precache images.
from mtg-familiar.
Added the seek bar preference in e8fefa8
from mtg-familiar.
Thanks!
from mtg-familiar.
Related Issues (20)
- Getting a certification error when I try to access card rulings HOT 1
- Deck Lists Become Unsorted HOT 20
- Update for double masters HOT 2
- Add flavorName to the database
- Add per-card legality HOT 10
- Commander Search Fails To Find Grist, the Hunger Tide
- Add per-card "Online Only" HOT 1
- Java cert error on card ruilings HOT 1
- Adding market price to cached data HOT 3
- Create image for UNF Ticket
- Crash on latest beta from Google play store HOT 1
- Sort Trades and Decks Alphabetically HOT 1
- Reserved List Functionality Regressions HOT 1
- Properly Exclude Sets when Querying
- Banned cards show when filtered by format HOT 1
- Unable to save image, try again later. HOT 26
- Search is blocked while database updates are queried HOT 4
- Maybeboard in deck build section. HOT 1
- Dual face cards have "a" and "b" in their collector's number internally even though these are not physically on the cards HOT 1
- Battles do not display their starting defense HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtg-familiar.