[openSUSE/open-build-service] d84639: Add a model and a policy for canned_responses
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: d84639b6a56947ee7edb0fbe6410a1dda480258e https://github.com/openSUSE/open-build-service/commit/d84639b6a56947ee7edb0f... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: A src/api/app/models/canned_response.rb M src/api/app/models/user.rb A src/api/app/policies/canned_response_policy.rb Log Message: ----------- Add a model and a policy for canned_responses Commit: 45c9379715ce26c71aae45568a38a3b023c8aaad https://github.com/openSUSE/open-build-service/commit/45c9379715ce26c71aae45... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: A src/api/app/controllers/webui/users/canned_responses_controller.rb M src/api/app/views/webui/user/_index_actions.html.haml A src/api/app/views/webui/user/index_actions/_manage_canned_responses.haml A src/api/app/views/webui/users/canned_responses/_breadcrumb_items.html.haml A src/api/app/views/webui/users/canned_responses/edit.html.haml A src/api/app/views/webui/users/canned_responses/index.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Add routes and controller actions for canned responses Commit: fbaa9377fa53b1ba5be6716a398a2478e6eb51ca https://github.com/openSUSE/open-build-service/commit/fbaa9377fa53b1ba5be671... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: M src/api/app/assets/javascripts/webui/application.js A src/api/app/assets/javascripts/webui/canned_responses.js A src/api/app/components/canned_responses_dropdown_component.html.haml A src/api/app/components/canned_responses_dropdown_component.rb A src/api/spec/components/previews/canned_responses_dropdown_component_preview.rb Log Message: ----------- Add the canned responses component and javascript Commit: c1a3d9c87194d8e6767d7e95892a756e2441f38f https://github.com/openSUSE/open-build-service/commit/c1a3d9c87194d8e6767d7e... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: M src/api/app/components/reports_modal_component.html.haml M src/api/app/components/reports_modal_component.rb M src/api/app/views/webui/comment/_comment_field.html.haml Log Message: ----------- Implement canned responses component in decisions and comment boxes Commit: 052bb922c1780faf657a05e99685384cc2b88516 https://github.com/openSUSE/open-build-service/commit/052bb922c1780faf657a05... Author: Jacob Michalskie <jacob.michalskie@suse.com> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: A src/api/spec/cassettes/Comments/can_be_created_using_canned_responses.yml A src/api/spec/factories/canned_responses.rb A src/api/spec/features/webui/canned_responses_spec.rb M src/api/spec/features/webui/comments_spec.rb Log Message: ----------- Add feature tests for canned responses Commit: 0b43d16ad8a9e32f3caa91a5644bc0ff518fce45 https://github.com/openSUSE/open-build-service/commit/0b43d16ad8a9e32f3caa91... Author: Lukas Krause <lkrause@suse.de> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: M src/api/app/policies/canned_response_policy.rb M src/api/app/views/webui/comment/_comment_field.html.haml M src/api/app/views/webui/user/_index_actions.html.haml Log Message: ----------- Put canned responses behind content moderation beta flag Commit: 0f920fc79c0ea84bfd2a789ebaaed2507ba4dda9 https://github.com/openSUSE/open-build-service/commit/0f920fc79c0ea84bfd2a78... Author: Lukas Krause <lkrause@suse.de> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: M src/api/app/views/webui/users/canned_responses/index.html.haml Log Message: ----------- Create extra section for list of canned responses Move them below the form for the creation of the canned responses, since the list can potentially grow and move the form out of the viewport. I added a heading and moved the index of the canned responses to and extra box, so they are better visible. Commit: 172683d5edf8ff65f6e35d46ba9e36fbe21af360 https://github.com/openSUSE/open-build-service/commit/172683d5edf8ff65f6e35d... Author: Lukas Krause <lkrause@suse.de> Date: 2023-12-07 (Thu, 07 Dec 2023) Changed paths: M src/api/app/assets/javascripts/webui/canned_responses.js Log Message: ----------- Enable submit button after inserting canned response in comments form Commit: 36917dc0ba4e752749ef0fccff8ad34d49d1a1dc https://github.com/openSUSE/open-build-service/commit/36917dc0ba4e752749ef0f... Author: Lukas Krause <lkrause@suse.de> Date: 2023-12-08 (Fri, 08 Dec 2023) Changed paths: M src/api/app/assets/javascripts/webui/application.js A src/api/app/assets/javascripts/webui/canned_responses.js A src/api/app/components/canned_responses_dropdown_component.html.haml A src/api/app/components/canned_responses_dropdown_component.rb M src/api/app/components/reports_modal_component.html.haml M src/api/app/components/reports_modal_component.rb A src/api/app/controllers/webui/users/canned_responses_controller.rb A src/api/app/models/canned_response.rb M src/api/app/models/user.rb A src/api/app/policies/canned_response_policy.rb M src/api/app/views/webui/comment/_comment_field.html.haml M src/api/app/views/webui/user/_index_actions.html.haml A src/api/app/views/webui/user/index_actions/_manage_canned_responses.haml A src/api/app/views/webui/users/canned_responses/_breadcrumb_items.html.haml A src/api/app/views/webui/users/canned_responses/edit.html.haml A src/api/app/views/webui/users/canned_responses/index.html.haml M src/api/config/routes/webui_routes.rb A src/api/spec/cassettes/Comments/can_be_created_using_canned_responses.yml A src/api/spec/components/previews/canned_responses_dropdown_component_preview.rb A src/api/spec/factories/canned_responses.rb A src/api/spec/features/webui/canned_responses_spec.rb M src/api/spec/features/webui/comments_spec.rb Log Message: ----------- Merge pull request #15296 from hellcp-work/canned-responses-ui Implement UI for canned responses feature Compare: https://github.com/openSUSE/open-build-service/compare/1709f89a254c...36917d...
participants (1)
-
Lukas Krause