8000 fix: AgentEdit departments field not being paginated by aleksandernsilva · Pull Request #36038 · RocketChat/Rocket.Chat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: AgentEdit departments field not being paginated #36038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 27, 2025

Conversation

aleksandernsilva
Copy link
Contributor
@aleksandernsilva aleksandernsilva commented May 20, 2025

Proposed changes (including videos or screenshots)

This PR updates the department field in the AgentEdit page to use the AutoCompleteDepartmentsMultiple component, replacing the custom logic we had before. The new component already supports lazy loading and pagination.

Issue(s)

CTZ-157

Steps to test or reproduce

  • Access workspace
  • Omnichannel
  • Agents
  • Add/edit an agent
  • Make sure to have more than 50 departments
  • Department field should lazy load more records as you scroll down the list

Further comments

Copy link
Contributor
dionisio-bot bot commented May 20, 2025

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link
changeset-bot bot commented May 20, 2025

🦋 Changeset detected

Latest commit: 310c46f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 36 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch from 31ad325 to 83bc525 Compare May 20, 2025 18:02
Copy link
Contributor
github-actions bot commented May 20, 2025
PR Preview Action v1.6.1

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-36038/

Built to branch gh-pages at 2025-05-26 23:43 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
codecov bot commented May 20, 2025

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Project coverage is 64.96%. Comparing base (3487831) to head (310c46f).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #36038      +/-   ##
===========================================
+ Coverage    64.94%   64.96%   +0.02%     
===========================================
  Files         3112     3111       -1     
  Lines        93729    93712      -17     
  Branches     17806    17806              
===========================================
+ Hits         60870    60880      +10     
+ Misses       30071    30050      -21     
+ Partials      2788     2782       -6     
Flag Coverage Δ
e2e 58.41% <84.61%> (+0.03%) ⬆️
e2e-api 35.62% <ø> (-0.05%) ⬇️
unit 71.67% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch from 65922e9 to 8015fb0 Compare May 21, 2025 16:50
@aleksandernsilva aleksandernsilva force-pushed the fix/department-with-checkbox branch from 0d666c9 to fe56d6a Compare May 21, 2025 17:48
@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch from 8015fb0 to a60191b Compare May 21, 2025 18:35
@aleksandernsilva aleksandernsilva changed the base branch from fix/department-with-checkbox to develop May 21, 2025 19:07
@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch 3 times, most recently from 5a588ce to c982530 Compare May 22, 2025 15:26
@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch from c982530 to 7682a8f Compare May 22, 2025 18:49
@aleksandernsilva aleksandernsilva force-pushed the fix/agent-deps-not-paginated branch from 7682a8f to a573ab8 Compare May 22, 2025 19:18
@aleksandernsilva aleksandernsilva marked this pull request as ready for review May 22, 2025 20:28
@aleksandernsilva aleksandernsilva requested a review from a team as a code owner May 22, 2025 20:28
@aleksandernsilva aleksandernsilva added this to the 7.8.0 milestone May 22, 2025
@aleksandernsilva aleksandernsilva added the stat: QA assured Means it has been tested and approved by a company insider label May 26, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label May 26, 2025
@kodiakhq kodiakhq bot merged commit 6e26603 into develop May 27, 2025
49 checks passed
@kodiakhq kodiakhq bot deleted the fix/agent-deps-not-paginated branch May 27, 2025 19:19
This was referenced Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0