refactor(web): extract hooks and sub-components from oversized pages (#77)
Extract state/logic into custom hooks and UI into sub-components to bring
all page files under the ~150-line component limit.
Pages refactored:
- settings/page.tsx (305 -> 157): useSettingsForm hook
- admin/moderation (235 -> 146): useModerationData hook
- admin/sybil-detection (228 -> 136): useSybilData hook
- u/[handle] (215 -> 149): ProfileHeader, ProfileSkeleton components
- admin/onboarding (214 -> 101): useOnboardingFields hook
- search (195 -> 44): SearchResults, SearchResultCard components
- admin/plugins (195 -> 92): DependencyWarningDialog, usePluginManagement
- admin/users (189 -> 108): UserCard component
Closes #23
authored by