Skip to content

Web app: a new loading screen with real steps; logo in NCCU maroon and gray - #50

Merged
NCCU-Schultz-Lab merged 3 commits into
mainfrom
claude/bold-ritchie-hu5gvb-splash
Nov 6, 2026
Merged

NCCU-Schultz-Lab merged 3 commits into
mainfrom
claude/bold-ritchie-hu5gvb-splash

Conversation

@NCCU-Schultz-Lab

@NCCU-Schultz-Lab NCCU-Schultz-Lab commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What and why

This takes the loading-screen part of #49, plus a recolour of the current EaglePlot logo (the disc, bars and line) into NCCU maroon and gray. The new eagle mark in #49 still waits for NCCU sign-off and will be rebased on top of this.

Logo recolour (the shape is unchanged):

  • eagleplot/assets/logo.png and logo.ico are recoloured.
  • eagleplot/assets/logo.svg is the new master.
  • The recoloured logo shows on the Home page, in the sidebar and as the browser-tab icon. It ships in the next PyPI release.

Loading screen (packaging/web/index.html):

  • The logo builds itself. Its pieces (rings, axes, bars, line and points) fly in from all sides and lock together. Then a highlight sweeps across while Python loads. It's all inline SVG, CSS and a classic script, so it draws before stlite.js is fetched and requests nothing else.
  • Real steps instead of a sliding bar: downloading Python, installing the science libraries, starting EaglePlot, opening your workspace. They come from stlite's kernel events: loadProgress is matched by keyword and only moves forward, and loadFinished marks the last step.
  • Failures get a screen. On loadError, the splash shows the message and a Reload button.
  • First visit only: the 45 MB note appears only then, using localStorage["eagleplot.started"].
  • Reduced motion is respected: the logo appears complete and nothing moves.
  • Kept from Browser build: packaging/web build script and a page-by-page smoke test (D2.2) #43/Web app: show the loading screen; sidebar closed on phones #46: the on-click download workaround, the splash's z-index and disableProgressToasts.

scripts/web/smoke.js now checks that the splash shows a step, reaches the last one, and is removed. packaging/web/README.md documents the splash. The CHANGELOG entries are under [Unreleased] (after 3.1.0).

How it was tested

  • CI on e6a7bf5: lint, the Python 3.9–3.12 test cells and Build and test site pass. That's the CDN-Pyodide build plus the smoke test, including the new splash check.
  • Local build of this branch (self-hosted Pyodide): I captured the splash at 0.3, 1.2, 4 and 10 s and Home after start-up. The pieces fly in, the steps advance to 4 of 4, the app is ready in 14 s, the maroon logo shows on Home and in the sidebar, and there are no page errors.

🤖 Generated with Claude Code

… animated logo

- The EaglePlot logo (logo.png, redrawn as inline SVG) builds itself: the disc, the axes,
  the bars one by one, then the line through the points. While Python loads, a pulse runs
  along the points. 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 logo is drawn complete and nothing moves.
- When the sidebar appears the logo zooms out and the splash fades (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>
…ides

- The bar-chart logo keeps its shape (disc, bars, line, points) in NCCU colours: maroon
  outer ring, light-gray ring, bars in slate, maroon, deep maroon and gray, a dark line.
  New master eagleplot/assets/logo.svg; logo.png (960 px) and logo.ico (16-256 px) are
  rendered from it. Used by the Home page, sidebar, browser tab and web favicon.
- Web splash: the logo's 13 pieces (three rings, axes, four bars, line, four points) fly
  in from their own sides with a spin (data-from / data-order) and lock together with a
  pulse; the points land without overshoot. While loading, a highlight sweeps across the
  disc and a pulse runs along the points. On ready the logo lunges forward and the splash
  fades. Steps, error screen, first-visit note and reduced motion are unchanged.
- CHANGELOG: entries under [Unreleased] (3.1.0 was released meanwhile).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NCCU-Schultz-Lab NCCU-Schultz-Lab changed the title Web app: a new loading screen with real steps, an error screen and an animated logo Logo in NCCU maroon and gray, and a new web loading screen with real steps Nov 6, 2026
@NCCU-Schultz-Lab NCCU-Schultz-Lab changed the title Logo in NCCU maroon and gray, and a new web loading screen with real steps Web app: a new loading screen with real steps; logo in NCCU maroon and gray Nov 6, 2026
@NCCU-Schultz-Lab
NCCU-Schultz-Lab merged commit 86c7202 into main Nov 6, 2026
15 of 16 checks passed
@NCCU-Schultz-Lab NCCU-Schultz-Lab mentioned this pull request Nov 7, 2026
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