[obs-commits] [openSUSE/open-build-service] cbd05f: [frontend] Fix default subscription switch
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: cbd05fc0d338f010eb95685667f2b5ffc45a5968 https://github.com/openSUSE/open-build-service/commit/cbd05fc0d338f010eb9568... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-01-22 (Mon, 22 Jan 2018) Changed paths: M src/api/app/assets/javascripts/webui/application.js.erb M src/api/app/controllers/webui/subscriptions_controller.rb M src/api/app/controllers/webui/users/subscriptions_controller.rb M src/api/app/models/event_subscription/form.rb M src/api/app/views/webui/users/subscriptions/index.html.haml A src/api/app/views/webui/users/subscriptions/index.js.erb Log Message: ----------- [frontend] Fix default subscription switch PR#4336 added a switch that allows users to reset their notification subscription to default. This was hardcoded to clear all subscriptions. With this commit the default subscription settings are retrieved from the server via ajax and properly set in the ui. The user can then decide to save the new settings or cancel it by reloading the page. Commit: c1337f0e2f0fa1b2b5ea4ded34f6b09a9ccc329a https://github.com/openSUSE/open-build-service/commit/c1337f0e2f0fa1b2b5ea4d... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-01-24 (Wed, 24 Jan 2018) Changed paths: M src/api/app/assets/javascripts/webui/application.js.erb M src/api/app/controllers/webui/subscriptions_controller.rb M src/api/app/controllers/webui/users/subscriptions_controller.rb M src/api/app/models/event_subscription/form.rb M src/api/app/views/webui/users/subscriptions/index.html.haml A src/api/app/views/webui/users/subscriptions/index.js.erb Log Message: ----------- Merge pull request #4384 from bgeuken/update_subscriptions [frontend] Fix default subscription switch Compare: https://github.com/openSUSE/open-build-service/compare/16f9a18f294f...c1337f...
participants (1)
-
Björn Geuken