Skip to content

22 Code Quality Improvements and Component Refactoring#63

Merged
mrbalov merged 11 commits intomainfrom
fix/22-nextjs-various-fixes
Feb 20, 2026
Merged

22 Code Quality Improvements and Component Refactoring#63
mrbalov merged 11 commits intomainfrom
fix/22-nextjs-various-fixes

Conversation

@mrbalov
Copy link
Collaborator

@mrbalov mrbalov commented Feb 20, 2026

Changelog

[5.0.2] - 2026-02-20

22 Code Quality Improvements and Component Refactoring

Changed

  • Refactored Footer component by extracting Copywrite and PoweredBy sub-components for better maintainability
  • Extracted global animations from globals.css into dedicated animations.css file
  • Converted NotFoundPage to standalone component with proper structure
  • Simplified authentication utilities by extracting logout logic to dedicated API module
  • Converted inline styles to Tailwind CSS classes in ActivityEmoji and StatusEmoji components
  • Improved code consistency with arrow function patterns throughout authentication utilities

Fixed

  • Added suppressHydrationWarning to <body> element to prevent hydration warnings from browser extensions (e.g., Grammarly)

Technical Notes

  • Reduced codebase by ~172 lines through refactoring and consolidation
  • Improved component modularity with dedicated logout API endpoint (/strava/logout)
  • Enhanced maintainability by following project conventions for function declarations and JSDoc comments
  • All animations now centralized in single registry file for easier management

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for torqui ready!

Name Link
🔨 Latest commit 72a320f
🔍 Latest deploy log https://app.netlify.com/projects/torqui/deploys/69985d76adeb08000884af58
😎 Deploy Preview https://deploy-preview-63--torqui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for torqapi canceled.

Name Link
🔨 Latest commit 72a320f
🔍 Latest deploy log https://app.netlify.com/projects/torqapi/deploys/69985d76fb4cae0008454258

@mrbalov mrbalov merged commit d261f5f into main Feb 20, 2026
13 checks passed
@mrbalov mrbalov deleted the fix/22-nextjs-various-fixes branch February 20, 2026 13:12
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