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

Inline help fixes #5001

Merged
merged 3 commits into from
Mar 17, 2016
Merged

Conversation

MCGallaspy
Copy link
Contributor

Summary

Fixes #4986. Clicking on the inline help on that page now disables the button and creates a warning bubble. See screenshots.

Also fixes up the existing inline help which was broken due to UI changes.

TODO

Not clear how to test this... Maybe in the future, when the UI changes the changer must be responsible for double checking the inline help feature on that page?

  • Have tests been written for the new code? If you're fixing a bug, write a regression test (or have a really good reason for not writing one... and I mean really good!)

Issues addressed

Fixes #4986.

Screenshots (if appropriate)

ss2

If the user clicks the button and no help is available,
show a warning message and disable the button.

Also fixes the pattern matching for the management page.
The previous element no longer exists.
Selectors were broken, and bootstrap src must be made available
for reloading.
@66eli77
Copy link
Contributor

66eli77 commented Mar 17, 2016

I cherry pick your commit and make sure all your changes are present, but the issue still exists, and can not get what you show on your screen shoot. Did I miss anything? I tried node build.js

Ok, I need to remove two files narratives.json and version.json under ka-lite/data directory in order to make the changes take effect

66eli77 added a commit that referenced this pull request Mar 17, 2016
the fix is nice and concise. Merged,  but open an new issue for improvement on bootstrap disable and enable. Ideally, we want to avoid reloading bootstrap everytime the "show me how!" button is clicked.
@66eli77 66eli77 merged commit c424978 into learningequality:0.16.x Mar 17, 2016
@66eli77
Copy link
Contributor

66eli77 commented Mar 17, 2016

the fix is nice and concise. Merged, but open an new issue for improvement on bootstrap disable and enable #5011 . Ideally, we want to avoid reloading bootstrap everytime the "show me how!" button is clicked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants