Skip to content

Fix account page#108

Merged
printer83mph merged 15 commits into
masterfrom
fix/account-page
Oct 29, 2021
Merged

Fix account page#108
printer83mph merged 15 commits into
masterfrom
fix/account-page

Conversation

@printer83mph

Copy link
Copy Markdown
Contributor

Multiple fixes for account page frontend

@codecov

codecov Bot commented Oct 10, 2021

Copy link
Copy Markdown

Codecov Report

Merging #108 (38c3aaa) into master (3dd0c43) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   97.22%   97.22%           
=======================================
  Files          11       11           
  Lines         541      541           
=======================================
  Hits          526      526           
  Misses         15       15           
Flag Coverage Δ
backend 97.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3dd0c43...38c3aaa. Read the comment docs.

@printer83mph printer83mph added enhancement New feature or request and removed do not merge labels Oct 22, 2021
@printer83mph printer83mph marked this pull request as ready for review October 22, 2021 20:47
Confirm
</Button>
<Button type="button" cancel onClick={onCancel}>
X

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Swap this out with feather icon

Comment thread frontend/components/Accounts/index.tsx Outdated
<Button margin="1.5rem 0 0 0">Save</Button>
<Button
margin="1.5rem 0 0 0"
style={{ fontSize: "1.2rem" }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably a better idea to move this to the styled component prop

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actually, any reason for bumping the font size? I think the font size is a little too big here - and it seems like the text isn't aligned

font-size: 1.5rem;
`;

export const FormGroupGrid = styled.div`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should definitely be more generalized instead of hardcoding the numbers - perhaps a marginBottom prop with type string with default of 0?

Comment thread frontend/components/Accounts/ui.ts Outdated
height: 1rem;
margin-top: 0.35rem;
background-color: #e7e7e7;
${({ blue }) => `background-color: ${blue ? "#adcced" : "#e7e7e7"};`}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above - perhaps better to have a color props

Comment thread frontend/components/Accounts/ui.ts Outdated
margin?: string;
cancel?: boolean;
}>`
background-color: ${(props) => (props.cancel ? "#93a0ad" : "#209cee")};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above

@eyingxuan eyingxuan self-requested a review October 22, 2021 21:27
@printer83mph printer83mph merged commit 1207285 into master Oct 29, 2021
@printer83mph printer83mph deleted the fix/account-page branch October 29, 2021 21:25
@printer83mph printer83mph restored the fix/account-page branch December 3, 2021 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants