Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(frontend): move hide info utils to common folder #3607

Merged

Conversation

AntonioVentilii
Copy link
Collaborator

@AntonioVentilii AntonioVentilii commented Nov 16, 2024

Motivation

Since we are going to re-use them, we move the hide info utils to the common lib folder. And we add tests.

Note

I am not using zod for the keys list because I am replicating the way we do for modals, defining explicit string types. I am not 100% sure that zod enforces the strings in the same way.

@AntonioVentilii AntonioVentilii requested a review from a team as a code owner November 16, 2024 01:07
Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

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

The PR description says "move" but, things are also renamed. Should it be two PRs?

@AntonioVentilii
Copy link
Collaborator Author

@peterpeterparker you are right, I will do the rename in another PR

Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

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

LGTM, thx

@AntonioVentilii AntonioVentilii enabled auto-merge (squash) November 17, 2024 10:43
@AntonioVentilii AntonioVentilii merged commit cc257b6 into main Nov 17, 2024
14 checks passed
@AntonioVentilii AntonioVentilii deleted the refactor(frontend)/move-hide-info-utils-to-common-folder branch November 17, 2024 10:45
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.

2 participants