Route loading and recipe citation search in Spoonie
Spoonie updated its route-loading behavior and recipe citation search interface. Pull request #34 merged on November 12, 2026. The changed code was also found in JavaScript served by the public site.
Two moments in the recipe workflow
Moving between recipe pages should make the transition state understandable. When citing another recipe, the search and selection flow should be clear enough to follow. The changes in this pull request address those two interactions.
Implementation and verification
The merged change covers route-loading behavior and the citation-search UI. Comparing the source change with publicly served JavaScript confirmed that the relevant code reached production.
That check establishes deployment of the code. It does not measure perceived loading speed, citation usage, or user retention. Those outcomes have not been independently measured.
For a separate account-specific UI issue, see Spoonie’s viewer-scoped likes and saves cache fix.
November 14 follow-up: show the destination while navigation waits
The progress bar from the earlier fix still left the old homepage in place when the server was slow. In the reproduction for PR #42, delaying the /search response kept that old view visible for more than 700 ms. The follow-up displays a skeleton shaped like the destination as soon as internal navigation starts.
A move to search shows placeholders for the search field and filters; a move to a recipe or post shows a detail-page layout. The top progress indicator remains, and the bottom navigation can interrupt a pending transition. A filter change that only updates query parameters keeps the current screen visible.
In an isolated Chromium test with a delayed route, the destination skeleton was visible at 90, 200, 500 and 950 ms, then disappeared when the route completed. The PR reports 405 passing regression tests and six separate media-cleanup tests. On November 14, the app/layout JavaScript served by Spoonie was byte-identical to the PR #42 Netlify preview and included data-route-feedback. That confirms the deployed code, while real visitors’ perceived wait times and abandonment have not been measured.
November 14 follow-ups: prevent hidden input and false navigation
A skeleton can cover the old screen while leaving its search input reachable by keyboard. PR #43 marks the outgoing main as inert until the new route commits. It also removes the duplicate needsHeader state and keeps photo-press feedback through the existing 300 ms single-versus-double-tap interval.
A separate bug remained: the global click listener treated some canceled links as navigation, showing a full-screen skeleton even though the app had stopped the move. PR #44 removed that click listener. Links now report a real Next.js onNavigate event after the caller can cancel it. Programmatic routing and browser history keep their existing signals.
If a destination is still pending after 10 seconds, the loading UI now explains the delay and offers Keep previous screen or Try again, rather than silently dismissing progress. Query-only updates retain their existing behavior. PR #44 reports 407 passing Vitest cases, six media safety checks and an isolated Chromium run covering canceled links, history, keyboard focus, retry and cancellation. On November 14, I checked the production layout bundle and found the recovery text and navigation feedback. That build-specific asset URL no longer resolves. The NavigationProgress source in the merged PR #44 commit remains available as an implementation reference. The production check established what code was deployed at the time; it did not measure changes in user frustration or abandonment.
Regression check against a deployed PR preview
A source-level test can pass without ever opening the page someone will use. PR #45 adds a GitHub Actions check for navigation-related changes. It waits for Netlify’s successful preview status on the same PR HEAD commit, verifies the preview URL and then runs the existing Chromium navigation suite against that deployed build. The four Next.js route-loading components are also rendered in tests instead of merely searching their source files for expected names.
This was exercised on the PR itself: GitHub Actions run #43580339700 verified commit e4bc2ef and reported passing browser checks for normal links, back/forward, canceled navigation, timeout recovery, retry and first-photo-tap feedback, with no uncaught page exceptions. The change adds protection for future matching PRs; it is not a speed benchmark or a measurement of visitor outcomes.
Keep one main landmark on the page
Loading feedback is only part of usable navigation. The application shell already supplies a main landmark, but the curator page added another inside it. In PR #46, I removed the redundant inner main elements in the curator page, recipe book and profile editor while retaining their content and styling.
On November 14, the public curator page returned HTTP 200 with exactly one main element in its HTML. This verifies the deployed document structure. It does not establish how much the change improved navigation for people using assistive technology.
Review the merged change · Visit Spoonie