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

Better feed management #668

Closed
shizunge opened this issue May 22, 2020 · 7 comments
Closed

Better feed management #668

shizunge opened this issue May 22, 2020 · 7 comments

Comments

@shizunge
Copy link
Contributor

shizunge commented May 22, 2020

I have created a pull request for a better feed management: #642

Here I am talking about the visible changes. Hopefully this helps the code review.

  1. In the "feed" page:
  • For each feed, shows three numbers (instead of two): unread count, read count and total count.
  • For each feed, shows the publishing time of the lastest post.
    feed
  1. In the "feed" page:
  1. introduce a new status of entries "marked"
  • If you click an entry (go to a URL ending by "entry/<number>"), they entry will be in the read status.
  • If you mark entries via "Mark this page as read" or "Mark all as read", they will be in the marked status.
  1. In the history page:
  • Add "show only read entries" and "show all entries" to show different lists of entries
    --- add a path "history/read"
  • Also update "previous" and "next" link of entries to go to entries in the corresponding list
    --- If from "all entries", the link goes to "history/entry/<number>" for both read and marked entries
    --- If from "only read entries", the link goes to "history/read/entry/<number>", which includes only read entries.

history-all
history-read

@shizunge
Copy link
Contributor Author

shizunge commented Jun 4, 2020

split the big commit into 3 smaller commits.

The first two commits are
-- add latest post published time to the feed page.
-- add total count to the feed page.
-- add sort to the feed page.
They do not modify the database, only change the feed page UI.

@unwaivering
Copy link

OK strange question, is there a way to sort feeds by category on the feeds page? Right now my feeds are all out of order. I suppose the other question is, is there a way to sort categories into alphabetical order? My former reader does this and I really like it.

@shizunge
Copy link
Contributor Author

OK strange question, is there a way to sort feeds by category on the feeds page? Right now my feeds are all out of order. I suppose the other question is, is there a way to sort categories into alphabetical order? My former reader does this and I really like it.

I am using 2.0.21. And my categories seems already sorted alphabetically.

@manugarri
Copy link
Contributor

awesome PR!

@shizunge
Copy link
Contributor Author

OK strange question, is there a way to sort feeds by category on the feeds page? Right now my feeds are all out of order. I suppose the other question is, is there a way to sort categories into alphabetical order? My former reader does this and I really like it.

It could be done, I think.
But Why not use the category page?

@shizunge
Copy link
Contributor Author

OK strange question, is there a way to sort feeds by category on the feeds page? Right now my feeds are all out of order. I suppose the other question is, is there a way to sort categories into alphabetical order? My former reader does this and I really like it.

2nd question
What would you do if we could asaign multiple categories to a feed? How to sort the feeds with multiple categories? (Currently we cannot. But I think eventually we will support it.)

@shizunge
Copy link
Contributor Author

shizunge commented Sep 1, 2020

Close in favor of #632 #784 #785

@shizunge shizunge closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants