Git Product home page Git Product logo

yamr's Issues

Tracking reading progress

Have the app track where you are in a series, so that you can easily come back to it. Not sure the best UX way of resuming your reading vs. going to the chapter list. I believe Mango can only do this from the favorites screen, but I'd like to at least entertain the idea of keeping track of it for all series.

Pre-fetch Pages/Chapters

What it says on the tin. Probably just needs to be a service that FetcherAsync calls into asynchronously. We'll have to see how that works.

Nav Drawer style paging through PageViewer

Being able to pull the next/prev image over after you scroll to and past the edge. Maybe the tab thing can help with this? Seems like a bit of an abuse of the component though. I'll have to look into it.

Disk Usage management.

Add support for either deleting manga manually or automatically after a certain period of time.

Also might look at handling the case of the use deleting the image files manually. Perhaps set imagePath to null and then fullyParsed to false?

Will probably also want to look at non-persistent reading. Some series I might not really want it to keep on my device for any lengthy period of time.

Make a way to add new providers.

I'm not sure what's best here. I think by the time it gets to me it should be JSON, but where should that come from? A server somewhere? A flat-file somewhere in the YAMR folder? We'll have to think about it.

Invert the relationship between Provider and Series

This is a big one. I need to do a bunch of research into the dozen or so manga sites/databases I've found so far to see how much I'll be able to do to de-dupe series.

I have a suspicion that none of them will have a strict superset of any other. (Except perhaps mangastream, which shouldn't really count.) Which makes attempting to do this de-dupe on the device a much more questionable proposition. We'll have to see. I'm really not keen on introducing a dependency on a companion web service.

Compressing older/not-being-read series

The idea is to save some space while it's not urgently needed. We'll have to see if compressing directories of images actually saves much of anything. It might be that simply using a compressed format is about as good as it's going to get.

PageViewer NPE

Reproduction Steps

  • Navigate to the first chapter from browse
  • Swipe right (prev.)
  • Get the end of series message
  • Hit the back button
  • Navigate into the first chapter again
  • Get the NPE.

Add navigation status

Something kind of like Mango. (Loading page 2/53) Don't know where to put it. Top for status, bottom for bar? I'll have a think.

Favorites Page Refresh?

When hitting the back button when reading from a favorited series, the progress doesn't update properly. I imagine the Fragment is getting cached/reused or something.

Prev page swipe is broken.

It has to do with ordering. I'm going to go in and change the 'Rel' page and chapter queries into specific prev/next ones.

Better error handling

There are tons of places that need better error handling. Paging to the end of a series crashes an app. And I'm sure if mangapanda doesn't have the image when it shows the page (Will need to find an example of this) the app also explodes. It'll also explode if there's no network. Lots of little things.

Favorites

Allow a user to favorite/bookmark their favorite series. Tie this into the notifications and updates process.

Handle re-pull of a MangaElement.

Be able to re-DL and parse any MangaElement. For the 'try again' type things. I might just let the SQLite url uniqueness constraint throw an exception and catch that. Might be pretty simple. We'll see.

Favorites -- Can't see top of list

Reproduction Steps

  • Go all the way down to a page
  • Turn the screen off
  • Turn the screen back on
  • Hit the back button

You can't see the very first item on the list, and part of the second.

New chapter notifications

Periodically scrape the front page for the newest series, and then make notifications for new chapters in the favorites list. (Depends on that being done)

Implement a plugin-style architecture for different providers.

The idea here is to use something like Rhino in combination with JSoup to be able to script the actual parsing process. Then load the scripts from a DB.

I'm not sure how big this would be, but something tells me it's pretty big. I'll have to do some reading on Rhino or some other scripting VM to embed.

Image download progress

This might get a little obnoxious. The first stackoverflow I found seemed to suggest you needed to handle the buffer yourself, which is tedious and error-prone. Can probably write it once and stick it in FetcherSync.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.