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
Thibault Duplessis
5826074b8b
chessground 8.1.7 for ornicar/chessground#202
2021-08-27 08:06:14 +02:00
Thibault Duplessis
d0ede860b7
upgrade chessground 8.1.6
2021-08-23 09:28:02 +02:00
Niklas Fiekas
8d63367a01
fix more missing dependencies
2021-08-22 22:02:34 +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
a152998418
ui: Move more stuff to common
2021-08-21 14:27:37 +02:00
Thibault Duplessis
c801cd46d3
refactor ui modals - after #9380
2021-07-16 14:56:47 +02:00
Thibault Duplessis
b5c7e130e9
Merge pull request #9298 from Tvallejos/simul-host-own-messages
...
Highlight yourself and simul host in chat
2021-06-29 22:06:54 +02:00
Benedikt Werner
e90fd6abc7
Fix simul layout on small screens
2021-06-29 17:03:59 +02:00
Benedikt Werner
fb40729603
Highlight me & simul host in chat
2021-06-29 15:20:07 +02:00
Tomas
ac6a50997f
highlight own messages in simul
...
modified: chat/src/discussion.ts
modified: chat/src/util.ts
modified: simul/css/_show.scss
2021-06-29 03:03:25 -04:00
Benedikt Werner
a9183159aa
noImplicitAny for simul
2021-06-28 12:31:04 +02:00
Andrew Mazur
e4db7c25e6
Icons private use area ( #9136 )
...
* move all glyphs to private area
* replace exclamation mark icon
* replace quotation mark icon
* replace rapid icon
* replace share icon
* replace patron icon
* replace gear icon
* replace phone icon
* replace streak icon
* replace die-six and ograve icons
* replace flag icon
* replace flame icon
* replace feather icon
* replace turtle icon
* replace nuclear icon
* replace arrow-streamline-target icon
* replace buffer icon
* replace upload-cloud icon
* replace number and some special characters icons
* replace upper case alphabet characters icons
* replace alphabet characters icons and a few special characters icons
* fixing some missing icons
* notifications icons fix
* a few more icons found
* changing a few more icons
2021-06-14 09:13:27 +02:00
tors42
e171d632e1
Add optional estimated start time for Simuls ( #8887 )
...
* Add optional estimated start time for Simuls
Add an optional estimated start time for Simuls, in case the host wants
to create a simul some time in advance.
Previously the only way to indicate start time (unless immediate...) was
to write a start time in the Simul description. One problem with such a
solution is that the start time from the text won't be displayed in
users local time zones.
This commit adds a field, which is optional, which can be used to give
an estimate of at what time the host intends to click the Start button.
* wip - Pull Request feedback
Remove unused (and wrongly typed) field
* wip - Pull Request feedback
Remove non-information-adding help message
* wip - Pull Request feedback
Move the $unset logic into the existing update method
* wip - Pull Request feedback
Update the $unset logic,
to run in the same coll.update call
* wip - Pull Request feedback
Update to not use if-else branches
2021-05-16 08:44:20 +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
Benedikt Werner
0cbc5f05fd
Fix spectators list ( #8686 )
...
* Make spectators list consistent and always translated
* Fix spectators count and list everywhere
* Prettier
* Proper translations for spectators info
* Remove 'spectators' from all translations
* Prettier and scalafmt
* Use symbol for spectators
* Cleanup
2021-05-03 09:38:53 +02:00
Nicholas Omron
bff2db9cf5
removed files, functionality was moved to common/richText, references fixed (hopefully)
2021-04-20 15:46:46 -04:00
Nicholas Omron
80ad7f5d72
Refactoring code for issue 7342, repeated code to produce rich html is collected and placed in a common file
2021-04-20 15:07:21 -04:00
Niklas Fiekas
c84d3da2af
typesafe throttle and corresponding fixes
2021-04-05 15:46:15 +02:00
topce
d7b8491b8e
fix no-duplicate-imports
2021-04-05 09:10:35 +02:00
topce
a121f75636
fix format
2021-04-03 20:48:37 +02:00
topce
169c9ed280
upgrade to snabbdom
...
fix soome minor issues
2021-04-03 20:36:53 +02:00
Greg Finley
0a5587ecfa
strictNullChecks in ui/simul
2021-03-27 21:54:08 -07:00
Thibault Duplessis
d0a566fc03
I18nDict TS type
2021-03-27 14:04:28 +01:00
Niklas Fiekas
1374ea5ee4
prettier: format all files
2021-02-06 14:52:33 +01:00
Shawn Inder
db7351eee4
Add text-shadow when using transparent background ( #7835 )
...
* Add text-shadow when using transparent background for slightly better readability
* Use Sass correctly
* Restore text-shadow in other themes
* Found other places that could use text-shadow
2021-01-10 10:23:38 +01:00
Thibault Duplessis
3f41707af8
show number of players to simul host - closes #7463
2020-10-15 14:46:31 +02:00
Thibault Duplessis
4932bb2f88
fix simul created layout
2020-10-15 14:46:18 +02:00
Thibault Duplessis
9a6184256f
remove TS jquery types
2020-09-21 16:10:14 +02:00
Thibault Duplessis
af7dd0d2f2
s/window.lichess/lichess, remove const li
2020-09-13 09:40:24 +02:00
Thibault Duplessis
e4a8b17465
more cash.js migration and autocomplete rewrite WIP
2020-09-10 18:35:11 +02:00
Thibault Duplessis
1d6efcab0e
compatibility with cash.js WIP
2020-09-09 14:57:36 +02:00
Thibault Duplessis
45a420a2ab
move modal to ui/common
2020-09-05 08:05:56 +02:00
Thibault Duplessis
0b18f2babf
fix simul watchers
2020-09-04 17:28:11 +02:00
Thibault Duplessis
32ee20899a
more JS refactor and loading
2020-09-04 12:08:24 +02:00
Thibault Duplessis
899b10c46b
uniform js module naming
2020-09-03 14:45:24 +02:00
Thibault Duplessis
945d6e32df
JS components
2020-09-01 10:21:03 +02:00
Thibault Duplessis
f52b3b9239
fix simul withdraw button - closes #7207
2020-08-30 10:53:23 +02:00
Thibault Duplessis
e18eb0e634
more .utitle
2020-08-21 12:21:54 +02:00
Thibault Duplessis
cbeda4a345
remove unused code
2020-08-21 11:38:02 +02:00
Thibault Duplessis
64b2038c63
only send simul host ping when host is around
...
titled simul hosts game the featuring system
by leaving the simul page open for days and days
2020-08-21 08:57:37 +02:00
Thibault Duplessis
14e2dd4d97
fix ui/simul rich text
2020-08-21 08:40:10 +02:00
Thibault Duplessis
2aa3185b67
fix ui/simul
2020-08-21 08:29:48 +02:00
Thibault Duplessis
62a8549b76
mark ui/simul clocks as managed
...
so that lichess.miniGame doesn't conflict with snabbdom
2020-08-20 23:28:11 +02:00
Thibault Duplessis
5c432e5a08
more ui/simul fixes
2020-08-20 23:28:11 +02:00
Thibault Duplessis
c4d9cc74b5
ui/simul fixes and tweaks
2020-08-20 23:28:11 +02:00
Thibault Duplessis
d348afd884
complete ui/simul typescript/snabbdom rewrite
2020-08-20 23:28:11 +02:00
Thibault Duplessis
858e78f6de
ui/simul typescript/snabbdom WIP
2020-08-20 23:28:11 +02:00