-
Notifications
You must be signed in to change notification settings - Fork 215
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
Make Skip/Submit bar static #677
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Nice! Interesting! I think this could indeed be an improvement |
This is a good first issue *for someone who is already a bit familiar with Svelte AND Gherkin *, as it doesn't require a complex understanding of the project structure. That being said, expect this task to take a non-trivial amount of time, because you will be doing some refactoring and also update Gherkin feature files. Feature filesYou will be changing the feature descriptions in Gherkin across all challenge types from this folder: https://github.com/kantord/LibreLingo/tree/master/workspaces/web/cypress/integration One example of a change that you have to make in feature files
That line should probably say something like this instead:
ComponentsMaking sure ChallengePanel supports disabled buttonsYou'll probably have to modify this line, based on a new prop that you add: Updating behavior in challenge types:You'll have to make sure that each challenge type handles the new props of ChallengePanel. This will involve changing all relevant components across this folder: https://github.com/kantord/LibreLingo/tree/master/workspaces/web/src/components And example of a part of the code you will need to update: LibreLingo/workspaces/web/src/components/ListeningChallenge.svelte Lines 96 to 128 in b04d3cd
|
<div | |
class:correct | |
class:incorrect | |
class="panel is-primary" | |
out:slide|local="{{ duration: 100 }}" | |
in:slide|local="{{ duration: 300, delay: 50 }}"> |
fixed in this PR: #1248
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Partially fixed. I removed the animations in this PR: #1248 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'd like to do this |
given, fixes kantord#677" This reverts commit 0846fdd. wrong branch
When an exercise first shows up, only the "skip" button appears in the bottom bar. Once you make an action (click, start writing, etc) the bar does a little "jump" where it slides down and slides back up, now including the option to "submit". This is somewhat distracting as the bar keeps jumping up and down in your peripheral vision.
Since the skip/submit bar is already there, I would suggest for it to be static and to instead have a greyed out "submit" option which changes color once you make an action.
The text was updated successfully, but these errors were encountered: