Skip to content

Users grouping improvements#4331

Merged
SteRiccio merged 8 commits into
masterfrom
fix/user-group-improvements
Jul 23, 2026
Merged

Users grouping improvements#4331
SteRiccio merged 8 commits into
masterfrom
fix/user-group-improvements

Conversation

@SteRiccio

Copy link
Copy Markdown
Member

No description provided.

@SteRiccio SteRiccio self-assigned this Jul 23, 2026
@mergify

mergify Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the Users → User Groups kanban experience by making group membership changes feel instant (optimistic UI + per-user pending state), while also tightening record qualifier enforcement logic on the server to correctly account for “pending” node changes and code-typed qualifier values.

Changes:

  • Webapp: switch group drag-and-drop to optimistic membership updates and disable re-drag while a user’s change is in-flight.
  • Server: update qualifier matching to consider a request “pendingNode” without mutating the record’s node index, and align behavior for missing/empty qualifier nodes.
  • Records list query + tests: fix qualifier SQL params for code nodeDefs and extend unit tests for pendingNode qualifier evaluation.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/useUserGroupsSummary.ts Implements optimistic user→group mapping updates, pending tracking, and error notifications.
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/useUserGroupsKanbanDnd.ts Removes reload fallback and relies on optimistic state + rollback to reconcile DOM after DnD.
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/UserGroupsSummary.tsx Wires pending set through the summary component and removes reload usage.
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/UserGroupsSummary.scss Adds pending visual styling for user cards.
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/UserGroupColumn.tsx Disables dragging for pending users and passes pending flag to cards.
webapp/views/App/views/Users/UserGroupsOverview/UserGroupsSummary/UserCard.tsx Adds pending rendering state and class composition.
test/unit/tests/035recordQualifierMatcher.test.js Adds coverage for qualifier matching with missing/empty qualifier nodes and pendingNode overlays.
server/modules/record/repository/recordRepository.js Fixes qualifier filter SQL param value extraction for code nodeDefs.
server/modules/record/manager/_recordManager/recordQualifierMatcher.js Adds pendingNode-aware qualifier evaluation and updated semantics for missing/empty qualifier nodes.
server/modules/record/api/recordQualifierMiddleware.js Stops mutating record via Record.assocNode and passes pendingNode through to the matcher.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/modules/record/manager/_recordManager/recordQualifierMatcher.js Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.

@sonarqubecloud

Copy link
Copy Markdown

@SteRiccio
SteRiccio merged commit 723ec51 into master Jul 23, 2026
6 checks passed
@SteRiccio
SteRiccio deleted the fix/user-group-improvements branch July 23, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants