marckunze / rancor

Ranked Choice voting tool repo
https://rancor.herokuapp.com
Other
0 stars 0 forks source link

Code user homepage #71

Closed MarkHammondJr closed 9 years ago

MarkHammondJr commented 9 years ago

The home page currently lists all polls the user owns. It needs to link to those pages, and also should probably link directly to the results of those pages.

Additionally, a "close" button would be needed for poll locking.

marckunze commented 9 years ago

clarifying name on this. We're talking about a user home page. Probably want to rename and change the routes to something a bit clearer. Maybe user_home.erb or myrancor.erb or something along those lines.

dennisccsf commented 9 years ago

no takers? i'm on it...

dennisccsf commented 9 years ago

i'm having trouble logging into 'student' on my local machine to view what i'm writing for user's homepage. i can log into 'student' in staging. could the problem be that i bundle installed --without production?

MarkHammondJr commented 9 years ago

student has a password of "student"

I just tried it right now in staging and it worked.

marckunze commented 9 years ago

Appears to work on my local. Do you have any log dumps from the rackup console? image

dennisccsf commented 9 years ago

nothing special 127.0.0.1 - - [07/Dec/2014 23:33:10] "POST /login HTTP/1.1" 303 - 0.1108 127.0.0.1 - - [07/Dec/2014 23:33:10] "GET /home HTTP/1.1" 302 - 0.0015 127.0.0.1 - - [07/Dec/2014 23:33:10] "GET /login HTTP/1.1" 200 4581 0.0071 127.0.0.1 - - [07/Dec/2014 23:33:10] "GET /css/custom.css HTTP/1.1" 304 - 0.0015

marckunze commented 9 years ago

not sure, I don't see anything too descriptive on my local when I do it or on the heroku logs to see why it's not failing.

dennisccsf commented 9 years ago

i'll do some research, just wondering if anyone ran into the same problem and had a solution

dennisccsf commented 9 years ago

whatever i try to do to log in, it brings me to the login page, but no flash messages show up. even if i try to login with an incorrect name or password. am i missing something for that to happen? works fine in staging...

MarkHammondJr commented 9 years ago

Make sure you have the latest commits and run bundle install in the root folder

dennisccsf commented 9 years ago

yeah, i've done that

MarkHammondJr commented 9 years ago

Clear your cache, (or run in incognito mode)

dennisccsf commented 9 years ago

been running in private mode (firefox)

MarkHammondJr commented 9 years ago

I guess you have to provide screenshots because I can not recreate.

dennisccsf commented 9 years ago

omg...had my cookies disabled

dennisccsf commented 9 years ago

does anyone think using just icons for buttons is confusing as seen in 28d1d17f1ad701691e58f8118d97c290e77cf3b8

MarkHammondJr commented 9 years ago

I didn't notice anything confusing.

MarkHammondJr commented 9 years ago

I limited the poll question to 80 characters. Is that too many?

MarkHammondJr commented 9 years ago

The home page is far enough along that we can close this one and move any adjustments to their own issues.