Commit Graph

36 Commits (deepcrayonfish)

Author SHA1 Message Date
Benedikt Werner b0201a63d1
Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
Benedikt Werner 8073dc43c7
Update Typescript to 4.4.3 for requestIdleCallback 2021-09-15 04:00:59 +02:00
Niklas Fiekas 2f2bc09e36 add rollup and typescipt directly to most modules
These were previously not provided in a valid way (by @build/rollupProject)
that works only because there happens to be a shared node_modules folder.
2021-08-22 17:34:36 +02:00
Benedikt Werner 6200b5fbef
Use correct language for speechSynthesis 2021-05-22 16:50:50 +02:00
Benedikt Werner 2f39abb50b
Fix rollup build import
ES rollup config modules on Node 13+ can only import the default export
from commonJS modules.
2021-05-14 00:31:46 +02:00
Niklas Fiekas d523aeff8b switch ui from commonjs to es modules
For example, before:

    $ du --bytes public/compiled/round.min.js
    123011 public/compiled/round.min.js
    $ du --bytes public/compiled/analysisBoard.min.js
    286473 public/compiled/analysisBoard.min.js

After:

    $ du --bytes public/compiled/round.min.js
    102103 public/compiled/round.min.js
    $ du --bytes public/compiled/analysisBoard.min.js
    259559 public/compiled/analysisBoard.min.js
2021-05-13 12:10:57 +02:00
Niklas Fiekas 1374ea5ee4 prettier: format all files 2021-02-06 14:52:33 +01:00
Niklas Fiekas b326c88c9c clean and unify tsconfig.json files 2021-02-06 13:07:58 +01:00
Thibault Duplessis af7dd0d2f2 s/window.lichess/lichess, remove const li 2020-09-13 09:40:24 +02:00
Thibault Duplessis 899b10c46b uniform js module naming 2020-09-03 14:45:24 +02:00
kraktus dc9ea2db44 Fix #7054 when Speech reads `h` as `hour` 2020-07-30 19:21:54 +01:00
Niklas Fiekas 5f15b231dc rollup ui/speech 2020-07-01 11:10:18 +02:00
Niklas Fiekas b24d48c598 ui/speech seems to be gulp only 2020-06-29 09:13:31 +02:00
Niklas Fiekas b169ea66ea ui/speech as well 2020-06-29 09:11:04 +02:00
Niklas Fiekas 232c6f401d fix spdx identifiers 2020-06-28 22:00:15 +02:00
Niklas Fiekas a0294135c9 palantir is built using gulp 2020-06-28 21:57:10 +02:00
Niklas Fiekas 360a5dac92 unify ui/build using package.json scripts 2020-06-28 21:41:39 +02:00
Niklas Fiekas 4bc42956aa clean up ui/**/package.json files 2019-09-17 23:09:45 +02:00
Niklas Fiekas adbb3c9ce2 factor out tsProject and its dependencies 2019-09-17 21:12:17 +02:00
Thibault Duplessis 9090afd491 Merge branch 'master' of github.com:ornicar/lila into palantir
* 'master' of github.com:ornicar/lila:
  Use nonEmpty
  Only show more button if timeline exists
  Use a class instead of an attribute
  Remove accidental css
  tweak chess variant row in /features
  Remove filter numbers and colour the filter button icon instead
  no need for unsafe-inline fallback for nonce since safari 10
  nav implies role navigation
  spec recommends sligtly longer nonces
  fix html syntax
  Removed ALL tabs this time
  Updated renderSan()
  Add space between anon and number so it is now Anonymous (1)
  Replace tabs with spaces (oops)
  Leaderboard hover transition to blue
  Tournament schedule links blue on hover
2019-08-08 10:38:44 +02:00
mblemberg db0d3caabf
Updated renderSan()
If the replace function is removed, the if statements for adding "check" and "checkmate" to the string are no longer required.  Also, changed "promotion" to "promotes to".  I thought "f8 promotes to queen" sounded better than "f8 promotion queen".

Sorry for so many edits to this file!  I hope this will be the last one it needs for a long time.
2019-08-04 13:41:54 -05:00
Thibault Duplessis 9a9add8d03 Merge branch 'master' into palantir
* master:
  improve /faq after #5385
  Fix ratings showing differently in TV when updated dynamically
  Fix the lobby support buttons
  Changed regular expressions
  Update with sentence from Source Code
  Add question to FAQ
  Remove some more leading zeroes
  Remove leading zeroes in a bunch of files
  Remove unneeded unit specified in _insight.scss
  Fix leaderboard and winners box top text align
  Remove unneeded arg from _explorer.scss
  Remove unneeded arg from _explorer.scss
  Remove unneeded arg from _explorer.scss
  Remove unecessary transition argument
  Transition the more button front c-font to c-link
2019-08-04 10:52:29 +02:00
mblemberg de49b807b2
Changed regular expressions
Want to make C and F lowercase regardless of whether they occur at the start of the string or not.
2019-08-03 21:44:54 -05:00
Thibault Duplessis d6a1b01ef2 palantir WIP 2019-08-03 01:03:49 +02:00
mblemberg b972755902
Semicolon was in wrong place...
Sorry.  New to this language and github too.
2019-07-31 01:02:58 -05:00
mblemberg 177562fd12
Typo in comment 2019-07-31 00:55:20 -05:00
mblemberg 5a1a32d0ae
Moved the changes to hackFix().
Changes seemed to better fit in the hackFix function than where I originally put them.  Also improved the comments I added to the code.
2019-07-31 00:52:32 -05:00
mblemberg 908a9efc7b
Updated renderSan function
Fix for #5358 - closes #5358
2019-07-30 23:17:56 -05:00
Thibault Duplessis 1d83d847a9 hardcode tsc path to avoid using OS's 2019-06-29 20:09:56 -04:00
Isaac Levy 1ee4c7a5a3 Extend tsconfig from a base config
Simplify individual configs
2019-06-25 12:04:35 -04:00
Thibault Duplessis 8509550787 upgrade typescript and other ui vendors 2019-06-04 14:44:35 +02:00
Samuel 1fd7d75353 Fix text-to-speech bug - closes #5094 2019-05-19 13:44:40 +01:00
Thibault Duplessis 1236b57c7f slower speech 2019-05-02 13:42:40 +07:00
Thibault Duplessis 4f2d6b99f4 better speech hackfix 2019-05-02 13:42:32 +07:00
Thibault Duplessis ce18044845 better pronounce "A takes" 2019-05-01 13:11:58 +07:00
Thibault Duplessis 50b874bfb3 extract speech plugin, enable speech in analysis 2019-04-29 22:26:07 +07:00