Skip to content

Clean up settings: merge data tab, remove dead code, standardize UI#12

Merged
amigoer merged 1 commit intomainfrom
feat/settings-cleanup
Apr 4, 2026
Merged

Clean up settings: merge data tab, remove dead code, standardize UI#12
amigoer merged 1 commit intomainfrom
feat/settings-cleanup

Conversation

@amigoer
Copy link
Copy Markdown
Owner

@amigoer amigoer commented Apr 4, 2026

Summary

  • Merged the separate "数据与缓存" tab into "关于与数据", reducing nav clutter from 5 tabs to 4
  • Deleted unused useTheme.ts hook (fully replaced by useSettings in earlier PRs)
  • Removed unused Database lucide import
  • Increased Toggle dimensions (30×52px) for better visual alignment with h-10 form controls
  • Standardized all data management buttons to consistent h-10 height with rounded-lg styling

… standardize controls

- Remove separate "数据与缓存" tab and merge its content into "关于与数据"
- Delete unused useTheme.ts hook (replaced by useSettings)
- Remove unused Database import from lucide-react
- Increase Toggle dimensions (h-30/w-52) for better visual consistency
- Standardize all data management buttons to h-10 with rounded-lg
@amigoer amigoer merged commit c724f70 into main Apr 4, 2026
@amigoer amigoer deleted the feat/settings-cleanup branch April 4, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant