Skip to content

Redesign#142

Merged
RLAlpha49 merged 83 commits intouser-flowfrom
redesign
Mar 23, 2026
Merged

Redesign#142
RLAlpha49 merged 83 commits intouser-flowfrom
redesign

Conversation

@RLAlpha49
Copy link
Copy Markdown
Owner

No description provided.

- Add pre-commit hook running lint-staged
- Add pre-push hook running typecheck
- Add husky and knip as devDependencies
- Add 'check:unused' and 'prepare' scripts
- Sort devDependencies alphabetically
- Delete .ncurc.json (ncu config no longer needed)
- Delete tailwind.config.ts (Tailwind v4 uses CSS-first config in globals.css)
Component was deleted as part of the redesign; dependency is no longer needed.
Remove unused functions, types, store selectors, hooks, and template wrapper files identified by Knip unused code analysis. Includes removal of:
- Unused utility functions (getSvgBorderRadius, hslToHex, formatBytes, etc.)
- Dead store modules (cache, storage-adapter, user-preferences) and selectors
- Unused hooks (useCardAutoSave, useIsMobile)
- Individual SVG template wrapper files replaced by shared templates
- Dead exports from error-tracking, csp-config, card-data, and google-analytics
- Unused types (UserStats, CardsDocument, UserDocument, ExampleCardVariant)
Alphabetize export groups by module name and remove redundant section comments.
Add consistent spacing in import statements across lib and test files.
Remove comments that merely restate the code, section header comments, and overly verbose inline annotations across lib, test, and config files.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
anicards Ready Ready Preview, Comment Mar 22, 2026 11:37pm

@gooroo-dev
Copy link
Copy Markdown

gooroo-dev Bot commented Mar 19, 2026

Please double check the following review of the pull request:

🐞Mistake 🤪Typo 🚨Security 🚀Performance 💪Best Practices 📖Readability ❓Others
0 0 0 0 0 0 0

Changes in the diff

  • 🛠️ No changes detected (empty diff).

Identified Issues

No issues found because the diff is empty.


No code changes to review or test. Please provide the actual code changes for review.

Summon me to re-review when updated! Yours, Gooroo.dev
React or reply to keep the conversation going!

Repository owner deleted a comment from coderabbitai Bot Mar 19, 2026
Repository owner deleted a comment from coderabbitai Bot Mar 19, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 19, 2026

Important

Review skipped

Too many files!

This PR contains 246 files, which is 96 over the limit of 150.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: e4e295ef-8bbb-446b-8503-7ff7a174417e

📥 Commits

Reviewing files that changed from the base of the PR and between af5acc1 and bb642d5.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (246)
  • .github/instructions/nextjs.instructions.md
  • .github/instructions/performance-optimization.instructions.md
  • .github/instructions/reactjs.instructions.md
  • .github/instructions/security-and-owasp.instructions.md
  • .github/prompts/implement-new-card-types.prompt.md
  • .github/prompts/new-card-types-research.prompt.md
  • .github/prompts/unified-card-types-combiner.prompt.md
  • .github/workflows/check-updates.yml
  • .gitignore
  • .husky/pre-commit
  • .husky/pre-push
  • .ncurc.json
  • TODO.md
  • app/api/anilist/route.ts
  • app/api/card/route.ts
  • app/api/convert/route.ts
  • app/api/cron/analytics-reporting/route.ts
  • app/api/cron/route.ts
  • app/api/get-cards/route.ts
  • app/api/get-user/route.ts
  • app/api/store-cards/route.ts
  • app/api/store-users/route.ts
  • app/contact/page.tsx
  • app/examples/page.tsx
  • app/globals.css
  • app/layout.tsx
  • app/middleware.ts
  • app/page.tsx
  • app/projects/page.tsx
  • app/providers.tsx
  • app/search/page.tsx
  • app/user/page.tsx
  • components/AnalyticsProvider.tsx
  • components/AppSidebar.tsx
  • components/CTASection.tsx
  • components/CustomScrollbar.tsx
  • components/DarkModeToggle.tsx
  • components/ErrorBoundary.tsx
  • components/ErrorPopup.tsx
  • components/FloatingCardsLayer.tsx
  • components/Footer.tsx
  • components/GithubCorner.tsx
  • components/GridPattern.tsx
  • components/Header.tsx
  • components/HeroBadge.tsx
  • components/HeroHighlights.tsx
  • components/ImageWithSkeleton.tsx
  • components/LayoutShell.tsx
  • components/LoadingSpinner.tsx
  • components/MathTooltipContent.tsx
  • components/PageShell.tsx
  • components/StatCard.tsx
  • components/contact/ContactCTA.tsx
  • components/contact/ContactChannels.tsx
  • components/contact/ContactHeroSection.tsx
  • components/contact/ContactReasons.tsx
  • components/contact/index.ts
  • components/examples/CTASection.tsx
  • components/examples/CardLightboxModal.tsx
  • components/examples/CategoryNavigation.tsx
  • components/examples/CategorySection.tsx
  • components/examples/ExampleCard.tsx
  • components/examples/ExamplesHeroSection.tsx
  • components/examples/SearchFilterBar.tsx
  • components/examples/index.ts
  • components/home/BentoFeatures.tsx
  • components/home/CardMarquee.tsx
  • components/home/FeaturesSection.tsx
  • components/home/HeroSection.tsx
  • components/home/HomeCTA.tsx
  • components/home/PreviewShowcase.tsx
  • components/home/ProcessSteps.tsx
  • components/home/StatsRibbon.tsx
  • components/projects/FeaturedProject.tsx
  • components/projects/ProjectCard.tsx
  • components/projects/ProjectCollection.tsx
  • components/projects/ProjectEthos.tsx
  • components/projects/ProjectsCTA.tsx
  • components/projects/ProjectsHeroSection.tsx
  • components/projects/constants.ts
  • components/projects/index.ts
  • components/projects/types.ts
  • components/search/SearchCTA.tsx
  • components/search/SearchCapabilities.tsx
  • components/search/SearchForm.tsx
  • components/search/SearchHeroSection.tsx
  • components/search/SearchJourney.tsx
  • components/search/index.ts
  • components/stat-card-generator/ColorPickerGroup.tsx
  • components/stat-card-generator/ColorPresetSelector.tsx
  • components/stat-card-generator/constants.ts
  • components/ui/Alert.tsx
  • components/ui/AlertDialog.tsx
  • components/ui/Button.tsx
  • components/ui/Card.tsx
  • components/ui/Checkbox.tsx
  • components/ui/Dialog.tsx
  • components/ui/Input.tsx
  • components/ui/Label.tsx
  • components/ui/Popover.tsx
  • components/ui/Select.tsx
  • components/ui/Separator.tsx
  • components/ui/Sheet.tsx
  • components/ui/Sidebar.tsx
  • components/ui/Skeleton.tsx
  • components/ui/Switch.tsx
  • components/ui/Tabs.tsx
  • components/ui/Tooltip.tsx
  • components/user/BulkActionsToolbar.tsx
  • components/user/CardCategorySection.tsx
  • components/user/CardSettingsDialog.tsx
  • components/user/CardSettingsPanel.tsx
  • components/user/CardTile.tsx
  • components/user/ColorPreviewCard.tsx
  • components/user/CommandPalette.tsx
  • components/user/GlobalSettingsPanel.tsx
  • components/user/SettingsContent.tsx
  • components/user/SettingsTools.tsx
  • components/user/UserHelpDialog.tsx
  • components/user/UserPageEditor.tsx
  • components/user/UserPageHeader.tsx
  • components/user/VirtualizedCardGrid.tsx
  • components/user/bulk/BulkConfirmDialog.tsx
  • components/user/bulk/CopyUrlsPopover.tsx
  • components/user/bulk/DownloadPopover.tsx
  • components/user/bulk/DownloadStatusAlerts.tsx
  • components/user/bulk/SelectionCounter.tsx
  • components/user/editor/DraftRestoreNotice.tsx
  • components/user/editor/EditorNotices.tsx
  • components/user/editor/EditorTour.tsx
  • components/user/editor/ReorderModeHint.tsx
  • components/user/editor/SaveConflictNotice.tsx
  • components/user/help/user-help-topics.ts
  • components/user/hooks/useCardFiltering.ts
  • components/user/hooks/useNewUserSetup.ts
  • components/user/hooks/useUserDataLoader.ts
  • components/user/tile/CardPreview.tsx
  • components/user/tile/CardTileHeader.tsx
  • components/user/tile/CopyPopover.tsx
  • components/user/tile/DisabledState.tsx
  • components/user/tile/DownloadPopover.tsx
  • components/user/tile/VariantSelector.tsx
  • components/user/tile/preview-cache.ts
  • eslint.config.mjs
  • hooks/useCardAutoSave.ts
  • hooks/useDownload.ts
  • hooks/useGoogleAnalytics.ts
  • hooks/useIsMobile.ts
  • hooks/usePageSEO.ts
  • knip.json
  • lib/animations.ts
  • lib/api-utils.ts
  • lib/api/cards.ts
  • lib/card-data/config.ts
  • lib/card-data/fetching.ts
  • lib/card-data/index.ts
  • lib/card-data/processing.ts
  • lib/card-data/validation.ts
  • lib/card-generator.ts
  • lib/card-groups.ts
  • lib/card-info-tooltips.ts
  • lib/card-types.ts
  • lib/colorUtils.ts
  • lib/csp-config.ts
  • lib/error-messages.ts
  • lib/error-tracking.ts
  • lib/image-utils.ts
  • lib/seo.ts
  • lib/server/user-data.ts
  • lib/stores/cache.ts
  • lib/stores/index.ts
  • lib/stores/storage-adapter.ts
  • lib/stores/svg-cache.ts
  • lib/stores/user-page-editor.ts
  • lib/stores/user-preferences.ts
  • lib/svg-templates/activity-stats/recent-activity-summary-template.ts
  • lib/svg-templates/activity-stats/shared.ts
  • lib/svg-templates/common/base-template-utils.ts
  • lib/svg-templates/common/color-utils.ts
  • lib/svg-templates/common/constants.ts
  • lib/svg-templates/common/dimensions.ts
  • lib/svg-templates/comparative-distribution-stats/shared.ts
  • lib/svg-templates/comparative-distribution-stats/stats-utils.ts
  • lib/svg-templates/completion-progress-stats/personal-records-template.ts
  • lib/svg-templates/distribution/anime-score-distribution-template.ts
  • lib/svg-templates/distribution/anime-year-distribution-template.ts
  • lib/svg-templates/distribution/manga-score-distribution-template.ts
  • lib/svg-templates/distribution/manga-year-distribution-template.ts
  • lib/svg-templates/distribution/shared.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-country-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-episode-length-preferences-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-format-distribution-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-genres-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-seasonal-preference-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-staff-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-status-distribution-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-studios-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-tags-template.ts
  • lib/svg-templates/extra-anime-manga-stats/anime-voice-actors-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-country-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-format-distribution-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-genres-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-staff-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-status-distribution-template.ts
  • lib/svg-templates/extra-anime-manga-stats/manga-tags-template.ts
  • lib/svg-templates/extra-anime-manga-stats/shared.ts
  • lib/svg-templates/media-stats/manga-stats-template.ts
  • lib/svg-templates/media-stats/shared.ts
  • lib/svg-templates/profile-favorite-stats/favorites-grid-template.ts
  • lib/svg-templates/profile-favorite-stats/favorites-summary-template.ts
  • lib/svg-templates/profile-favorite-stats/profile-overview-template.ts
  • lib/svg-templates/profile-favorite-stats/shared.ts
  • lib/svg-templates/social-stats.ts
  • lib/svg-templates/user-analytics/index.ts
  • lib/types/card.ts
  • lib/user-page-editor-draft.ts
  • lib/user-page-settings-io.ts
  • lib/utils.ts
  • lib/utils/google-analytics.ts
  • lib/utils/milestones.ts
  • next.config.ts
  • openapi.yaml
  • package.json
  • tailwind.config.ts
  • tests/e2e/contact/contact.spec.ts
  • tests/e2e/examples/examples.spec.ts
  • tests/e2e/fixtures/index.ts
  • tests/e2e/fixtures/mock-data.ts
  • tests/e2e/fixtures/test-utils.ts
  • tests/e2e/home/home.spec.ts
  • tests/e2e/projects/projects.spec.ts
  • tests/e2e/search/search.spec.ts
  • tests/e2e/user/user-error.spec.ts
  • tests/e2e/user/user-page-editor-save.spec.ts
  • tests/e2e/user/user.spec.ts
  • tests/unit/__setup__.ts
  • tests/unit/api/anilist/anilist.test.ts
  • tests/unit/api/card/card.test.ts
  • tests/unit/api/convert/convert.test.ts
  • tests/unit/api/cron/analytics-reporting/analytics-reporting.test.ts
  • tests/unit/api/cron/cron.test.ts
  • tests/unit/api/get-cards/cards.test.ts
  • tests/unit/api/get-user/user.test.ts
  • tests/unit/api/sitemap.xml/sitemap.test.ts
  • tests/unit/api/store-cards/store-cards.test.ts
  • tests/unit/api/store-users/store-users.test.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch redesign

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
4.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@RLAlpha49 RLAlpha49 merged commit f05c002 into user-flow Mar 23, 2026
3 checks passed
@RLAlpha49 RLAlpha49 deleted the redesign branch March 23, 2026 17:16
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