From 19d8f6bac59d359759e41f89acf02ab490c88f57 Mon Sep 17 00:00:00 2001 From: mix5003 Date: Wed, 2 Jul 2025 14:03:29 +0700 Subject: [PATCH 1/3] fix: `input_select` styles in Line channel (#11805) --- app/services/line/send_on_line_service.rb | 3 ++- spec/services/line/send_on_line_service_spec.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/services/line/send_on_line_service.rb b/app/services/line/send_on_line_service.rb index a5467ebbf..b0b6d828d 100644 --- a/app/services/line/send_on_line_service.rb +++ b/app/services/line/send_on_line_service.rb @@ -73,7 +73,8 @@ class Line::SendOnLineService < Base::SendOnChannelService contents: [ { type: 'text', - text: message.content + text: message.content, + wrap: true }, *input_select_to_button ] diff --git a/spec/services/line/send_on_line_service_spec.rb b/spec/services/line/send_on_line_service_spec.rb index 5352565e7..a7520b8d8 100644 --- a/spec/services/line/send_on_line_service_spec.rb +++ b/spec/services/line/send_on_line_service_spec.rb @@ -112,7 +112,8 @@ describe Line::SendOnLineService do contents: [ { type: 'text', - text: 'test' + text: 'test', + wrap: true }, { type: 'button', From 3ea6429895423c50a6fbbdfc10f15ebda24892c2 Mon Sep 17 00:00:00 2001 From: Kitsios Konstantinos Date: Wed, 2 Jul 2025 12:55:30 +0300 Subject: [PATCH 2/3] chore: Cancel redundant ci runs on consecutive pushes on the same PR (#11851) Currently, if a PR is open and a push happens, the Run Size Limit Check workflow will start running. If, shortly after a subsequent push on the same PR happens, the workflow will start running again without cancelling the previous (now obsolete) run. With these changes, the first run would be cancelled, thus saving compute resources (see below for quantity) without sacrificing functionality, since the second run will contain the changes from the first push as well. --- .github/workflows/deploy_check.yml | 5 +++++ .github/workflows/logging_percentage_check.yml | 5 +++++ .github/workflows/size-limit.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/deploy_check.yml b/.github/workflows/deploy_check.yml index 7fda2b1a4..9f295a6c8 100644 --- a/.github/workflows/deploy_check.yml +++ b/.github/workflows/deploy_check.yml @@ -6,6 +6,11 @@ name: Deploy Check on: pull_request: +# If two pushes happen within a short time in the same PR, cancel the run of the oldest push +concurrency: + group: pr-${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: deployment_check: name: Check Deployment diff --git a/.github/workflows/logging_percentage_check.yml b/.github/workflows/logging_percentage_check.yml index e9f84c313..5c45ba635 100644 --- a/.github/workflows/logging_percentage_check.yml +++ b/.github/workflows/logging_percentage_check.yml @@ -5,6 +5,11 @@ on: branches: - develop +# If two pushes happen within a short time in the same PR, cancel the run of the oldest push +concurrency: + group: pr-${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: log_lines_check: runs-on: ubuntu-latest diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 9be79da05..c2a4bd174 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -5,6 +5,11 @@ on: branches: - develop +# If two pushes happen within a short time in the same PR, cancel the run of the oldest push +concurrency: + group: pr-${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-22.04 From a6cc3617c0481bafc1a67742afb97f0022e9174a Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 2 Jul 2025 19:57:59 +0530 Subject: [PATCH 3/3] feat: Add the ability to mention team in private message (#11758) This PR allows agents to mention entire teams in private messages using `@team_name` syntax. When a team is mentioned, all team members with inbox access are automatically notified. The scheme changes can be found [here](https://github.com/chatwoot/prosemirror-schema/pull/34). --------- Co-authored-by: iamsivin Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Sojan Jose --- .../widgets/conversation/TagAgents.vue | 144 +++-- .../dashboard/helper/editorHelper.js | 13 +- .../helper/specs/editorContentHelper.spec.js | 1 + .../helper/specs/editorHelper.spec.js | 189 ++++++- .../i18n/locale/en/conversation.json | 4 + app/services/messages/mention_service.rb | 29 +- package.json | 2 +- pnpm-lock.yaml | 10 +- .../services/messages/mention_service_spec.rb | 498 ++++++++++++++++-- 9 files changed, 806 insertions(+), 84 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/TagAgents.vue b/app/javascript/dashboard/components/widgets/conversation/TagAgents.vue index b2d578e0d..b3faa57f8 100644 --- a/app/javascript/dashboard/components/widgets/conversation/TagAgents.vue +++ b/app/javascript/dashboard/components/widgets/conversation/TagAgents.vue @@ -1,8 +1,9 @@