Repository navigation
New logo (the EaglePlot eagle) and an animated loading screen for the web app - #49
Open
NCCU-Schultz-Lab wants to merge 1 commit into
Open
NCCU-Schultz-Lab wants to merge 1 commit into
NCCU-Schultz-Lab wants to merge 1 commit into
Conversation
… web app Logo - An athletic-style eagle head in NCCU maroon and gray, drawn from six flat pieces with a heavy outline. Replaces the blue bar-chart icon: eagleplot/assets/logo.png (the head), new icon.png (the head on a maroon tile; browser-tab icon in Home.py and the web app), and logo.ico (16-256 px). - brand/: SVG masters, lockups with the outlined Archivo wordmark (light, dark, and with "Schultz Lab · North Carolina Central University"), 2x PNGs, colours and usage rules. scripts/brand/ regenerates them (fontTools + HarfBuzz for the SVGs, Playwright for the PNGs and the .ico). The README shows the lockup. Web app loading splash (packaging/web/index.html) - The head's six pieces fly in from the edges of the screen and lock together, then a highlight sweeps across and the eye blinks while Python loads. Inline SVG, CSS and a classic script: it draws before stlite.js is fetched and loads nothing else. - Four real steps from stlite's kernel events (loadProgress matched by keyword, only moving forward; loadFinished), replacing the endlessly sliding bar. loadError shows the message and a Reload button. - The 45 MB note shows only on a first visit (localStorage flag set after a successful start). Reduced motion: the head is drawn assembled and nothing moves. - When the sidebar appears the head lunges forward and the splash fades out (450 ms). - smoke.js checks that the splash shows a step, reaches the last one and is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
New logo. An athletic-style eagle head in NCCU maroon and gray replaces the blue bar-chart icon. It is an original drawing: six flat pieces (head with four straight-cut feather points, gray band, maroon throat, pale beak, brow, eye) with a heavy outline, so the white head stays readable on white.
eagleplot/assets/logo.pngis now the head (Home hero, sidebar). The newicon.png(the head on a maroon tile) is the browser-tab icon inHome.pyand the web app.logo.icois that tile at 16 to 256 px.brand/holds the SVG masters, lockups with the wordmark outlined in Archivo Italic (light, dark, and with "Schultz Lab · North Carolina Central University"), 2× PNGs, colours and usage rules.scripts/brand/regenerates everything: fontTools + HarfBuzz for the SVGs, Playwright for the PNGs and the.ico.brand/folder, notdocs/brand/, becausetest_docs_siterequires every Markdown file underdocs/to be a published guide.New loading screen for the web app (
packaging/web/index.html):stlite.jsis fetched and requests nothing else. The wordmark is outlined paths, because the smoke test forbids other origins.loadProgressmessages are matched by keyword and only move forward, andloadFinishedmarks the last step. OnloadErrorthe screen shows the message and a Reload button.localStorage["eagleplot.started"], which is set after a successful start.scripts/web/smoke.jsnow checks that the splash shows a step, reaches the last one, and is removed.Before release, NCCU University Communications should see the mark and the endorsed lockup.
How it was tested
ruff check .andruff format --check .passMPLBACKEND=Agg pytest tests/passes: 1236 passed, 32 skippedicon.pngin the packaged-assets test, and a splash check insmoke.jsCHANGELOG.mdupdated under[Unreleased]Web build:
python packaging/web/build_site.py build/web --pyodide-dir …with self-hosted Pyodide 314.0.3 (the sandbox can't reach jsDelivr), served locally, thennode scripts/web/smoke.js:The CDN-Pyodide path is tested by this PR's
docs.ymlrun.Also checked by hand in Chromium:
logo.icoopens in Pillow with all seven sizes.scripts/brand/build_brand.pyreproducesbrand/*.svgbyte for byte.🤖 Generated with Claude Code