Chris Oakman

Results 159 issues of Chris Oakman

Need to update the homepage to reflect v2 before going live. Also need to update the chessboard.js website to point to https://chessboardjs.com/v2/

needed for v2

All of the [examples from chessboard.js](https://github.com/oakmac/chessboardjs/tree/master/examples) should either 1) work for chessboard2 or 2) be removed if applicable. The purpose of this issue is to track the progress of the...

needed for v2

Chessboard2 should support dragging arbitrary items onto the board. Need to give a think about how this can work. - use a `data-chessboard-draggable` property? - use [HTML Drag and Drop...

needed for v2
API design

Should we have a `board.isAnimating()` call that returns whether the board is currently performing an animation?

API design

Chessboard2 should support a configurable number of rows and columns. There are many `FIXME`s in the codebase where this change will need to be applied. Will need to give a...

API design

It would be neat to support some simple piece animations like "bounce", "flip", "pulse". - `.animatePiece(cfg)` - `.bouncePiece("e2")` - `.flipPiece("d4")` - `.pulsePiece("h7", "fast")`

API design

We need to add support for custom pieces and themes. It should be configurable at runtime.

needed for v2

It looks like [ResizeObserver] has [pretty decent](https://caniuse.com/resizeobserver) browser support these days. Chessboard2 could listen for changes to the root element width and trigger a debounced `.resize()` method. [ResizeObserver]:https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver

needed for v2

Would be nice to remove the jQuery dependency from the examples page.

Currently Analysis Arrows are added and removed from the board instantly. Should the API support moving an Analysis Arrow? Would there be any value in animating arrows from square to...