Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 1eb9b505a947021a19deae6669aa1658c2441f57
https://github.com/openSUSE/open-build-service/commit/1eb9b505a947021a19deae...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/models/bs_request.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/models/user.rb
A src/api/app/models/watched_item.rb
A src/api/db/migrate/20220210154407_create_watched_items.rb
M src/api/db/schema.rb
A src/api/spec/factories/watched_items.rb
A src/api/spec/models/watched_item_spec.rb
Log Message:
-----------
Create WatchedItem model and its associations
The new watchlist implementation allows users to add packages and
requests to the watchlist, not only projects.
- Add migration for watched_items table
- Polymorphic association between WatchedItem, Package, Project and
BsRequest.
- Association with user.
Co-authored-by: Daniel Donisa
Commit: dcd219b85a1082bec7e1d09d0975212e931b2f90
https://github.com/openSUSE/open-build-service/commit/dcd219b85a1082bec7e1d0...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
A src/api/app/components/watchlist_component.html.haml
A src/api/app/components/watchlist_component.rb
M src/api/app/views/layouts/webui/webui.html.haml
A src/api/spec/components/watchlist_component_spec.rb
Log Message:
-----------
Create WatchlistComponent
This component represents the whole Watchlist bar, with the actions to
add or remove elements, and the list of watched items grouped by type.
Co-authored-by: Daniel Donisa
Commit: 1bb23417280245537322bcdec26b325e806a9108
https://github.com/openSUSE/open-build-service/commit/1bb23417280245537322bc...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/assets/stylesheets/webui/application.scss
A src/api/app/assets/stylesheets/webui/new_watchlist/watchlist.scss
A src/api/app/components/watched_items_list_component.html.haml
A src/api/app/components/watched_items_list_component.rb
M src/api/app/components/watchlist_component.html.haml
A src/api/spec/components/watched_items_list_component_spec.rb
Log Message:
-----------
Create WatchedItemsListComponent
We have three identical lists of items. One list per each type of items:
packages, projects, requests.
The code has been moved to the WatchedItemsListComponent so we don't repeat the code three times.
Commit: 75f67785ba468f46331550b1ba927bc5e740daac
https://github.com/openSUSE/open-build-service/commit/75f67785ba468f46331550...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
A src/api/app/controllers/webui/watched_items_controller.rb
M src/api/config/routes/webui_routes.rb
A src/api/spec/controllers/webui/watched_items_controller_spec.rb
Log Message:
-----------
Add toggle functionality for new watchlist
The new routes allow to add and remove items to the watchlist.
The items can be of three different types: Package, Project and
BsRequest.
Co-authored-by: Daniel Donisa
Commit: d47def5780c4be2dbb802412510eec9a8a001f8d
https://github.com/openSUSE/open-build-service/commit/d47def5780c4be2dbb8024...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/lib/tasks/dev.rake
Log Message:
-----------
Configure new_watchlist feature flag
Co-authored-by: Daniel Donisa
Commit: b151c5be5abf011ead5c42166ef1016185f2ca0a
https://github.com/openSUSE/open-build-service/commit/b151c5be5abf011ead5c42...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/components/watchlist_component.rb
M src/api/config/routes/webui_routes.rb
Log Message:
-----------
Use resourceful routes
Co-authored-by: Daniel Donisa
Commit: bf1c650bcd3818f165d96cc233c90808754fbf5c
https://github.com/openSUSE/open-build-service/commit/bf1c650bcd3818f165d96c...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/components/watchlist_component.rb
M src/api/app/views/layouts/webui/webui.html.haml
M src/api/spec/components/watchlist_component_spec.rb
Log Message:
-----------
Pass objects to WatchlistComponent
Co-authored-by: Daniel Donisa
Commit: 9f2ff21143929e26493d248dcf763bc027f2159a
https://github.com/openSUSE/open-build-service/commit/9f2ff21143929e26493d24...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/components/watched_items_list_component.html.haml
Log Message:
-----------
Remove unnecessary div list-group
Commit: d76dc3e3e013b04317c84f9310554b6b5e3d4d2b
https://github.com/openSUSE/open-build-service/commit/d76dc3e3e013b04317c84f...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/controllers/webui/watched_items_controller.rb
Log Message:
-----------
Require login on WatchedItemsController
Commit: 529c8c3574b93a267201e12a907c130cc25753d2
https://github.com/openSUSE/open-build-service/commit/529c8c3574b93a267201e1...
Author: Saray Cabrera Padrón
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/spec/controllers/webui/watched_items_controller_spec.rb
R src/api/spec/models/watched_item_spec.rb
Log Message:
-----------
Remove superfluous specs
Commit: 6b32cc46460692898783c1074a5bd8eddaed953c
https://github.com/openSUSE/open-build-service/commit/6b32cc46460692898783c1...
Author: Henne Vogelsang
Date: 2022-02-21 (Mon, 21 Feb 2022)
Changed paths:
M src/api/app/assets/stylesheets/webui/application.scss
A src/api/app/assets/stylesheets/webui/new_watchlist/watchlist.scss
A src/api/app/components/watched_items_list_component.html.haml
A src/api/app/components/watched_items_list_component.rb
A src/api/app/components/watchlist_component.html.haml
A src/api/app/components/watchlist_component.rb
A src/api/app/controllers/webui/watched_items_controller.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/models/user.rb
A src/api/app/models/watched_item.rb
M src/api/app/views/layouts/webui/webui.html.haml
M src/api/config/routes/webui_routes.rb
A src/api/db/migrate/20220210154407_create_watched_items.rb
M src/api/db/schema.rb
M src/api/lib/tasks/dev.rake
A src/api/spec/components/watched_items_list_component_spec.rb
A src/api/spec/components/watchlist_component_spec.rb
A src/api/spec/controllers/webui/watched_items_controller_spec.rb
A src/api/spec/factories/watched_items.rb
Log Message:
-----------
Merge pull request #12185 from danidoni/new-watchlist-implementation
Implement the new watchlist feature
Compare: https://github.com/openSUSE/open-build-service/compare/bf78a42d208d...6b32cc...