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:
wizardchen
2026-01-30 21:02:31 +08:00
committed by lyingbug
parent ca1b3da1df
commit 72173432c9
9 changed files with 311 additions and 276 deletions
+1
View File
@@ -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