-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui/nvui cleanup #16560
Merged
Merged
ui/nvui cleanup #16560
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
edf0cdb
use destsToUcis from ui/chess
allanjoseph98 4b11790
move sanToUci to ui/chess
allanjoseph98 60e0b60
change some types
allanjoseph98 686690a
some code golf
allanjoseph98 c26acd4
use lichessrules chessops compat util
allanjoseph98 3dad0fb
golf + rename stuff to be more accurate
allanjoseph98 0e2b7cf
remove unused blindmode variants scala set
allanjoseph98 cafb9ae
type tweak
allanjoseph98 08dd1db
distinguish between cash and non cash variables
allanjoseph98 7e6b26b
rename `Style` to `MoveStyle` for clarity
allanjoseph98 1c067b8
cast type directly
allanjoseph98 2f36dac
use roles const from chessops
allanjoseph98 730a5f8
refactor
allanjoseph98 410d118
programatically render choice examples
allanjoseph98 e5cd01d
fix order
allanjoseph98 fbd6d0e
some weight loss
allanjoseph98 28d1180
`sanToWords` util func.
allanjoseph98 1a803a5
remove unused constructor parameter
allanjoseph98 21c1cc7
golf
allanjoseph98 036ca3c
correct lichess comment Regex
allanjoseph98 f242042
fix game start
allanjoseph98 79750ae
allow racingKings and antichess in nvui
allanjoseph98 f82f82c
refactor
allanjoseph98 894dac0
golf puzzle nvui
allanjoseph98 06d76fb
golf
allanjoseph98 e08c9c7
refactor:use analyse result rendering
allanjoseph98 23e014a
king underpromotion regex for antichess
allanjoseph98 eff01df
key attr regex
allanjoseph98 650b574
don't assume dests are available
allanjoseph98 4c4e607
Don't destroy chessground when the board is hidden by snabb. Required…
allanjoseph98 6dd0ca8
nvui study chapter select
allanjoseph98 bcea574
maybe pacify gh security warning
allanjoseph98 5a6b066
nvui study add and edit chapters
allanjoseph98 dfb3f54
golf
allanjoseph98 9b7d50f
remove debug
allanjoseph98 e6108d7
translate some existing commands
allanjoseph98 4ca3df1
refactor board commands
allanjoseph98 8c97326
fix puzzle i18n
allanjoseph98 8d24edc
some more i18n
allanjoseph98 4c076f9
uci is already treated as optional
allanjoseph98 cf05aa8
more i18n
allanjoseph98 ba0ada7
round i18n
allanjoseph98 8d02d02
golf
allanjoseph98 8959e5c
Merge branch 'master' into ui-nvui-cleanup
ornicar 244671b
reconfigure chessground on every redraw
allanjoseph98 dbe1f76
use <select> change events for chapter changes
allanjoseph98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did you determine that this could be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvui relies on chessground to keep track of board state. That line destroys the initialized chessground state whenever the main analysis board is removed from the DOM tree (which is the order of operations on every analysis/study page load)