feat(organization): enhance searchable organizations with member limit and search by ID
- Added a member limit field to the SearchableOrganizationItem interface, allowing organizations to specify a maximum number of members. - Updated API and service layers to support searching organizations by name, description, or ID. - Enhanced UI components to display member limits and updated localization strings in English and Chinese for new features. - Included migration files to add the searchable column to the organizations table. This update improves the organization search functionality and membership management, enhancing user experience and administrative control.
This commit is contained in:
@@ -92,6 +92,7 @@ export interface SearchableOrganizationItem {
|
||||
description: string
|
||||
avatar?: string
|
||||
member_count: number
|
||||
member_limit: number // 0 = unlimited
|
||||
share_count: number
|
||||
is_already_member: boolean
|
||||
require_approval: boolean
|
||||
|
||||
Reference in New Issue
Block a user