-
Notifications
You must be signed in to change notification settings - Fork 72
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(studio-root): seperated repeated html on ContactPage to React Component #14169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments added 😄
frontend/studio-root/components/ContactSection/ContactSection.module.css
Outdated
Show resolved
Hide resolved
frontend/studio-root/components/ContactSection/ContactSection.tsx
Outdated
Show resolved
Hide resolved
frontend/studio-root/components/ContactSection/ContactSection.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14169 +/- ##
=======================================
Coverage 95.33% 95.33%
=======================================
Files 1783 1785 +2
Lines 23230 23236 +6
Branches 2693 2694 +1
=======================================
+ Hits 22147 22153 +6
Misses 836 836
Partials 247 247 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
Description
This PR refactors the ContactPage to improve code readability and maintainability by extracting repeating HTML structures into a separate React component. The extracted component encapsulates shared logic and markup, ensuring the ContactPage remains clean and focused on its specific functionality.
Related Issue(s)
Verification