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(react): add AccountOverview component #58

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

savindi7
Copy link
Contributor

@savindi7 savindi7 commented Mar 6, 2023

Purpose

  • Add AccountOverview card

Desktop

Screenshot 2023-03-07 at 00 30 31

Mobile

Screenshot 2023-03-07 at 00 31 10

Related Issues

Related PRs

  • None

Checklist

  • UX/UI review done on the final implementation.
  • Story provided. (Add screenshots)
  • Manual test round performed and verified.
  • Unit tests provided. (Add links if there are any)
  • Documentation provided. (Add links if there are any)

Security checks

@@ -60,6 +60,15 @@
z-index: 1;
position: absolute;
width: 100%;
bottom: calc(42px + 1em);
// TODO: Review this.
Copy link
Member

Choose a reason for hiding this comment

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

Whats the reason for the absolute positioning?

Copy link
Contributor Author

@savindi7 savindi7 Mar 7, 2023

Choose a reason for hiding this comment

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

Absolute positioning was required for the navigation buttons in the Mobile screen.

Screenshot 2023-03-07 at 11 09 54

Copy link
Member

Choose a reason for hiding this comment

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

The design looks like a UI issue to me. Shall we check what we can do to improve?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A discussion is being done on a better design for the buttons. A fix is added until the decision is finalized - ec27f4f

Comment on lines +20 to +28
padding: 0.8rem 1rem;

.oxygen-card-header {
padding: 1rem 0;
padding-bottom: 1.5rem;
}

.oxygen-account-completion-steps-box {
padding: 0.5rem;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we use the default spacing values?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently we do not have any default spacing values defined in the default theme.

@savindi7 savindi7 mentioned this pull request Mar 8, 2023
73 tasks
thivi
thivi previously approved these changes Mar 8, 2023
@savindi7 savindi7 merged commit 3ca0355 into wso2:main Mar 13, 2023
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.

3 participants