Commit Graph

  • e7de5fcbab Merge pull request #387 from lichess-org/unbind-resize-observer master Thibault Duplessis 2026-05-07 20:35:08 +02:00
  • f9302c78e2 move resize observer to bindDocument to allow unbind on destroy - closes #386 unbind-resize-observer Thibault Duplessis 2026-05-07 10:13:16 +02:00
  • e47565c8d1 Merge pull request #385 from Simek/update-actions-in-workflows Thibault Duplessis 2026-03-31 09:56:14 +02:00
  • c49d0cc3d0 Merge pull request #384 from Simek/switch-lint-stack-to-oxc-tools Thibault Duplessis 2026-03-31 09:55:37 +02:00
  • 7ba3acfc15 update actions in workflows Simek 2026-03-31 09:36:45 +02:00
  • c4cdf48303 switch lint stack to OXC tools Simek 2026-03-31 09:24:07 +02:00
  • 4d7e91bb02 10.1.1 v10.1.1 github-actions 2026-03-27 08:36:26 +00:00
  • c539de06eb Merge pull request #382 from jshnaidman/fix/webkit-square-visibility Thibault Duplessis 2026-03-27 09:34:03 +01:00
  • 1752ae457f fix rendering artifacts on WebKitGTK jshnai 2026-03-22 23:39:33 -04:00
  • 75aa384309 Merge pull request #383 from Simek/bump-dependencies-fix-lint Thibault Duplessis 2026-03-27 09:29:42 +01:00
  • 0c9e6b044d bump dependencies, fix new lint warnings Simek 2026-03-25 20:33:02 +01:00
  • 638c1a2d2f 10.1.0 v10.1.0 github-actions 2026-03-07 09:56:25 +00:00
  • 0d3ac3ea7c Merge pull request #377 from Simek/move-drag-hover-to-js-side Thibault Duplessis 2026-03-07 10:54:11 +01:00
  • b281ee3773 fix keyHasChanged logic Simek 2026-03-07 09:48:20 +01:00
  • c4d628bcf7 use data-key instead of class for storing key for jsHover Simek 2026-03-06 13:25:31 +01:00
  • 332ea03368 extract handleJsHover logic, and avoid computing getKeyAtDomPos most of the time Thibault Duplessis 2026-03-06 11:31:51 +01:00
  • 7b32423751 make JS-side hover optional, cleanup hover state on invalid dest Simek 2026-03-04 10:37:53 +01:00
  • e71a3a36eb move handling drag hover to JS side Simek 2026-03-03 14:33:59 +01:00
  • da58b6ec85 fix demo example: Uncaught TypeError: hilite.replace is not a function Trevor Fitzgerald 2026-02-26 20:23:18 -05:00
  • 87a07a82e5 10.0.2 v10.0.2 github-actions 2026-02-06 10:33:47 +00:00
  • f9e2ee387f don't create the ghost piece if the mode is view-only Thibault Duplessis 2026-02-06 11:32:12 +01:00
  • c0cec449b7 ci: use node-version 24 required for oidc npm publishing Trevor Fitzgerald 2026-01-30 19:39:39 -05:00
  • e156146a3f remove npm token for publishing, using oidc auth now Trevor Fitzgerald 2026-01-28 11:41:34 -05:00
  • a2bcfc36c4 10.0.1 v10.0.1 github-actions 2026-01-20 07:57:43 +00:00
  • b11de5a2c8 simplify render by removing the existingSquares set Thibault Duplessis 2026-01-20 08:55:56 +01:00
  • 586ad1212a 10.0.0 github-actions 2026-01-19 08:48:22 +00:00
  • c5037d5389 the final optimization: square node pool v10.0.0 Thibault Duplessis 2026-01-19 09:42:50 +01:00
  • 2140c3e0f0 9.10.3 v9.10.3 github-actions 2026-01-18 22:38:37 +00:00
  • c7f56947c9 coord color also depends on board orientation Thibault Duplessis 2026-01-18 23:38:00 +01:00
  • 66807129c4 9.10.2 v9.10.2 github-actions 2026-01-18 22:30:58 +00:00
  • 9904f46e28 Merge branch 'master' of https://github.com/lichess-org/chessground Thibault Duplessis 2026-01-18 23:30:17 +01:00
  • 8fd8cbc3c0 fix coord orientation Thibault Duplessis 2026-01-18 23:30:15 +01:00
  • 7d2a2aa32b 9.10.1 github-actions 2026-01-18 19:20:29 +00:00
  • 9f3000b9d5 please the linter v9.10.1 Thibault Duplessis 2026-01-18 19:54:29 +01:00
  • e52b63b436 remove unused import Thibault Duplessis 2026-01-18 19:52:58 +01:00
  • c05a6560e4 add light/dark classes to coord nodes to simplify CSS selectors v9.10.0 Thibault Duplessis 2026-01-18 19:46:13 +01:00
  • 1d8cae82a7 add missing config typing Thibault Duplessis 2026-01-18 19:43:00 +01:00
  • 1c18ca50e5 Merge pull request #369 from johndoknjas/selective-arrow-shorten Thibault Duplessis 2025-11-21 09:48:47 +01:00
  • d467d9f51c Merge branch 'master' into selective-arrow-shorten Thibault Duplessis 2025-11-21 09:47:12 +01:00
  • acf7fe8830 simplify svg rotateAngleSlot signature and implementation Thibault Duplessis 2025-11-21 09:42:08 +01:00
  • f9f5d7c35a Merge pull request #370 from johndoknjas/update-hash Thibault Duplessis 2025-11-21 09:20:06 +01:00
  • afa5844d8e Have the number of angles for a shape include the number of angles the dest square has. The reason is to get labels to always update their positioning when appropriate. John Doknjas 2025-11-20 19:51:51 -08:00
  • 5317af1073 Only apply shorten for a dest if it has two arrows which are less than 90 degrees apart. John Doknjas 2025-11-20 17:44:39 -08:00
  • f169fa1975 9.9.0 v9.9.0 github-actions 2025-11-17 11:08:21 +00:00
  • 60920b90a0 remove premove MobilityContext.canCastle Thibault Duplessis 2025-11-17 12:06:15 +01:00
  • a064b39cd4 Merge pull request #365 from johndoknjas/remove-premove-trimming Thibault Duplessis 2025-11-17 12:03:17 +01:00
  • 30df77de46 Merge pull request #367 from johndoknjas/castle-highlights Thibault Duplessis 2025-11-17 12:02:42 +01:00
  • 62de8b8be3 tweak lastMove castle normalization Thibault Duplessis 2025-11-17 12:02:22 +01:00
  • 477c65fbdd fix state comment Thibault Duplessis 2025-11-17 12:01:30 +01:00
  • a1c4f5f6f3 Irrelevant non-functional cleanups. John Doknjas 2025-11-16 23:13:52 -08:00
  • 090f6a1956 Non-functional refactor, move most of the added logic into a function. John Doknjas 2025-11-16 23:01:52 -08:00
  • f008182fd5 Highlight the actual square the king is on after doing a rook castle. John Doknjas 2025-11-16 22:50:33 -08:00
  • 03faf23821 Add todo comment about castle. John Doknjas 2025-11-11 15:46:42 -08:00
  • b54a4530fe Non-functional change, make code slightly clearer. John Doknjas 2025-11-04 20:24:03 -08:00
  • 12f88059ee Remove the premove trimming logic, as lila now has it. John Doknjas 2025-11-04 20:09:14 -08:00
  • ed94e77b01 Merge pull request #364 from Janldeboer/master Thibault Duplessis 2025-11-04 20:36:33 +01:00
  • 64ea1e3f7e Update Svelte wrapper links in README.md Jan de Boer 2025-11-04 18:05:39 +01:00
  • dd8446303c 9.8.5 v9.8.5 github-actions 2025-11-04 08:45:07 +00:00
  • 4e6d6c1e1b memoize firemac detection; evaluate the cheapest condition first Thibault Duplessis 2025-11-04 09:41:10 +01:00
  • 017befab41 Merge pull request #363 from schlawg/pawn-promotion-premoves Thibault Duplessis 2025-11-04 09:41:43 +01:00
  • 716ad95d37 dont let firefox draw arrows on pawn promotion Jonathan Gamble 2025-11-04 00:53:19 -06:00
  • 3335267e07 9.8.4 v9.8.4 github-actions 2025-10-21 08:02:56 +00:00
  • 26d859dffb Merge pull request #360 from johndoknjas/transparent-on-pending-erase Thibault Duplessis 2025-10-21 09:56:44 +02:00
  • b9b81ae3ca Attempt DRY. John Doknjas 2025-10-20 22:06:12 -07:00
  • 5b6af3f3bb Avoid doing an indexOf operation in each iteration. John Doknjas 2025-10-20 21:01:44 -07:00
  • 7053faa374 Do not use a set, cannot have more than one shape pending removal. John Doknjas 2025-10-20 20:31:10 -07:00
  • c537eee8c7 formatting John Doknjas 2025-10-19 15:01:32 -07:00
  • 12b25c75ee Make drawings transparent on pending removal. John Doknjas 2025-10-19 14:58:24 -07:00
  • ecac03f834 backup glyphs backup_glyphs kraktus 2025-10-19 12:13:07 -04:00
  • be89ebf264 9.8.3 v9.8.3 github-actions 2025-10-17 07:33:32 +00:00
  • c3864c5651 Merge pull request #357 from johndoknjas/revert-shape-clearing Thibault Duplessis 2025-10-17 08:23:27 +02:00
  • 19e815b99c Unrelated to PR, but make variable name a bit more accurate. John Doknjas 2025-10-12 13:33:08 -07:00
  • 03cc8ff18c Revert "Merge pull request #352 from johndoknjas/clear-shapes-after-click-or-tap" John Doknjas 2025-10-16 16:52:06 -07:00
  • 6cecd4482b 9.8.2 v9.8.2 github-actions 2025-10-14 17:18:39 +00:00
  • d44c6d1745 Merge pull request #355 from johndoknjas/custom-premove-predicates Thibault Duplessis 2025-10-14 19:17:33 +02:00
  • 336a94ab63 Oops, update Config too. John Doknjas 2025-10-14 08:44:40 -07:00
  • d6f0f3f01e document the release procedure Thibault Duplessis 2025-10-14 10:25:04 +02:00
  • d9b625dd85 9.8.1 v9.8.1 github-actions 2025-10-14 08:22:47 +00:00
  • 96c8e34ccf 9.8.0 github-actions 2025-10-14 08:20:22 +00:00
  • bb8bebb847 Merge pull request #353 from johndoknjas/pawn-promotion-bug v9.8.0 Thibault Duplessis 2025-10-14 10:14:18 +02:00
  • 8e560c9c5d Merge pull request #352 from johndoknjas/clear-shapes-after-click-or-tap Thibault Duplessis 2025-10-14 09:53:02 +02:00
  • f690a670b5 Merge pull request #350 from johndoknjas/custom-premove-predicates Thibault Duplessis 2025-10-14 09:48:45 +02:00
  • 95a209b5bb Only accept a single Mobility function from the client, but add a Role to MobilityContext so that this function can use it. John Doknjas 2025-10-13 21:48:33 -07:00
  • b73be00f3d Merge pull request #354 from lichess-org/ci-tweaks Trevor Fitzgerald 2025-10-13 21:08:43 -04:00
  • 4a03ed3899 run gh actions concurrently Trevor Fitzgerald 2025-10-13 21:02:46 -04:00
  • fa1c101fad Apply PR feedback. John Doknjas 2025-10-13 17:06:32 -07:00
  • c79bbe4572 Test side pawns too. John Doknjas 2025-10-13 15:54:08 -07:00
  • a2a2d84556 Fix the bug without allowing promotion premoves into friendlies. John Doknjas 2025-10-13 15:41:17 -07:00
  • 48595679eb Fix bug where a pawn on the seventh rank could not premove promotion. John Doknjas 2025-10-13 13:36:43 -07:00
  • 26daec65a5 Add test showing promotion premove bug. John Doknjas 2025-10-13 13:09:17 -07:00
  • d2a3434a85 Merge pull request #351 from johndoknjas/pos2key-edge-case Thibault Duplessis 2025-10-13 08:57:21 +02:00
  • 22e3af4dc8 Make property name more precise. John Doknjas 2025-10-12 15:20:45 -07:00
  • 30ba00c3a8 Unrelated to PR, but make variable name a bit more accurate. John Doknjas 2025-10-12 13:33:08 -07:00
  • 23316e973f Clear shapes after the user clicks/taps, rather than on mouch down. John Doknjas 2025-10-12 12:47:16 -07:00
  • 64cb508ae1 Prevent a Key from being returned if pos[1] is negative. John Doknjas 2025-10-12 11:19:54 -07:00
  • d1253f121d Allow the client to optionally specify additional requirements for what constitutes a valid premove. John Doknjas 2025-10-10 23:38:53 -07:00
  • c101fc8211 help the linter out Thibault Duplessis 2025-10-06 22:19:38 +02:00
  • 43a3c20155 fix use of pos2key Thibault Duplessis 2025-10-06 22:19:34 +02:00
  • 7d3a3c1059 complete ctx.dest renaming Thibault Duplessis 2025-10-05 09:50:45 +02:00
  • 3c9c8722db precompute allKeyAndPos to provide availability guarantees, make premoves safer less-unsafe-pos-key-conversions Thibault Duplessis 2025-10-05 09:49:00 +02:00