Skip to content
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

feat: Added business unit field to edit department page #35370

Merged
merged 23 commits into from
Mar 20, 2025

Conversation

aleksandernsilva
Copy link
Contributor

@aleksandernsilva aleksandernsilva commented Feb 28, 2025

Proposed changes (including videos or screenshots)

This PR adds a new field "Unit" to the new/edit department page.

Before, monitors were able to create new departments, but since the newly created department was not associated with their business unit, they weren't able to access it nor associate afterwards via the units page (monitors usually don't have manage-livechat-units permission). This field allows monitors to specify their unit at the department's creation.

Screenshot 2025-03-07 at 09 43 35

Issue(s)

SUP-614

Steps to test or reproduce

  • Access Enterprise workspace
  • Go Omnichannel > Department
  • New department
  • Field "Unit" should be visible

Further comments

This feature brought to our attention a legacy gap in the product that we plan on addressing in version 7.6. So for this release we are not going to allow editing the unit field once a department is created.

Copy link
Contributor

dionisio-bot bot commented Feb 28, 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 Feb 28, 2025

🦋 Changeset detected

Latest commit: 082a372

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

This PR includes changesets to release 37 packages
Name Type
@rocket.chat/model-typings Minor
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@rocket.chat/models Minor
@rocket.chat/i18n Minor
@rocket.chat/meteor Minor
@rocket.chat/apps 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/omnichannel-services Patch
rocketchat-services Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/ui-contexts Major
@rocket.chat/license Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
@rocket.chat/instance-status Patch
@rocket.chat/mock-providers Patch
@rocket.chat/web-ui-registration Major
@rocket.chat/network-broker Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major

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

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.67%. Comparing base (1001da6) to head (082a372).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #35370      +/-   ##
===========================================
- Coverage    59.67%   59.67%   -0.01%     
===========================================
  Files         2826     2826              
  Lines        68335    68313      -22     
  Branches     15139    15134       -5     
===========================================
- Hits         40781    40764      -17     
+ Misses       24941    24937       -4     
+ Partials      2613     2612       -1     
Flag Coverage Δ
unit 75.86% <ø> (ø)

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.

Copy link
Contributor

github-actions bot commented Mar 6, 2025

PR Preview Action v1.6.0

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

Built to branch gh-pages at 2025-03-20 00:39 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@aleksandernsilva aleksandernsilva marked this pull request as ready for review March 7, 2025 12:39
@aleksandernsilva aleksandernsilva requested review from a team as code owners March 7, 2025 12:39
@aleksandernsilva aleksandernsilva added this to the 7.5.0 milestone Mar 7, 2025
@aleksandernsilva aleksandernsilva changed the title feat: Added unit field to edit department page feat: Added business unit field to edit department page Mar 7, 2025
MartinSchoeler
MartinSchoeler previously approved these changes Mar 13, 2025
@aleksandernsilva aleksandernsilva force-pushed the feat/department-unit branch 2 times, most recently from 0708f18 to 6cfb067 Compare March 19, 2025 17:26
@renatobecker renatobecker added the stat: QA assured Means it has been tested and approved by a company insider label Mar 19, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Mar 19, 2025
@kodiakhq kodiakhq bot merged commit c904862 into develop Mar 20, 2025
48 checks passed
@kodiakhq kodiakhq bot deleted the feat/department-unit branch March 20, 2025 02:01
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.

6 participants