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

Init Staking flow #56

Closed
wants to merge 10 commits into from
Closed

Init Staking flow #56

wants to merge 10 commits into from

Conversation

kkosiorowska
Copy link
Contributor

@kkosiorowska kkosiorowska commented Dec 1, 2023

⚠️⚠️⚠️This PR is out of date for now and will be split into smaller parts. ⚠️⚠️⚠️

This PR inits the staking flow. Staking flow is quite extensive in terms of designs and logic. There are already a lot of changes for this PR so let's not extend it. The scope of the changes includes the addition of the first 3 models and the sidebar. This will make it easier to split up the work. The PR also includes several improvements to the previous logic.

Changes

  • Added the first 3 modals
  • Created a context for staking - StakingFlowContext
  • Created a separate component for the balance
  • Maked that optional props for components can be used. Disabled an eslint rule.
  • Created a variant for Tabs - underline
  • Created a variant for Stepper - basic
  • Added values for z-indices
  • Initialisation of sidebar
  • Initialisation of docs drawer

What will be done in the next steps

  • Next modals and full stake flow
  • Create a custom component for input
  • Set the correct colors and typography
  • Implementation of the sidebar component
  • Implementation of the docs drawer component

UI

Screen.Recording.2023-12-01.at.15.41.11.mov

@kkosiorowska kkosiorowska marked this pull request as draft December 7, 2023 11:48
After clicking on the stake button, if the user has no accounts connected, should see special modals with connection options.
@kkosiorowska kkosiorowska mentioned this pull request Dec 8, 2023
Base automatically changed from init-overview-page to main December 8, 2023 10:32
@kkosiorowska
Copy link
Contributor Author

Let's close this PR and split it into smaller parts to avoid conflicts and make it easier to check the code. Solution to #70.

@kkosiorowska kkosiorowska deleted the staking-flow branch January 4, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant