Skip to content

Conversation

@malinosqui
Copy link
Member

@malinosqui malinosqui commented Oct 25, 2025

…stead of pull request authors. Updated data structure for license table rows and adjusted related components accordingly.


This pull request refactors the user listing mechanism on the subscription license management page to use organization members instead of pull request authors.

Key changes include:

  • Switched User Source: The license management page now fetches users from the /code-management/organization-members endpoint, replacing the previous reliance on /pull-requests/get-pull-request-authors.
  • Expanded User Scope: This change ensures that all members of the organization connected to the team are displayed for license assignment, providing a more comprehensive overview than just users who have authored pull requests.
  • Improved User Name Handling: The display name for organization members is now more robustly determined by checking name, displayName, username, and login fields in a prioritized order.
  • Type Refinements: Updated data types (LicenseTableRow, OrganizationMember) to accommodate the new user data structure, including support for user ids that can be either string or number.

…stead of pull request authors. Updated data structure for license table rows and adjusted related components accordingly.
@kodus-ai
Copy link

kodus-ai bot commented Oct 25, 2025

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Breaking Changes
Cross File
Kody Rules
Code Style
Refactoring
Error Handling
Maintainability
Potential Issues
Documentation And Comments
Performance And Optimization

Access your configuration settings here.

@malinosqui malinosqui merged commit 951a338 into main Oct 26, 2025
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