Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.0 - Indicate new unread chapters #24

Merged
merged 3 commits into from
Nov 23, 2019
Merged

Conversation

agilgur5
Copy link
Owner

@agilgur5 agilgur5 commented Nov 22, 2019

  • show the number of new unread chapters in the manga list view so it's visible at a glance without having to click into the chapter list view
  • fetch chapters on app load so that the above number is updated on load, allowing users to know immediately if there are any new unread chapters without having to click into the chapter list view to fetch the new chapters

This is like the MVP / first phase of #18 . After this, now that we have indicators in-app and fetch chapters on app load, we can move on to fetching in background and having notifications out-of-app.

@agilgur5 agilgur5 added this to the v1.0.0 milestone Nov 22, 2019
Copy link
Owner Author

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a few small, minimal changes, looks ok!

There are some questions around whether isNew and newText should be MST views, but I think this is fine for now and we can refactor later if necessary.

Going to let this sit a bit so I can test it with real usage / data for a bit before releasing

- so one can tell at a glance if there's a chapter they haven't read
  without having to tap into the manga
  - highlight # of new unread chapters in white

- make Manga component an observer so changes to the chapter list
  actually update the view

- continue showing "Today" or "Yesterday" if it's in the latest section
  - this # replaces that only if it's available, which, for most cases,
    means only for favorites, as those are the only ones persisted
    - but if one tapped into a latest, it would start showing # there
      as well
- increase the font size a bit since # isn't uppercased and therefore
  is harder to see than a "TODAY"
@agilgur5 agilgur5 changed the title Indicate new unread chapters v0.3.0 - Indicate new unread chapters Nov 23, 2019
- so if any new chapters were released since you last opened the app,
  it will update immediately and indicate if there are any new unread
  chapters as of just now
  - prev would only show new unread chapters since the last time you
    clicked into the manga, which was bound to be out-of-date

- other than multiple providers, this is the last big, must-have
  feature I really needed to make me consistently return & use this
  app instead of others
  - others are more "nice-to-have" or "very-nice-to-have", but not
    necessarily dealbreakers for me at least
- adds text displaying # of new unread chapters per manga at-a-glance
  in main manga list view
- adds logic to fetch chapters for all favorited manga on app load,
  ensuring up-to-date # of new unread chapters for each
- both additions help give users visibility into if there are any
  new chapters to read without having to tap into the manga
Copy link
Owner Author

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this quite a bit today to ensure it works, even found #25 along the way. Made some changes to the commit messages here and there, but otherwise this looks good to go

@agilgur5 agilgur5 merged commit 1405477 into master Nov 23, 2019
@agilgur5 agilgur5 deleted the indicate-new-unread-chapters branch November 23, 2019 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant