Skip to content

Contact Tab UI - slight redesign#278

Merged
MBreathe merged 2 commits intoHackYourFuture:mainfrom
MBreathe:feature/contact-tab-ui-upd
Jan 22, 2026
Merged

Contact Tab UI - slight redesign#278
MBreathe merged 2 commits intoHackYourFuture:mainfrom
MBreathe:feature/contact-tab-ui-upd

Conversation

@MBreathe
Copy link
Copy Markdown
Contributor

This pull request refactors the ContactInfo component to improve its layout and usability, particularly by organizing contact fields into a more structured two-column format and adding an emergency contact section. The changes focus on enhancing the user interface for better readability and organization.

Layout and Structure Improvements:

  • Refactored the main layout to use a two-column (50% width each) structure for standard and emergency contact information, improving readability and organization.
  • Adjusted widths of input fields and containers from fixed (80ch) to relative (100% or 90ch) values for better responsiveness and alignment.

Feature Additions:

  • Added an "Emergency contact" section with a header (Typography) and corresponding input fields for emergency contact name and phone number, separated into the new two-column layout.

Code Quality and Consistency:

  • Cleaned up imports and added missing Typography and React imports to support new UI elements and ensure code consistency.
  • Removed unnecessary wrapper <div>s, replacing them with <Box> components for more consistent styling and structure.

@MBreathe MBreathe self-assigned this Jan 21, 2026
Copilot AI review requested due to automatic review settings January 21, 2026 15:23
@MBreathe MBreathe added the FE Frontend ticket label Jan 21, 2026
@MBreathe MBreathe added this to Dojo Jan 21, 2026
@MBreathe MBreathe removed this from Dojo Jan 21, 2026
@MBreathe MBreathe linked an issue Jan 21, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

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 pull request refactors the ContactInfo component to organize contact fields into a more structured layout with a two-column format and adds a dedicated emergency contact section with a header.

Changes:

  • Restructured layout from single-column (flexDirection="column") to a two-column layout using nested Box components with 50% widths
  • Added an "Emergency contact" section header using Typography component to visually separate emergency contact fields
  • Changed field widths from fixed 80ch to relative 100% within column containers, with outer containers set to 90ch

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

Comment thread client/src/components/ContactInfo.tsx
Comment thread client/src/components/ContactInfo.tsx
Comment thread client/src/components/ContactInfo.tsx
Comment thread client/src/components/ContactInfo.tsx
@MBreathe MBreathe changed the title moved components into boxes with various width and added header label for emergency contact Contact Tab UI - slight redesign Jan 21, 2026
@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-contact-ta-kewbsw January 21, 2026 21:09 Inactive
Copy link
Copy Markdown
Member

@stasel stasel left a comment

Choose a reason for hiding this comment

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

Looks good

@MBreathe MBreathe merged commit e4e603d into HackYourFuture:main Jan 22, 2026
1 check passed
@MBreathe MBreathe deleted the feature/contact-tab-ui-upd branch January 22, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FE Frontend ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update contacts tab UI

4 participants