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

labsite: Fix mobile three column layout #436

Merged
merged 2 commits into from
Sep 11, 2024
Merged

labsite: Fix mobile three column layout #436

merged 2 commits into from
Sep 11, 2024

Conversation

juliaogris
Copy link
Member

@juliaogris juliaogris commented Sep 8, 2024

Add tweaks so the three columns

  • Notes
  • Editor
  • Output

if specified are displayed properly.

Add logic to navigate between them.


I've deployed these changes to https://lab.evytest.dev. Ideally tested manually
on mobile or Browser dev tools with <767px width view / responsive enabled.

Copy link
Member

@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.

🍀

 Rework lab CSS for stable columns widths regardless of contents. Use
 nesting and re-arrange the CSS classes for (hopefully) better
 readability.
Rework JS/CSS for mobile 3 col layout by adding a notes button in the
top right corner on labs only (not playsite).

Fix bug for
	#editor=none&content=...
	#editor=none&source=....

where the display on playsite and labsite were broken for URL fragment
parameter hiding the editor.

Update mobile primary button for Code/Run/Stop to have label "Notes"
when on output screen and there is only Notes and no Editor visible,
e.g. the very first #welcome screen.

Remove editor and notes for lab#bounce-show for testing purposes.

This commit has been tested and should be tested hand by hand in anger
on mobile or with browser dev tools active and small mobile view, where
only one column (notes/editor/output) are displayed.
@juliaogris juliaogris merged commit ebafc1e into main Sep 11, 2024
4 checks passed
@juliaogris juliaogris deleted the labsite-ux branch September 11, 2024 11:06
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.

2 participants