Thibault Duplessis
89bd3d7891
refactor theory wiki
2021-10-06 13:06:23 +02:00
Thibault Duplessis
d533767784
analysis wikibooks theory POC
2021-10-06 12:06:06 +02:00
Benedikt Werner
f56360e326
Update cg when disabling practice mode
...
To recompute dests in case the user scrolled to the computer's position.
2021-09-16 10:45:31 +02:00
Benedikt Werner
091675a0d9
study: Remove sticky comment behavior
2021-09-10 09:55:30 +02:00
Benedikt Werner
8cd8e91bbd
Only prefer local eval over cloud if going deeper
2021-09-09 09:50:33 +02:00
Benedikt Werner
211e737ce4
Prefer ongoing ceval over cloud
2021-09-04 20:28:15 +02:00
Niklas Fiekas
99da71ad1f
analysability needs to be based on root position
2021-08-25 13:03:44 +02:00
Benedikt Werner
415075342c
Move analysable position detection to ceval
2021-08-24 12:14:57 +02:00
ryg-git
0cd7ee93a9
implement suggested changes on previous commit
2021-08-23 20:28:29 +05:30
ryg-git
f3f3abde01
validate position before client side evaluation in local browser
2021-08-22 23:55:09 +05:30
Niklas Fiekas
c9094c0f42
update to chessops 0.10.0 (factored out variant name compat)
2021-08-17 18:06:00 +02:00
Benedikt Werner
f07a1a7158
Clear local eval cache on pv count change - fixes #9393
2021-07-22 04:23:09 +02:00
Benedikt Werner
a1782f0358
Init pvUciQueue on start to avoid errors
2021-07-22 04:22:28 +02:00
Thibault Duplessis
8ffe10a7d4
Merge pull request #9400 from 370417/play-pv
...
When clicking on a specific move in a local analysis pv, skip to that move
2021-07-16 11:01:32 +02:00
Benedikt Werner
103b471eea
Gamebook: Prevent moves after mistake or end
2021-07-14 12:57:19 +02:00
Albert Ford
47d760e2ea
Allow multiple PV moves to be played on click
2021-07-12 09:34:38 -07:00
Benedikt Werner
956a485eaf
Refactor duplicate promotion code into chess/promotion
2021-07-04 11:26:44 +02:00
Diogo Jerónimo
450e0f19cd
Fix board orientation in Racing Kings correspondence analysis
2021-05-19 17:12:05 +01:00
Benedikt Werner
648854e868
Don't preload sounds for music set
2021-05-18 10:12:10 +02:00
Thibault Duplessis
0d2e61ca54
fix TS typing
2021-05-12 10:07:21 +02:00
Thibault Duplessis
ecefc474c6
refactor round sound preload
2021-05-12 09:58:08 +02:00
Timothy Armes
3d4cfd74d6
Fix missing first move sounds on mobile devices
...
Part of a fix for https://github.com/ornicar/lila/issues/8852 (which also needs https://github.com/ornicar/howler.js/pull/4 ).
Currently the first time a sound is played on mobile safari it need to have been unlocked by a user interaction. In order for Howler to do this it needs to have attached various touch event listeners to the page, and if does this when creating a new Howl for the sound file, which Lila does when loading a sound for the first time.
Note that `lichess.sound.play` calls `loadStandard` the first time a sound is played, but by then it's too late to be part of the interaction, so the first move sound isn't played. We have to preload to solve this.
2021-05-11 11:38:01 +02:00
Benedikt Werner
5c5066a20e
All the types! for ui/analyse
2021-04-20 20:37:16 +02:00
Benedikt Werner
462dd48c8a
Even more ui/analysis types
2021-04-19 11:50:10 +02:00
Niklas Fiekas
94b447d343
remove some useless regex escapes
2021-04-07 21:08:57 +02:00
Niklas Fiekas
c55086b6e6
comply with @typescript-eslint/no-inferrable-types
2021-04-07 18:47:59 +02:00
Niklas Fiekas
95ead27316
ActionMenuCtrl.toggle returns void
2021-04-07 18:30:05 +02:00
topce
d7b8491b8e
fix no-duplicate-imports
2021-04-05 09:10:35 +02:00
Niklas Fiekas
7f00d6f521
ceval: detect standard material for nnue ( fixes #8296 , fixes #8290 , closes #8314 )
...
thanks @benediktwerner
2021-03-06 13:13:37 +01:00
Niklas Fiekas
eb718401db
hide nnue toggle if unsupported
2021-03-06 10:59:43 +01:00
Hiroshi Ogawa
f298c0f938
Add "Enable NNUE" bool setting
2021-03-04 23:27:50 +09:00
Thibault Duplessis
bab504ceec
enable move annotations by default
2021-02-26 12:31:38 +01:00
Thibault Duplessis
1fcda98006
tweak move annotations setting
2021-02-24 18:08:18 +01:00
Hiroshi Ogawa
ec267924a9
Implement boolean setting for move annotation
2021-02-22 18:37:33 +09:00
Niklas Fiekas
1374ea5ee4
prettier: format all files
2021-02-06 14:52:33 +01:00
Hiroshi Ogawa
1b32c3416d
Fix board flip in interactive study
2021-02-06 16:33:12 +09:00
Thibault Duplessis
400b8d23c5
fix analysis tree reconstruct
2020-11-22 12:40:27 +01:00
Thibault Duplessis
966133b99a
simplify ui/analyse opts.initialPly - closes #7440
2020-10-16 07:43:03 +02:00
Thibault Duplessis
b66d4fc877
requestIdleCallback timeout - closes #7329
2020-10-02 18:55:28 +02:00
Niklas Fiekas
49be7f229a
xhr().then(f).catch(g) -> xhr().then(f, g)
...
To avoid hiding logic errors in f. Might help debug random page reloads
reported by some users.
2020-09-28 19:44:44 +02:00
Thibault Duplessis
c746f53334
refactor sound management
2020-09-26 17:57:38 +02:00
Thibault Duplessis
50db78652e
Merge branch 'master' into cash.js
...
* master: (22 commits)
update @rollup/plugin-typescript (fixes noEmitOnError)
bump chessops (0.7.1)
work around shared array buffer leak (closes #7334 )
finish scalachess upgrade to 10.0.4
upgrade scalachess
new default glicko values: deviation=600, volatility=0.1
scalafmt 2.7.1
dgt play style tweaks
rewrite dgt play help zone
ceval always off by default (fixes #5528 )
moving load more users button
Ready to start testing on Lichess.dev
Finish porting to chessops and removed all other dependencies
moving isDefaultName flag from view to ctrl.vm
isDefaultName flag on newChapter
Update lettuce-core to 5.3.4.RELEASE
rm outdated nginx docs
rm outdated iptables doc (no longer using extra ports)
rm outdated manifest doc that now has its own route
update some old links
...
2020-09-21 15:27:21 +02:00
Niklas Fiekas
11b88230e5
update some old links
2020-09-15 12:54:42 +02:00
Thibault Duplessis
af7dd0d2f2
s/window.lichess/lichess, remove const li
2020-09-13 09:40:24 +02:00
Thibault Duplessis
3a8d023420
remove $.noop
2020-09-11 19:11:34 +02:00
Thibault Duplessis
10a36b106d
common/xhr for ui/analyse
2020-09-06 14:38:32 +02:00
Thibault Duplessis
e5ca6628b6
move debounce to ui/common
2020-09-05 08:27:09 +02:00
Niklas Fiekas
68458bd830
type EvalCacheOpts
2020-08-12 11:20:02 +02:00
Niklas Fiekas
7639ac9c08
update to chessground 7.8 (dests and pieces map)
2020-07-07 14:16:00 +02:00
Greg Finley
63865d8c72
noImplicitReturns in ui/analyse
2020-07-01 20:48:43 -07:00