Closed jetbalsa closed 6 years ago
Also should note that adding hints is a little bit of a process, it seems like it was built for more using a hint for more then one challenge.
@JRWR, this is an easy fix, and I can implement it for the next release. Also, you're absolutely correct... it was built with using a hint for more than one challenge in mind, but not as the primary use case. We had several challenges that didn't have any hints, so we created one "hint" that said there weren't any hints and didn't deduct any points, then re-used it everywhere. The implementation could be better for sure, I just honestly haven't put that much thought into it. Any suggestions?
@JRWR Having trouble replicating. Which browser are you seeing the overflow in?
Google Chrome is up to date Version 64.0.3282.167 (Official Build) (64-bit)
Win10
On Fri, Feb 16, 2018 at 6:28 AM, Paul Jordan notifications@github.com wrote:
@JRWR https://github.com/jrwr Having trouble replicating. Which browser are you seeing the overflow in?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mcpa-stlouis/hack-the-arch/issues/42#issuecomment-366211636, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxE1Ccw0QT8JYJx3UGjhrwnBaU1Jejiks5tVWZrgaJpZM4SG9nL .
Yeah, I got it. Sorry. That part is fixed. I might need to spend some time thinking about how to not include the hint table for each challenge. Currently, the buttons are hard coded to each challenge, so when you click "Add" on the hint, it goes to the challenge from which you opened the modal. I'm looking at turning on fragment caching for your #43, which may fix it, but isn't ideal.
So simplify the input of hints where in the hints admin its just a open form fields for Hint Text and a ajax submission, load the form only when the admin switches to the hint tab for that challenge, keep it where you don't need to go off page to add a hint. quick and easy :)
Also, I noticed it doesn't show how many points are needed for a hint to the end user
On Fri, Feb 16, 2018 at 6:40 AM, Forrest Fuqua email@jrwr.io wrote:
Google Chrome is up to date Version 64.0.3282.167 (Official Build) (64-bit)
Win10
On Fri, Feb 16, 2018 at 6:28 AM, Paul Jordan notifications@github.com wrote:
@JRWR https://github.com/jrwr Having trouble replicating. Which browser are you seeing the overflow in?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mcpa-stlouis/hack-the-arch/issues/42#issuecomment-366211636, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxE1Ccw0QT8JYJx3UGjhrwnBaU1Jejiks5tVWZrgaJpZM4SG9nL .
Last commit actually was for #44. Sorry for the confusion.
If you enter a very long hint it causes the hint display box to not expand correctly or wrap the text. also noticed that hint_table is included more then once on the page, I'm up to about 120 challenges and its not uncommon for the entire page to start hard locking in chrome or firefox as a admin.