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

Generate charts with data filtered by selected currency #1602

Conversation

femelo
Copy link
Contributor

@femelo femelo commented Nov 6, 2024

What does this PR do?

Fixes #674

This PR modifies DepthChart to show charts based only on the selected currency.

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@femelo femelo force-pushed the 674-market-price-and-depth-based-on-selected-currency branch from e85a292 to 5f9683c Compare November 7, 2024 06:01
@femelo femelo force-pushed the 674-market-price-and-depth-based-on-selected-currency branch from 5f9683c to e61db29 Compare November 7, 2024 09:03
@KoalaSat KoalaSat self-requested a review November 8, 2024 10:59
@KoalaSat
Copy link
Member

KoalaSat commented Nov 8, 2024

great improvement! thanks! I just detected a little issue. When you change from USD back to ANY, the chart doesn't refresh:

  1. Visit the order book view
  2. Change the currency filter from ANY to USD (Works)
  3. Change the currency filter from USD to ANY (Still shows USD chart)

Weirdly enough, this only fails for USD 🙃

@femelo
Copy link
Contributor Author

femelo commented Nov 9, 2024

great improvement! thanks! I just detected a little issue. When you change from USD back to ANY, the chart doesn't refresh:

1. Visit the order book view

2. Change the currency filter from ANY to USD (Works)

3. Change the currency filter from USD to ANY (Still shows USD chart)

Weirdly enough, this only fails for USD 🙃

Good catch! Could you please check again?

@femelo femelo force-pushed the 674-market-price-and-depth-based-on-selected-currency branch from 3e7336e to a5545ef Compare November 9, 2024 12:53
Copy link
Member

@KoalaSat KoalaSat left a comment

Choose a reason for hiding this comment

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

all good now 👍

@Reckless-Satoshi Reckless-Satoshi merged commit be80cc1 into RoboSats:main Nov 24, 2024
@Reckless-Satoshi
Copy link
Collaborator

Looks good! Merging as is! Please submit a 10K Sats invoice for a small DevFund tip.

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.

Market debth chart is wrong
3 participants