mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-23 00:41:41 +00:00
* feat: display username and email in namespace member management MemberResponse DTO now includes displayName and email fields. NamespacePortalQueryAppService batch-loads UserAccount data via findByIdIn to avoid N+1 queries. Frontend member table shows username (with userId as fallback subtitle) and email columns instead of raw user IDs. * test(namespace): add displayName/email assertions and new test coverage - Controller: add displayName and email assertions to addMember and updateMemberRole tests - QueryAppService: add listMembers tests for batch user enrichment and null degradation - CommandAppService: add addMember/updateMemberRole tests for displayName/email population and graceful degradation Addresses PR #236 review feedback comments: - Issue 2: Controller tests now assert displayName and email from mocked UserAccount - Issue 3: Service layer tests now cover batch query and null user degradation |
||
|---|---|---|
| .. | ||
| api | ||
| app | ||
| docs | ||
| features | ||
| i18n | ||
| pages | ||
| shared | ||
| types | ||
| bootstrap.ts | ||
| index.css | ||
| main.tsx | ||