Skip to content

Conversation

@jpcmf
Copy link
Owner

@jpcmf jpcmf commented Nov 7, 2025

No description provided.

jpcmf added 19 commits November 5, 2025 15:43
@jpcmf jpcmf self-assigned this Nov 7, 2025
@jpcmf jpcmf added the deployed label Nov 7, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements theme support with light/dark mode toggle and refactors the codebase structure by moving constants to a centralized location. Key changes include adding color mode support across components, reorganizing validation and category constants, and improving UI consistency.

  • Added light/dark theme toggle with Chakra UI's color mode system
  • Refactored constants from /const to /lib/const with new helper functions
  • Updated multiple components to use dynamic colors based on theme mode

Reviewed Changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/styles/theme.ts Configured theme with dark mode as default and dynamic color styles
src/lib/const/categories.ts Added helper functions and types for category management
src/lib/const/validation.ts Moved validation constants to centralized location
src/pages/auth/signup.tsx Updated imports and replaced execute() with execute?.() for recaptcha
src/components/Header/Profile.tsx Added theme toggle button in user menu
src/features/user/profile/index.tsx Applied dynamic theme colors and removed unused icon import
src/pages/spots/index.tsx Updated to use hardcoded dark mode colors instead of dynamic colors
src/features/user/edit/index.tsx Applied consistent heading style but uses hardcoded dark colors
src/components/StoriesSwiper/index.tsx Replaced placeholder images and removed unused button functionality
src/components/CardUser/index.tsx Improved card styling with theme-aware colors and consolidated social media functions
src/components/Sidebar/SidebarNav.tsx Moved "Cadastro geral" link to authenticated user section with dynamic colors
src/features/skatistas/index.tsx Applied theme-aware background colors
src/features/stories/home/index.tsx Applied dynamic title background color
src/features/login/modal/login.tsx Added theme-aware colors for buttons and backgrounds
src/components/Footer/index.tsx Applied theme-aware colors to footer elements
src/types/usersBasics.type.ts Added id field to category object
src/types/UserBasicsWithPagination.type.ts Added id field to category object

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jpcmf
Copy link
Owner Author

jpcmf commented Nov 9, 2025

@jpcmf jpcmf merged commit 30fc58c into develop Nov 10, 2025
1 check passed
@jpcmf jpcmf deleted the improvement/interface-2 branch November 10, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants