Content
View differences
Updated by Niels Lindenthal over 2 years ago
**As an** OpenProject user
**I want to** How about to mark projects set Projects as favorites
**So that** I can more easily find favorite?
In the projects I case you have to access the most often (and I don't many Projects you are involved in and generally have to search it a lots of projects.
It would be nice if you would have favorite projects which will be shown first in a long list). the Projects Dropdown Menu.
**Acceptance criteria** **Benefits**
* In Projects which are at the project overview there is a button "Add to favorites".
* In bottom of the project list there is an additional column "Favorite" could be choosen faster
* In the sidebar of the project A User dont have to search any time for projects in a long list there is a filter "Favorite" which he visits often
**Suggested implementation**
* Add favorite\_projects table (user, project)
* Add filter for projects on favorited projects
* Rewrite level\_list into projects v3 response through `ancestors`
* APIv3 endpoint to set/remove favorite status
* `POST /api/v3/projects/:id/star` to create favorite project :id
* `DELETE /api/v3/projects/:id/star` to delete favorite project :id
* Rewrite autocomplete dropdown to do two requests
* favorite projects
* non favorite projects
* Display groups "Favorites", "All"
* Project overview list
* Can use filter to restrict to favorites
* Show star when project is favorited
* How to favor?
* Alternatives
* In project overview, add button to toggle star
* In my page widget can CRUD favorites
* Account settings receives new menu "Project favorites" and renders the content of the widget
* Build autocompleter similar to wp-query-select with favorite projects at the top
* Favorite projects on top
* All projects in hierarchy
* Projects are shown twice , also when searching
* Widget with favorite projects for my page
**Out of scope**
* Changing the main project selector (<mention class="mention" data-id="52079" data-type="work_package" data-text="#52079">#52079</mention> ) Show hierarchies in favorite projects
##### Figma and visuals
https://www.figma.com/file/qxerhIdCNEhfP5xcKC087z/Favorite-Projects?type=design&node-id=0%3A1&mode=design&t=yvgmnC9TYPu2X0pk-1 https://www.figma.com/file/qxerhIdCNEhfP5xcKC087z/Favourite-Projects?type=design&node-id=0-1&mode=design
**I want to**
**So that** I can more easily find
In
It would be nice if you would have favorite projects which will be shown first
**Acceptance criteria**
* In
* In
* In the sidebar of the project
**Suggested implementation**
* Add favorite\_projects table (user, project)
* Add filter for projects on favorited projects
* Rewrite level\_list into projects v3 response through `ancestors`
* APIv3 endpoint to set/remove favorite status
* `POST /api/v3/projects/:id/star` to create favorite project :id
* `DELETE /api/v3/projects/:id/star` to delete favorite project :id
* Rewrite autocomplete dropdown to do two requests
* favorite projects
* non favorite projects
* Display groups "Favorites", "All"
* Project overview list
* Can use filter to restrict to favorites
* Show star when project is favorited
* How to favor?
* Alternatives
* In project overview, add button to toggle star
* In my page widget can CRUD favorites
* Account settings receives new menu "Project favorites" and renders the content of the widget
* Build autocompleter similar to wp-query-select with favorite projects at the top
* Favorite projects on top
* All projects in hierarchy
* Projects are shown twice , also when searching
* Widget with favorite projects for my page
**Out of scope**
* Changing the main project selector (<mention class="mention" data-id="52079" data-type="work_package" data-text="#52079">#52079</mention> )
##### Figma and visuals
https://www.figma.com/file/qxerhIdCNEhfP5xcKC087z/Favorite-Projects?type=design&node-id=0%3A1&mode=design&t=yvgmnC9TYPu2X0pk-1