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

feature/hidden inactive assets & styling adjustment #779

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

feature/hidden inactive assets & styling adjustment #779

wants to merge 3 commits into from

Conversation

Zauras
Copy link
Contributor

@Zauras Zauras commented May 11, 2021

Background (user-story):

  1. White label page - coin icons according to the endpoint response.Endpoint: https://api.n.exchange/en/api/v1/currency/
    Show if has enabled pairs = true
    If new added should be shown

  2. Repeat order button - Should react to mouse hover and change color. Fill the background. Same as the button in email subscription for order statuses. "submit".

#############################################################################################

Implementation:

1:

  • Connect Assets component to redux store
  • Fetch coinInfo data
  • Filter out invalid assets

2:

  • move box-shadow ass .scss variable
  • add text/background color switching and box-shadow

* formatted with prettier
* add coinInfo check to avoid unnecessary data fetch
* formatted with prettier
* map with redux store
* add coinInfo fetch on mount
* add assets filtering by enabled_pairs check
* add variable btn-box-shadow

OrderState.scss:
* remove unnecessary styling
* add text color - background color switch and box-shadow for hover btn

OrderCta.scss:
* used box-shadow as variable
@vercel
Copy link

vercel bot commented May 11, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nexchange/nexchange-open-client-react/74ncUAhyu7XgqMahw7F4KypoqtSu
✅ Preview: Failed

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.

1 participant