revanced-website icon indicating copy to clipboard operation
revanced-website copied to clipboard

feat: highlight new patches since last visit

Open oSumAtrIX opened this issue 2 years ago • 0 comments

About

Since the /patches page is supposed to be checked occasionally, it would be useful to see which new patches have been added.

Solution

Cache a list of patches and when they were first and last seen. Since you can now query the last visit time, patches seen after the last visit can be pinned at the top and cached.

Additional context

  • Since the page would now store the time when a patch has been first and last seen, ordering options can be added, such as:

    • New
    • Old
  • In addition to that, grouping may be added too. It should be questioned if it would be useful, considering new patches may not be added in groups, so you'd see groups of single patches quite often.

  • On other pages, it may be favorable to show a banner about new patches that say, "X new patches are available since your last visit." This banner should only be shown if the visitor has visited the patches page at least once.

oSumAtrIX avatar Jul 22 '23 00:07 oSumAtrIX