AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[FR] Add to Favorites

Open annieappflowy opened this issue 3 years ago • 3 comments

1~3 main use cases of the proposed feature Favoriting a page allows users to quickly access it without searching it or clicking through nested pages

what types of users can benefit from using your proposed feature Users who have go-to pages that are frequently visited

Additional context Key features:

  • Favorite a page: navigate to a page, then click a button at the top right of the page.
  • Favorites: a section in the left sidebar. It will appear when you favorite your first page. Here you can find pinned pages.
  • Remove from Favorites: an option for the user to unpin a page

Scope: well-defined (see Key features) native application development

Difficulty level: Medium Skills required: Flutter, Rust

annieappflowy avatar Apr 10 '22 06:04 annieappflowy

Implementation flow

  • [x] Update the view struct in AppFlowy-Collab
  • [x] Expose a new method that calculates the views marked as favorite
  • [x] update the ViewPB and add a new handler that marks view as a favorite
  • [x] remove redundant structs from rust-lib
  • [x] handle edge cases of view-deletion, rename etc
  • [x] add tests in collab and rust-lib
  • [x] update the frontend with a new bloc to use backend handlers
  • [x] implement favorites header and improve ui
  • [x] add unit / integration tests in flutter

squidrye avatar Jun 16 '23 09:06 squidrye

Hey @annieappflowy, kindly assign me to this issue.

squidrye avatar Jun 16 '23 09:06 squidrye

Assigned. Thanks!

annieappflowy avatar Jun 17 '23 08:06 annieappflowy