Add reset options dropdown for Queue Members (all/filtered/selected) - #1478
Open
Artem-Makarchenko-Dev wants to merge 12 commits into
Open
Artem-Makarchenko-Dev wants to merge 12 commits into
Artem-Makarchenko-Dev wants to merge 12 commits into
Conversation
…ered/selected) [WTEL-10321](https://webitel.atlassian.net/browse/WTEL-10321)
… filter [WTEL-10321](https://webitel.atlassian.net/browse/WTEL-10321) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAfTfy5pzKR9Qm4qR97ah2
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAfTfy5pzKR9Qm4qR97ah2
Lera24
approved these changes
Sep 8, 2026
| }; | ||
|
|
||
| const resetOptions = computed(() => { | ||
| const options = [ |
Contributor
There was a problem hiding this comment.
мені хотілось би це в окрему змінну винести)
| @@ -0,0 +1,7 @@ | |||
| export const ActionOptions = { | |||
| ALL: 'all', | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
getQuantity), never from the checkbox-selection count — so if a selection turns out to have zero eligible records, the popup correctly shows the empty state instead of a false "confirm" prompt.Depends on
This PR requires the companion
webitel-ui-sdkPR (branchfix/WTEL-10321/reset-members-dropdown) to be merged and published, and this repo's@webitel/api-servicesdependency bumped (npm run utils:up-libs), before or together with this PR going live.Reason: "Reset selected" sends member ids via a new
idsfilter field. The currently-publishedmapResetMembersFiltersdoesn't pass that field through at all (silently dropped), which means until the ui-sdk fix is live, "Reset selected" would behave exactly like "Reset all" in production — resetting every member instead of just the selected ones. Locally this isn't visible becauseclientisnpm link'd to the localui-sdkcheckout.Open question
ActionOptions(all/filtered/selected) currently lives locally inclient(src/modules/contact-center/modules/queues/modules/members/types/ActionOptions.ts), named generically rather than reset-specific since the same 3-way scope could apply to other bulk actions (e.g. delete) later. Should this move towebitel-ui-sdkfor reuse, or stay local until a second consumer actually needs it?Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_01XAfTfy5pzKR9Qm4qR97ah2