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

Rating display issues #4750

Merged

Conversation

MCGallaspy
Copy link
Contributor

Fixes #4308, fixes #4544.

See screenshots. Commit msg:

Played around with different layouts within bootstrap,
not totally satisfying for resolutions > ~400px and < 768 px,
but good enough without changing the hb template or view logic.

At smallest res, all rating buttons and labels stack,
and no hover-label is shown.

As the resolution increases (to bootstrap's col-sm- size),
the labels and buttons flatten out, and a hover label is
shown. The size of the buttons also progressively increases.

Smallest
ss3

Larger
ss4

Largest
ss2

Played around with different layouts within bootstrap,
not totally satisfying for resolutions > ~400px and < 768 px,
but good enough without changing the hb template or view logic.

At smallest res, all rating buttons and labels stack,
and no hover-label is shown.

As the resolution increases (to bootstrap's col-sm- size),
the labels and buttons flatten out, and a hover label is
shown. The size of the buttons also progressively increases.
@MCGallaspy MCGallaspy added this to the 0.16.0 milestone Dec 10, 2015
@MCGallaspy
Copy link
Contributor Author

@radinamatic tagging you, since you opened one of the issues.

@MCGallaspy MCGallaspy assigned rtibbles and unassigned jtamiace Dec 10, 2015
@MCGallaspy
Copy link
Contributor Author

@rtibbles according to Trello board you're assigned to ratings stuff.

@MCGallaspy
Copy link
Contributor Author

We could catch a timeout here to resolve issue: https://github.com/learningequality/ka-lite/blob/0.16.x/kalite/testing/base_environment.py#L72

But why doesn't Selenium raise a WebDriverExcpetion? :(

@rtibbles
Copy link
Member

rtibbles commented Feb 2, 2016

This looks like a decent fix. Tests pass. Merging.

rtibbles added a commit that referenced this pull request Feb 2, 2016
@rtibbles rtibbles merged commit a8cad8f into learningequality:0.16.x Feb 2, 2016
@rtibbles rtibbles removed the has PR label Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants