-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(con): replace the old profile card component (#988)
* Refactor the profile card related code * Replace the old profile card in the Mentorship and MentorshipsList components * Add ConUserProfileCardProfileProp fragment for ConUserProfileCard component * Remove the old ProfileCard component * Rename NewProfileCard to ProfileCard
- Loading branch information
1 parent
a7984b4
commit 4d71252
Showing
15 changed files
with
68 additions
and
198 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
apps/redi-connect/src/components/organisms/ConUserProfileCard.generated.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// THIS FILE IS GENERATED, DO NOT EDIT! | ||
import * as Types from '@talent-connect/data-access'; | ||
|
||
export type ConUserProfileCardProfilePropFragment = { __typename?: 'ConProfile', id: string, fullName: string, languages?: Array<Types.Language> | null, categories: Array<Types.MentoringTopic>, rediLocation: Types.RediLocation, profileAvatarImageS3Key?: string | null }; | ||
|
||
export const ConUserProfileCardProfilePropFragmentDoc = ` | ||
fragment ConUserProfileCardProfileProp on ConProfile { | ||
id | ||
fullName | ||
languages | ||
categories | ||
rediLocation | ||
profileAvatarImageS3Key | ||
} | ||
`; |
2 changes: 1 addition & 1 deletion
2
.../components/organisms/ProfileCard.graphql → ...ents/organisms/ConUserProfileCard.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...mponents/organisms/MentorProfileCard.scss → ...ponents/organisms/ConUserProfileCard.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
apps/redi-connect/src/components/organisms/ProfileCard.generated.ts
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
apps/redi-connect/src/components/organisms/ProfileCard.scss
This file was deleted.
Oops, something went wrong.
81 changes: 0 additions & 81 deletions
81
apps/redi-connect/src/components/organisms/ProfileCard.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.