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

frontend: Cleanup various minor bugs #100

Merged
merged 5 commits into from
Mar 14, 2023
Merged

frontend: Cleanup various minor bugs #100

merged 5 commits into from
Mar 14, 2023

Conversation

juliaogris
Copy link
Member

Styling:

  • remove code ligatures
  • ensure modal navigation dialogue is 5% transparent

JS:

fix minor navigation bugs

Remove code ligatures, as it is likely not obvious to kids that `≧` is a
ligature for `>=`. In evy we want the loaded code to display as `>=`,
no `≧` (same for != and others). I was not aware that his could be
fixed in CSS until now.
Fix modal background colour to be 5% transparent. This must have been a
rebase muck up because I recall I fixed this before.
Ensure navigation to home (no hash in URL) via browser back/forward
button works. Currently when selecting a sample and then navigating
back home the contents don't change.
Fix bug navigation bug, where clicking on the current item doesn't hide
navigation modal. The reason was that when the hash changes, handleHash
calls hideModal, but the hash didn't change for the same item, now
hideModal is always called (sometimes twice, but we are ok with that).
Slide to code screen when navigating to new code sample on mobile.
Otherwise we might stay on the output screen, possible still with the
stopped output of the previous sample which is confusing.

Later we may introduce some #autorun which will keep things on mobile on
the output screen and run the new code.
@github-actions
Copy link

firebase-deployment: https://evy-lang--100-oznqidp0.web.app (558633f)

Copy link
Contributor

@camh- camh- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems Fine To Me

🍏

@juliaogris juliaogris merged commit a51f495 into master Mar 14, 2023
@juliaogris juliaogris deleted the frontend-tweaks branch March 14, 2023 12:25
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.

None yet

2 participants