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

🛠️ [TASK] : User Input Component - Token Value (Numerical Only) #1411

Open
7 tasks
Tracked by #1410
mike-mcnulty opened this issue Dec 17, 2024 · 2 comments
Open
7 tasks
Tracked by #1410
Assignees
Labels
F14 ux/ui UX/UI related issues

Comments

@mike-mcnulty
Copy link

mike-mcnulty commented Dec 17, 2024

Summary

As a proposer, I need to be able to specify the budget I'm requesting, so that voters can evaluate my proposal's impact against its budget.

Use Cases:

  • Budget Requested

Acceptance Criteria

  • Placeholder value should be shown in view state until user response updated
  • Placeholder value should be determined by the minimum value for the user's selected category (discuss for F14 scope)
  • Subtitle shows the acceptable range for budget given selected category
  • Component should not allow user to save budget if it falls outside the acceptable range for the selected category
  • Component accepts numerical inputs only; integers only
  • Widget is "currency-aware" based on what is specified in JSON
  • Generic error states / error messages defined, to be tailored to specific F14 fields later, as needed

Designs

https://www.figma.com/design/1e1MMDXyi0oL9sG9IunWL7/UI-Kit-Figma-for-catalyst?node-id=5271-49626&t=gTh3B1j2eYONQrjf-0

Default
image

Selected
image

Editing
Property 1=Editing

Filled
image

@dtscalac
Copy link
Contributor

@mike-mcnulty How should the validation error be shown?

@mike-mcnulty
Copy link
Author

@dtscalac imagine some prominent red text that tells me something like "You've entered a number outside of the acceptable range. Please enter a number within the range to save your response."

i think @seankdesigns working through adding some guidance on error state across these components

@damian-molinski damian-molinski self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F14 ux/ui UX/UI related issues
Projects
Status: New
Development

No branches or pull requests

3 participants