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

Feat: Enhanced 'Email' and 'Created At' Fields of User Info #786

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

dhairyashiil
Copy link
Contributor

Brief Title

Feat: Enhanced 'Email' and 'Created At' Fields of User Info

Acceptance Criteria fulfillment

  • Enhance the 'Email' Field UI: The 'Email' field should be formatted for better readability and visual appeal.
  • Modify 'Created At' Field: The 'Created At' field should display the full date in the format: "Month Day, Year" (e.g., "December 16, 2024"), instead of the current timestamp.

Fixes #785

Video/Screenshots

user.infor.email.and.created.at.mp4

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-786 after approval. Contributors are requested to replace <pr_number> with the actual PR number.

@@ -182,7 +183,7 @@ const UserInformation = () => {
<Box key={index} css={styles.emailContainer}>
<a
href={`mailto:${email.address}`}
style={{ textDecoration: 'none', color: 'inherit' }}
style={{ textDecoration: 'underline', color: '#095AD2' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pls don't hardcode colors

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yupp, Understood. First I thought that standard of email link will blue only, But I was wrong.

Removed hardcoding, now handling it like this:
image

@dhairyashiil
Copy link
Contributor Author

Refer:
Light theme -

image

and

image

Dark theme -

image

and

image

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.

Feat: User Info Enhancement for 'Email' and 'Created At' Fields
2 participants