Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

feat: add My Contacts page #2243

Merged
merged 22 commits into from
Jun 25, 2020
Merged

feat: add My Contacts page #2243

merged 22 commits into from
Jun 25, 2020

Conversation

dated
Copy link
Contributor

@dated dated commented Jun 23, 2020

Summary

Adds the My Contact page.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@dated dated requested a review from faustbrian as a code owner June 23, 2020 16:47
@ghost ghost added Complexity: Undetermined Needs specialized, in-depth review. Type: Feature The issue is a request for new functionality. labels Jun 23, 2020
boldninja and others added 2 commits June 23, 2020 18:48
Optimized SVG(s):
- src/domains/contacts/images/contacts-banner.svg
@faustbrian
Copy link
Contributor

@dated failing tests

@@ -38,7 +38,7 @@ export const Address = ({ address, addressClass, walletName, maxChars, size }: P
addressClass || (walletName ? "text-theme-neutral-400" : "text-theme-neutral-800")
} font-semibold ${size && fontSizes[size]}`}
>
{truncateStringMiddle(address, maxChars)}
{maxChars && maxChars > 0 ? truncateStringMiddle(address, maxChars) : address}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the maxChars && maxChars > 0 part be handled inside truncateStringMiddle so that it would return the value without any truncating if it is false? Then it would apply to all places that use truncateStringMiddle and not just this place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

16e6fad that ok?

@codecov
Copy link

codecov bot commented Jun 24, 2020

Codecov Report

Merging #2243 into 3.0-react will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           3.0-react     #2243     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
=============================================
  Files             24       177    +153     
  Lines            142      1544   +1402     
  Branches          18       270    +252     
=============================================
+ Hits             142      1544   +1402     
Flag Coverage Δ
#unit 100.00% <100.00%> (?)
Impacted Files Coverage Δ
src/app/components/Button/Button.tsx 100.00% <ø> (ø)
src/app/components/Card/Card.tsx 100.00% <ø> (ø)
src/app/components/Card/CardControl.tsx 100.00% <ø> (ø)
src/app/components/Address/Address.tsx 100.00% <100.00%> (ø)
src/app/components/Address/utils.ts 100.00% <100.00%> (ø)
src/app/components/Alert/Alert.tsx 100.00% <100.00%> (ø)
src/app/components/Badge/Badge.styles.ts 100.00% <100.00%> (ø)
src/app/components/Badge/Badge.tsx 100.00% <100.00%> (ø)
src/app/components/Breadcrumbs/Breadcrumbs.tsx 100.00% <100.00%> (ø)
src/app/components/Button/Button.styles.ts 100.00% <100.00%> (ø)
... and 204 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 78231b2...8958dce. Read the comment docs.

@faustbrian faustbrian merged commit 65ecaf5 into 3.0-react Jun 25, 2020
@ghost ghost deleted the feat/my-contacts branch June 25, 2020 01:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: Undetermined Needs specialized, in-depth review. Type: Feature The issue is a request for new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants