Skip to content

Conversation

@luizhf42
Copy link
Member

@luizhf42 luizhf42 commented Sep 4, 2025

This pull request refactors the application's utils. The refactoring involves simplifying logic, removing unused utils, and reusing the main UI's utils in the admin, preventing code duplication.

@luizhf42 luizhf42 self-assigned this Sep 4, 2025
@luizhf42 luizhf42 force-pushed the refactor/utils branch 2 times, most recently from 3ca13f5 to 13123a7 Compare September 4, 2025 20:54
@luizhf42 luizhf42 marked this pull request as ready for review September 4, 2025 21:10
@luizhf42 luizhf42 requested a review from a team as a code owner September 4, 2025 21:10
@luizhf42 luizhf42 force-pushed the refactor/utils branch 2 times, most recently from 8434c61 to 73d2033 Compare September 8, 2025 12:54
otavio
otavio previously approved these changes Sep 8, 2025
- remove duplicated util in admin
- use utils inside components and remove the duplicated inner declarations
- add message for missing date cases
- remove duplicated utils in admin
- simplify logic
- remove duplicated admin util
- centralize all utils inside `src`, removing the admin's hooks folder
- simplify logic
- remove redundant role check inside components
@gustavosbarreto gustavosbarreto merged commit 2e834ef into master Sep 11, 2025
8 checks passed
@gustavosbarreto gustavosbarreto deleted the refactor/utils branch September 11, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants