AppFlowy
AppFlowy copied to clipboard
[FR] Add to Favorites
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
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
Hey @annieappflowy, kindly assign me to this issue.
Assigned. Thanks!