Skip to content

Conversation

@guyromellemagayano
Copy link
Contributor

Extract team member display logic into a reusable TeamMemberCard component to improve code maintainability and reduce duplication.

Changes:

  • Create TeamMemberCard component in src/components/TeamMemberCard.vue
  • Refactor TeamPage to use TeamMemberCard for both active and inactive members
  • Remove duplicate team member display code from TeamPage
  • Remove unused smoothScroll and onGoToPanel code
  • Add key attributes to template loops for better Vue performance

This reduces code duplication and makes team member display logic reusable across the application.

@guyromellemagayano guyromellemagayano force-pushed the feat/team-member-card branch 2 times, most recently from 7486200 to beb6ddf Compare November 16, 2025 09:14
@guyromellemagayano guyromellemagayano changed the title feat: Create TeamMemberCard component and refactor TeamPage Create TeamMemberCard component and refactor TeamPage Nov 16, 2025
@jofftiquez
Copy link
Member

Kindly provide a screenshot of the component

Copy link
Member

@jofftiquez jofftiquez left a comment

Choose a reason for hiding this comment

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

Add screenshot

@guyromellemagayano
Copy link
Contributor Author

Here is a screenshot of the TeamMemberCard.vue that you requested, @jofftiquez

Screenshot 2025-11-18 at 5 47 13 PM

This pull request extracts team member display logic into a reusable `TeamMemberCard` component to improve code maintainability and reduce duplication.

Key changes:
* Create `TeamMemberCard` component in `src/components/TeamMemberCard.vue`
* Refactor `TeamPage` to use `TeamMemberCard` for both active and inactive members
* Remove duplicate team member display code from `TeamPage`
* Remove unused `smoothScroll` and `onGoToPanel` code
* Add `:key` attributes to template loops for better Vue performance

This reduces code duplication and makes team member display logic reusable across the application.
@jofftiquez
Copy link
Member

Hi @guyromellemagayano I meant the actual screenshot of the working UI not the code. Sorry for the confusion.

@jofftiquez jofftiquez closed this Nov 25, 2025
@guyromellemagayano guyromellemagayano deleted the feat/team-member-card branch November 25, 2025 18:46
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