Repository navigation
Fix cross-cutting findings from the pre-deploy test - #560
Merged
Merged
Conversation
usePushLanding stripped the param before the loader read it, so email and push links ended on the default festival. The loader now handles every non-editor path and skips its default pick while a select is in flight.
… field
A stale or mistyped client body was stripped to {} and still passed, which
cleared the crew's stored value and broadcast it. null and empty string
still clear explicitly.
Chromium logs 'Unrecognized feature' for it on every page load. Also remove the deleted usePushLanding test from the web vitest include list.
Chromium words a missing chunk as 'Failed to fetch', which matched the offline branch and told online users to check their connection.
Map amenity chips, the wrap and settle-up shortcuts and inbox rows used an aria-label that differed from or reordered the visible text, which voice control cannot say (WCAG 2.5.3).
Buttons do not inherit colour, so Review rendered black on the coral failed-sync bar in the daylight theme.
AccountPrivacySection overrode fontWeight on a typeStyle spread (Android synthetic bold), and three iOS pickers forced the dark variant in daylight.
A 404 is logged by the browser as a console error on every page load. The web client already treats a null key as not configured.
The 112 px illustration pushed Browse the lineup 16 px under the nested scroller's edge with no scroll cue. Shrink it on viewports under 900 px tall.
On desktop the footer showed under the skeleton and jumped when the cards rendered, which put the page over the 0.1 layout-shift budget.
…rget WCAG 2.5.8: the checkboxes were 22px and the back link 20px tall. The artist name buttons already grow a 44px hit area from a pseudo-element.
Lighthouse 12 ignores budgetPath, so the script, count and layout-shift budgets never failed a run. Assert them directly at just above the measured values, point the third URL at a real route and add a mobile-preset run.
A body of explicit nulls passed the at-least-one-field check and created an empty ride offer. A home-base write without location made the store clear the stored home base, so location is now required (null still clears it).
The isLoading guard never held: loadFestivals resets it before the then runs. selectFestival sets currentFestivalId synchronously, so test that instead. Strip ?festival= and ?joinCrew= with replaceState(history.state) so the router's index and key survive on every route.
…top windows The height-only media query also hit laptops and the 1280x720 test viewport.
A failing desktop pass skipped the mobile pass under set -e, and mktemp --suffix is GNU-only.
…s until the performance pass Owner decision: keep the targets, but the phone run scores 46-51 today, so the nightly check should report rather than alert.
# Conflicts: # packages/web/src/routes/crew-plan.tsx
…bodies Those schemas now reject an empty body, so validation answered 400 before the membership gate could answer 403.
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.
Summary
Fixes from the pre-deploy cross-cutting test. The test covered 544 page loads (34 routes x 4 sizes x 2 themes x guest/signed in) with axe, CSP, console and overflow checks. It also covered offline queue replay, socket reconnect, the PWA update path, Firefox and WebKit, Lighthouse, all 15 email templates, and authorization probes on 294 routes.
Each commit below fixes one finding that a second agent confirmed against the code, and each fix was then reviewed.
Commits
Test plan