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

UI for Anchor Token, Pool Tokens, and Interest Rate #8

Open
16 of 18 tasks
anastasiabusygina opened this issue Oct 10, 2023 · 0 comments
Open
16 of 18 tasks

UI for Anchor Token, Pool Tokens, and Interest Rate #8

anastasiabusygina opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels

Comments

@anastasiabusygina
Copy link
Member

anastasiabusygina commented Oct 10, 2023

Image

Image

Task: UI Design for Anchor Token Selection, Pool Tokens Addition, and Interest Rate Input

Objective

Develop an interface for the user to:

  • Select an anchor token.
  • Add pool tokens (with the anchor token already selected and included).
  • The native network token is also included in the pool by default. Therefore, if the anchor token is not equivalent to the native network token, the pool will immediately contain two tokens: the native network token and the anchor currency.
  • Input an interest rate.
  • Have the ability to navigate to a preview of the selected parameters in a modal window (details of the modal are covered in a separate task)
  • Log user interactions in the browser's console.

Implementation Requirements

Dropdown for anchor token selection

  • Contains options with various anchor tokens.
  • Only one anchor token can be selected at a time.
  • Upon selection, log: Anchor token selected: [token name] in the console.

Button to add pool tokens

  • If no anchor token is selected, this feature is disabled.
  • The selected anchor token is automatically included in the pool tokens set.
  • The native network token is automatically included in the pool tokens set.
  • The button becomes active only after the anchor token is selected.
  • The button to add tokens is disabled if 20 tokens have already been added.
  • Tokens can be removed from the list, except for the anchor token and the native network token.
  • On button click, log: Pool tokens added: [token name].

Input field for interest rate

  • Accepts only numeric values. (limitations?)
  • Input logs: Interest rate input: [rate value] in the console.

Button to display selected parameters' preview in a modal

  • Becomes active when the anchor token is selected, there are at least two tokens in the pool, and the "interest rate" field is correctly filled out.
  • Click logs: Request to display parameter preview.
  • The preview modal details are covered in a separate task.

Logging actions

  • All user interactions with the interface should be logged in the browser's console.

Additional Notes

  • The interface is for web only; responsiveness is not required.
  • Implement input data validation.
@anastasiabusygina anastasiabusygina converted this from a draft issue Oct 10, 2023
@anastasiabusygina anastasiabusygina changed the title Frontend Layout for Anchor Token Selection, Pool Token Addition, and Interest Rate Input UI for Anchor Token, Pool Tokens, and Interest Rate Oct 10, 2023
@nadyasav nadyasav moved this from Todo to In Progress in ETHOnline2023 ProfitPals Oct 10, 2023
nadyasav added a commit that referenced this issue Oct 15, 2023
changed button-toggle to text box for version and date info #8
nadyasav added a commit that referenced this issue Oct 18, 2023
nadyasav added a commit that referenced this issue Oct 18, 2023
nadyasav added a commit that referenced this issue Oct 18, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
nadyasav added a commit that referenced this issue Oct 19, 2023
@anastasiabusygina anastasiabusygina moved this from In Progress to Todo in ETHOnline2023 ProfitPals Dec 16, 2023
@anastasiabusygina anastasiabusygina moved this from Todo to Pause in ETHOnline2023 ProfitPals Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants