[openSUSE/open-build-service] cdb979: Use a decorator for determining tab visibility
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: cdb9793466a960120e2e076a5eb78ad58935d3ad https://github.com/openSUSE/open-build-service/commit/cdb9793466a960120e2e07... Author: ncounter <dleidi@suse.com> Date: 2023-06-30 (Fri, 30 Jun 2023) Changed paths: M src/api/app/controllers/webui/request_controller.rb M src/api/app/models/bs_request_action.rb A src/api/app/models/bs_request_action_tab_visibility.rb M src/api/app/views/webui/request/_request_tabs.html.haml M src/api/app/views/webui/request/beta_show.html.haml M src/api/app/views/webui/request/build_results.html.haml M src/api/app/views/webui/request/changes.html.haml M src/api/app/views/webui/request/mentioned_issues.html.haml M src/api/app/views/webui/request/rpm_lint.html.haml Log Message: ----------- Use a decorator for determining tab visibility Commit: 1cc0432fd396556862d3fb9718bc202aae5dc72c https://github.com/openSUSE/open-build-service/commit/1cc0432fd396556862d3fb... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-06-30 (Fri, 30 Jun 2023) Changed paths: M src/api/app/controllers/webui/request_controller.rb M src/api/app/models/bs_request_action.rb M src/api/app/models/bs_request_action_tab_visibility.rb M src/api/app/views/webui/request/_request_tabs.html.haml Log Message: ----------- Use multiple functions instead of a switch statement Commit: 519ae8019fae5f1b9ece80b0c6347e54af01ff84 https://github.com/openSUSE/open-build-service/commit/519ae8019fae5f1b9ece80... Author: ncounter <dleidi@suse.com> Date: 2023-06-30 (Fri, 30 Jun 2023) Changed paths: M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- Add tests Commit: 7cf03442b902e9801d2fc24ed5529514fed5500f https://github.com/openSUSE/open-build-service/commit/7cf03442b902e9801d2fc2... Author: ncounter <dleidi@suse.com> Date: 2023-06-30 (Fri, 30 Jun 2023) Changed paths: M src/api/app/controllers/webui/request_controller.rb Log Message: ----------- Make sure the action belongs to the request Commit: 073e6f648383bb2787c4203cdde436dc331d0b40 https://github.com/openSUSE/open-build-service/commit/073e6f648383bb2787c420... Author: Dario Leidi <dleidi@suse.com> Date: 2023-06-30 (Fri, 30 Jun 2023) Changed paths: M src/api/app/controllers/webui/request_controller.rb M src/api/app/models/bs_request_action.rb A src/api/app/models/bs_request_action_tab_visibility.rb M src/api/app/views/webui/request/_request_tabs.html.haml M src/api/app/views/webui/request/beta_show.html.haml M src/api/app/views/webui/request/build_results.html.haml M src/api/app/views/webui/request/changes.html.haml M src/api/app/views/webui/request/mentioned_issues.html.haml M src/api/app/views/webui/request/rpm_lint.html.haml M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- Merge pull request #14349 from ncounter/refactoring-tab-visibility Refactoring tab visibility - use decorator instead of helper Compare: https://github.com/openSUSE/open-build-service/compare/71895baff4fd...073e6f...
participants (1)
-
Dario Leidi