Customising quick pairing buttons#19631
Open
yafred wants to merge 27 commits intolichess-org:masterfrom
Open
Conversation
Simek
reviewed
Feb 27, 2026
| const variantIcon = | ||
| customisation.settings.variant !== 'standard' || customisation ? variantDef?.icon : undefined; | ||
| const typeIconAttrs = | ||
| customisation.gameType === 'hook' |
Contributor
There was a problem hiding this comment.
We might want to skip group icon to match default tiles, which are hooks. Also icons feels a bit too big.
Contributor
Author
There was a problem hiding this comment.
(I'm happy you think we are at this stage of polishing 😄 )
The default tiles are not really hooks, there are pools:
- customised tiles should send you to the lobby (unless you configure them with some pool settings)
- default tiles just blink and wait for another player to click the same tile
My initial idea was to create a second layer of tiles and let the exisiting one in peace (but the reception was ... not great)
If this proposal goes through, we are going to spend a lot of attention on visual details (this is the home page)
ui/lobby/src/customiser.ts
Outdated
| attrs: { role: 'button', 'data-id': poolId, tabindex: '0' }, | ||
| }, | ||
| [ | ||
| hl('div.clock', [ |
Contributor
There was a problem hiding this comment.
With icons in, would be nice to make it flex layout and align icons and text vertically.
Contributor
Author
|
Update look (based on @Simek feedback)
|
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.

Note:
2026-02-26.14-13-47.mp4