You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Select homepage Squares, then mint them together. - #83
An available Square on the homepage enters minting mode. The first selection pulses that Square and scrolls gradually to the top. Mint 1 Square and Cancel replace the homepage sentence in a row whose height is already reserved, so the billboard stays put. Further Squares change the button to Mint 2 Squares, Mint 3 Squares, and so on, and do not scroll.
Cancel clears the selection and shows the homepage sentence again. A purchased Square stays on the homepage while minting. Its tooltip says the Square is already purchased and that visiting a Square requires leaving minting mode.
The mint button opens /buy?square= with the selected numbers in click order.
Checked locally: the prompt kept its height when Mint 1 Square replaced the sentence. The scroll moved part of the way after a third of a second, then reached the top. Square 7 stayed on the homepage with the purchased tooltip. Cancel restored the sentence.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Removing the map anchor’s href without adding tabindex makes it unreachable by Tab in the loading and available-Square branches, preventing keyboard users from reaching the new selection handling.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Keep the map keyboard-focusable when its href is removed
index.html:158
Removing href also removes the map anchor from the Tab order because #wheretogo has no tabindex. This affects both the loading and available-Square branches. For example, moving the highlight with an arrow key while a header link is focused can make the map untabbable; Enter then remains on the header link rather than reaching the new onMap selection handling. Keep the map explicitly keyboard-focusable even when it has no destination.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to evaluate accessibility impacts from blocked pinch-to-zoom on the map and button animations that override reduced-motion preferences.
I am reviewing implementation now on mobile. The drag gesture on mobile also handle scrolling so we can't use that for selecting multiple squares. And also the pinched pressure is used to zoom in, but this is picking up to select multiple squares.
So we need to ensure that mobile does not do any of these things and if possible we do want to do those things on desktop
Or if we can't have this cake and eat it too, then we will just drop that part of the feature
The first available Square pulses and the page scrolls gradually to the top. Mint 1 Square and Cancel replace the homepage sentence in a reserved row, so the billboard stays put. Further Squares raise the count and do not scroll. Cancel clears the selection. A purchased Square stays on the homepage while minting, and its tooltip says to exit minting mode to visit a Square.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
CSS overrides cause Mint and Cancel to stack instead of forming a horizontal row, and a specificity mismatch leaves the Mint pulse active despite reduced-motion preferences.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because ongoing scrolling and untracked pointer interactions can cause unintended painting or erasing during selection gestures.
The scroll after the first Square still eases to the top. A later gesture holds that scroll until the pointer is released, so the map does not move under the drag. Releasing the pointer outside the map, or losing pointer capture, ends the drag.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to weigh the user-facing impact of stale selection tooltips and multi-touch interference that can select unintended squares.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
On coarse-pointer devices, tapping a personalized Square outside minting mode follows a stale or placeholder link because the tap does not update the position before native link activation.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
A highlight moved onto a personalized Square during loading is not refreshed afterward, leaving Enter navigation disabled and the tooltip stuck on loading text until the highlight moves again.
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
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.
An available Square on the homepage enters minting mode. The first selection pulses that Square and scrolls gradually to the top. Mint 1 Square and Cancel replace the homepage sentence in a row whose height is already reserved, so the billboard stays put. Further Squares change the button to Mint 2 Squares, Mint 3 Squares, and so on, and do not scroll.
Cancel clears the selection and shows the homepage sentence again. A purchased Square stays on the homepage while minting. Its tooltip says the Square is already purchased and that visiting a Square requires leaving minting mode.
The mint button opens
/buy?square=with the selected numbers in click order.Checked locally: the prompt kept its height when Mint 1 Square replaced the sentence. The scroll moved part of the way after a third of a second, then reached the top. Square 7 stayed on the homepage with the purchased tooltip. Cancel restored the sentence.