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

Create home page #4

Closed
1 of 5 tasks
danieljancar opened this issue Jul 26, 2024 · 0 comments · Fixed by #15
Closed
1 of 5 tasks

Create home page #4

danieljancar opened this issue Jul 26, 2024 · 0 comments · Fixed by #15
Assignees
Labels
DSC mandatory Has to be done for DEV-Stellar Challenge enhancement New feature or request

Comments

@danieljancar
Copy link
Owner

Description

Home page with CTA-box in the middle (x,y) to enter a vote id and cast or create your own vote.

Package

  • frontend
  • backend
  • architecture
  • documentation
  • Other

Expected Behavior

Cast on vote flow:

  1. Get vote from smart contract (error handling if voteid doesn't exist)
  2. Navigate to appropriate detail page (vote cast (disabled input if startdate in future)/ vote result (if enddate is in the past))

Create vote flow:

  1. Open Overlay/expand centered box
  2. Require fields (title, description, start/enddate, opinions), if not filled out, submit button disabled
  3. Checkmark that created content doesn't violate rules, if no't checkmarked, submit button disabled.
  4. If all fine -> enable submit
  5. Show loading screen (smart contract takes some while), make sure errors get handlet (timeout, etc), -> if done with no errors, show popup with invite link and copy button, also add Continue button, when pressing continue, navigate to vote detail / cast

Actual Behavior

nyi

Additional Information

https://tailwindui.com/components/application-ui/forms/form-layouts
https://tailwindui.com/components/marketing/sections/cta-sections
https://tailwindui.com/components/marketing/elements/banners (for invite link)
https://tailwindui.com/components/application-ui/overlays/modal-dialogs (create service, promise callbacks)
https://tailwindui.com/components/application-ui/overlays/notifications (create service)

@danieljancar danieljancar added enhancement New feature or request DSC mandatory Has to be done for DEV-Stellar Challenge labels Jul 26, 2024
@danieljancar danieljancar self-assigned this Jul 26, 2024
@danieljancar danieljancar linked a pull request Aug 6, 2024 that will close this issue
7 tasks
@Gr1ll Gr1ll closed this as completed in #15 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DSC mandatory Has to be done for DEV-Stellar Challenge enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant