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

chore(mobile): graph tuning #7767

Merged
merged 1 commit into from
Mar 7, 2023
Merged

chore(mobile): graph tuning #7767

merged 1 commit into from
Mar 7, 2023

Conversation

Nodonisko
Copy link
Contributor

@Nodonisko Nodonisko commented Mar 4, 2023

  1. Fix graph is not showing when it's just straight line fix: graph is not showing if all points have same value margelo/react-native-graph#68
  2. Add price percentage change indicator to account detail graph
  3. Better formatting of graph date
  4. Last point of graph will always use value from account info because counting balance by summing transactions is not reliable for some coins like ETH
  5. Some minor refactors and perf improvements
  6. Should solve Switching timeline changes fiat and Bitcoin value #7237

Description

Related Issue

Resolve

Screenshots:

@Nodonisko Nodonisko force-pushed the chore/graph-tuning branch from 720211a to 7cf6783 Compare March 5, 2023 20:00
@Nodonisko Nodonisko marked this pull request as ready for review March 5, 2023 20:01
@Nodonisko Nodonisko requested a review from a team as a code owner March 5, 2023 20:01
Copy link
Contributor

@PeKne PeKne left a comment

Choose a reason for hiding this comment

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

@@ -9,7 +9,7 @@ import { FormatterProps } from '../types';
import { EmptyAmountText } from './EmptyAmountText';
import { AmountText } from './AmountText';

type CryptoToFiatAmountFormatterProps = FormatterProps<string | number | null> &
type CryptoToFiatAmountFormatterProps = FormatterProps<string | null> &
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
type CryptoToFiatAmountFormatterProps = FormatterProps<string | null> &
type FiatAmountFormatterProps = FormatterProps<string | null> &

I know it is not your mistake, but fix it please. It needs to be changed also on line 23 to apply correctly named props.

@Nodonisko Nodonisko force-pushed the chore/graph-tuning branch from 7cf6783 to bb2b6bd Compare March 7, 2023 11:35
@Nodonisko Nodonisko enabled auto-merge (squash) March 7, 2023 11:35
@Nodonisko Nodonisko merged commit cb58f84 into develop Mar 7, 2023
@Nodonisko Nodonisko deleted the chore/graph-tuning branch March 7, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants