Skip to content

Conversation

@CaitlinEverett
Copy link

Tinkered with the FPGA Lab interface, focusing on mobile responsiveness, typographic consistency, and easier first-time interaction for new users. I'd like to work with you all further to develop more educational content here.

Key Changes:

Mobile Layout (<900px): Implemented a vertical stack layout (Video → Terminal → Debug). Added smart corner rounding logic so the stack looks like a single cohesive unit (top corners round, middle square, bottom round) while preserving the desktop layout.
UI Harmonization: Standardized fonts sizes (0.85rem) and weights across the sidebar and content views to match the terminal aesthetic. Removed "ALL CAPS" headers for a cleaner look.
Improved Contrast: Updated text colors in the instruction panels to high-contrast grey (#d4d4d4) for better legibility against the dark background.
Onboarding: Reordered the sidebar to place "Tutorials" at the top. The "Hello World" item now automatically prepares the "Blink LEDs" command for immediate execution.
Local Development: Added
local_connect.html
and
preview_tt.html
to allow developers to work on the UI and mock terminal interactions without needing physical hardware connectivity.

Files Modified
Core UI & Templates:
ansible/roles/site/files/pib/pibfpgas/src/pibfpgas/static/pib.css
(Major styling & mobile media queries)
ansible/roles/site/files/pib/pibfpgas/src/pibfpgas/templates/tt.html
(HTML structure updates)

Logic & Scripts:
ansible/roles/site/files/pib/pibfpgas/src/pibfpgas/static/demos.js
ansible/roles/site/files/pib/pistat/src/pistat/static/dcws.js

New Dev Tools:
ansible/roles/site/files/pib/pibfpgas/src/pibfpgas/templates/local_connect.html
ansible/roles/site/files/pib/pibfpgas/src/pibfpgas/templates/preview_tt.html

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.

1 participant