From 4cc2f6d6adb189cec72036cc86154a39f00d0452 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:10:10 +0530 Subject: [PATCH] chore: Assignment policy improvements (#12429) # Pull Request Template ## Description This PR includes: 1. Ensuring dropdowns always stay within the screen, with auto top/bottom/left/right positioning. 2. Fixing the dropdown truncation issue. 3. Removing the display of IDs from dropdowns. 4. Increasing the width of the inbox limit input field. 5. Updating the position of the **Update** button in the agent assignment edit page. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? ### Loom video https://www.loom.com/share/f20afc854edc42fab69a003f347d089b?sid=5e5f45f3-5950-46ff-b25c-0d1894daaede ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- .../components/AddDataDropdown.vue | 61 ++++++++++--- .../components/ExclusionRules.vue | 2 +- .../components/InboxCapacityLimits.vue | 90 +++++++++++-------- .../pages/AgentCapacityEditPage.vue | 15 +++- .../components/AgentAssignmentPolicyForm.vue | 57 ++++++------ .../components/AgentCapacityPolicyForm.vue | 2 +- 6 files changed, 146 insertions(+), 81 deletions(-) diff --git a/app/javascript/dashboard/components-next/AssignmentPolicy/components/AddDataDropdown.vue b/app/javascript/dashboard/components-next/AssignmentPolicy/components/AddDataDropdown.vue index 7c98db791..a078b9cc7 100644 --- a/app/javascript/dashboard/components-next/AssignmentPolicy/components/AddDataDropdown.vue +++ b/app/javascript/dashboard/components-next/AssignmentPolicy/components/AddDataDropdown.vue @@ -1,6 +1,6 @@