[obs-commits] [openSUSE/open-build-service] 7c9cc8: Add scopes needed for notifications controller
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 7c9cc89804e4078190a30947e71fc26689f7895f https://github.com/openSUSE/open-build-service/commit/7c9cc89804e4078190a309... Author: Lukas Krause <lkrause@suse.de> Date: 2020-03-23 (Mon, 23 Mar 2020) Changed paths: M src/api/app/models/notification.rb Log Message: ----------- Add scopes needed for notifications controller For the new notification view, a few scopes are required in order to query the necessary informations for the view. Co-authored-by: David Kang <dkang@suse.com> Commit: c4af9bdded8dffbb8e5dba50b3fed4bac47f6e67 https://github.com/openSUSE/open-build-service/commit/c4af9bdded8dffbb8e5dba... Author: Lukas Krause <lkrause@suse.de> Date: 2020-03-23 (Mon, 23 Mar 2020) Changed paths: A src/api/app/controllers/webui/users/notifications_controller.rb A src/api/app/policies/notification_policy.rb M src/api/config/routes/webui_routes.rb Log Message: ----------- Create notifications controller and pundit policies In order to create the new notification view, a controller and pundit policies are required, to deliver the necessary data to the index view and to update the records from there. Co-authored-by: David Kang <dkang@suse.com> Commit: 1808cdedd56c3f19591d1b987ee528c002c19e3a https://github.com/openSUSE/open-build-service/commit/1808cdedd56c3f19591d1b... Author: Lukas Krause <lkrause@suse.de> Date: 2020-03-23 (Mon, 23 Mar 2020) Changed paths: M src/api/app/assets/stylesheets/webui/responsive_ux.scss M src/api/app/helpers/webui/webui_helper.rb A src/api/app/presenters/notification_presenter.rb M src/api/app/views/layouts/webui/responsive_ux/_bottom_navigation.html.haml M src/api/app/views/layouts/webui/responsive_ux/_navigation.html.haml A src/api/app/views/webui/users/notifications/_breadcrumb_items.html.haml A src/api/app/views/webui/users/notifications/index.html.haml Log Message: ----------- Create notification index view and related presenter for beta Instead of just showing open requests to the users, a more detailed and notification like workflow can help the user to get an overview about past events and things that require an interaction. Co-authored-by: David Kang <dkang@suse.com> Commit: 6fb312e34fe98503d11890be8200e9c85f56dc66 https://github.com/openSUSE/open-build-service/commit/6fb312e34fe98503d11890... Author: Dani Donisa <daniel.donisa@suse.com> Date: 2020-03-23 (Mon, 23 Mar 2020) Changed paths: A src/api/spec/controllers/webui/users/notifications_controller_spec.rb M src/api/spec/factories/notification.rb Log Message: ----------- Add notifications controller specs and factories The new endpoints introduced in the controller need proper test cases. Co-authored-by: Lukas Krause <lkrause@suse.de> Commit: 027377e87aede5588946e551d365c8fbbfe8e21e https://github.com/openSUSE/open-build-service/commit/027377e87aede5588946e5... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2020-03-23 (Mon, 23 Mar 2020) Changed paths: M src/api/app/assets/stylesheets/webui/responsive_ux.scss A src/api/app/controllers/webui/users/notifications_controller.rb M src/api/app/helpers/webui/webui_helper.rb M src/api/app/models/notification.rb A src/api/app/policies/notification_policy.rb A src/api/app/presenters/notification_presenter.rb M src/api/app/views/layouts/webui/responsive_ux/_bottom_navigation.html.haml M src/api/app/views/layouts/webui/responsive_ux/_navigation.html.haml A src/api/app/views/webui/users/notifications/_breadcrumb_items.html.haml A src/api/app/views/webui/users/notifications/index.html.haml M src/api/config/routes/webui_routes.rb A src/api/spec/controllers/webui/users/notifications_controller_spec.rb M src/api/spec/factories/notification.rb Log Message: ----------- Merge pull request #9248 from krauselukas/user_tasks_beta Create User Notification View Compare: https://github.com/openSUSE/open-build-service/compare/0445e7add1f1...027377...
participants (1)
-
Henne Vogelsang