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

Initial Polls List On Main Screen #13

Closed
apbendi opened this issue Apr 10, 2020 · 3 comments · Fixed by #25
Closed

Initial Polls List On Main Screen #13

apbendi opened this issue Apr 10, 2020 · 3 comments · Fixed by #25
Assignees
Labels
feature Brand new functionality

Comments

@apbendi
Copy link
Contributor

apbendi commented Apr 10, 2020

We want the main screen to list polls fetched from GET /api/polls in an aesthetic way. Clicking the cards would take you to the yet-unimplemented Poll Details screen.

My initial thoughts:

  • Two sections, first "Active Polls", second "Completed Polls"
  • Some kind of scrollable card like interface that displays at a minimum:
    • Title
    • Polltaker account (truncated addr with blockie?)
    • Time left (for active) or date ended (for completed)
    • Abbreviated description (capped at some number of characters)

Feel free to take some license with this. Leverage whatever components we have from quasar or other off the shelf libraries to reduce dev time. Goal is to get something simple that works so we can get feedback and iterate.

@apbendi apbendi added this to To do in POAP Vote V1 via automation Apr 10, 2020
@apbendi apbendi added the feature Brand new functionality label Apr 10, 2020
@mds1
Copy link
Contributor

mds1 commented Apr 10, 2020

I think we also want a section to show polls that the user is eligible to vote in, if they are already logged in.

I'm thinking 3 rows/sections that are scrollable horizontally:

  1. Active + Eligible—what's a better name for this?
  2. Active
  3. Completed

@apbendi
Copy link
Contributor Author

apbendi commented Apr 10, 2020

@mds1 I agree with the idea, but let's hold off on it for now. Want to get us to a minimum deployable version for Patricio to play with. Feel free to create another issue for it tagged as enhancement.

Implementation wise, another idea would be to sort both sections such that eligible polls show up first, with some visual element, like a tag that says eligible or something displayed on the card.

@mds1
Copy link
Contributor

mds1 commented Apr 10, 2020

Sounds good, created an issue for it

Implementation wise, another idea would be to sort both sections such that eligible polls show up first, with some visual element, like a tag that says eligible or something displayed on the card.

I like this idea

@mds1 mds1 moved this from To do to In progress in POAP Vote V1 Apr 14, 2020
POAP Vote V1 automation moved this from In progress to Done Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Brand new functionality
Projects
POAP Vote V1
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants