feat(organization): enhance organization selection and sharing UI
- Updated organization selection dropdowns to include new SVG icons for better visual representation. - Improved organization option layout with additional metadata display, including member count and share count. - Enhanced share item display with organization icons and improved action buttons for better user interaction. - Adjusted styles for organization-related components to improve usability and aesthetics. This update enhances the user experience by providing clearer organization visuals and more intuitive sharing options.
This commit is contained in:
@@ -240,15 +240,15 @@ func (s *organizationService) SearchSearchableOrganizations(ctx context.Context,
|
||||
items := make([]types.SearchableOrganizationItem, 0, len(orgs))
|
||||
for _, org := range orgs {
|
||||
items = append(items, types.SearchableOrganizationItem{
|
||||
ID: org.ID,
|
||||
Name: org.Name,
|
||||
Description: org.Description,
|
||||
Avatar: org.Avatar,
|
||||
MemberCount: int(memberCounts[org.ID]),
|
||||
MemberLimit: org.MemberLimit,
|
||||
ShareCount: int(shareCounts[org.ID]),
|
||||
IsAlreadyMember: memberOrgIDs[org.ID],
|
||||
RequireApproval: org.RequireApproval,
|
||||
ID: org.ID,
|
||||
Name: org.Name,
|
||||
Description: org.Description,
|
||||
Avatar: org.Avatar,
|
||||
MemberCount: int(memberCounts[org.ID]),
|
||||
MemberLimit: org.MemberLimit,
|
||||
ShareCount: int(shareCounts[org.ID]),
|
||||
IsAlreadyMember: memberOrgIDs[org.ID],
|
||||
RequireApproval: org.RequireApproval,
|
||||
})
|
||||
}
|
||||
return &types.ListSearchableOrganizationsResponse{
|
||||
|
||||
Reference in New Issue
Block a user