Benedikt Werner
e5806be7e7
chat: Don't show option to report or timeout yourself
2021-10-03 07:04:06 +02:00
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
Benedikt Werner
930014a877
chat: Truncate usernames in CSS for consistency
2021-09-09 07:43:43 +02:00
Benedikt Werner
476f22deac
ui/palantir: Types
2021-09-07 02:09:47 +02:00
Benedikt Werner
8e44cd0082
ui/types: Improve window types
2021-09-06 01:44:25 +02:00
ananas-dev
e87fb73652
basic typing for window + fix typo in Palantir
2021-09-04 22:54:03 +02:00
Thibault Duplessis
c999f9cbee
Merge pull request #9632 from kraktus/timeout-icon
...
Center vertically report/timeout icon in chats
2021-08-24 19:15:22 +02:00
Niklas Fiekas
df3b7efdbd
explicitly depend on @types/cash
2021-08-23 01:33:40 +02:00
Niklas Fiekas
0d569d2ec9
use $npm_execpath in build scripts
2021-08-23 00:54:38 +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
kraktus
89144c0288
Center vertically report/timeout icon in chats
2021-08-22 15:48:29 +02:00
Benedikt Werner
a152998418
ui: Move more stuff to common
2021-08-21 14:27:37 +02:00
Thibault Duplessis
89d6b00074
add chat spam domain
2021-07-28 21:59:39 +02:00
Benedikt Werner
bfa659a117
Add some right padding to chat to avoid text looking cut off
2021-07-16 15:54:42 +02:00
Benedikt Werner
cfda7a8aac
Fix chat highlights for uppercase usernames
2021-07-04 23:04:43 +02:00
Jean P
67010b31c5
fix ui build on windows
2021-06-30 15:45:23 +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
1c4d7b6f97
Display overlong names better
2021-06-23 21:16:49 +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
Thibault Duplessis
c76a2526c7
{master} only show TOS in mod chat user view
...
closes lichess-org/tavern#118
2021-05-30 08:34:23 +02:00
Thibault Duplessis
9d42eebcb0
show patron flair in chats - for lichess-org/strategy#90
2021-05-28 10:52:10 +02:00
Albert Ford
b9fcc550ee
Fix missing voice-over of identical moves
2021-05-22 12:25:05 -07: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
Thibault Duplessis
231cb2e78a
simplify chat members DOM/CSS a bit - after #8686
2021-05-03 09:55:56 +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
Benedikt Werner
a43df885b7
Fix eslint
2021-04-17 16:49:49 +02:00
Benedikt Werner
271aca70dd
Fix chat persistence
2021-04-17 13:12:54 +02:00
Niklas Fiekas
eae0af47fe
Keyboard extension is to blame, not this patch.
...
Revert "Revert "use more const wherever possible""
This reverts commit e997b87efb
.
2021-04-08 10:38:18 +02:00
Niklas Fiekas
e997b87efb
Revert "use more const wherever possible"
...
This reverts commit b2cca042d9
.
2021-04-08 10:36:04 +02:00
Niklas Fiekas
94b447d343
remove some useless regex escapes
2021-04-07 21:08:57 +02:00
Niklas Fiekas
b2cca042d9
use more const wherever possible
...
Relies on const hoisting in same cases. Checked that code already
assumes initialized variables.
Checked that initialization order in snabbdom modules remains the same,
by always using the following structure: Instanciate ctrl, initial patch,
declare redraw function.
2021-04-07 19:35:57 +02:00
topce
4cf05ba1da
switch on ban-types
2021-04-05 21:27:25 +02:00
topce
d7b8491b8e
fix no-duplicate-imports
2021-04-05 09:10:35 +02:00
topce
169c9ed280
upgrade to snabbdom
...
fix soome minor issues
2021-04-03 20:36:53 +02:00
Thibault Duplessis
3e90ee0cab
clear all public chats on mod timeout
...
closes lichess-org/tavern#84
2021-03-31 20:27:34 +02:00
Thibault Duplessis
d0a566fc03
I18nDict TS type
2021-03-27 14:04:28 +01:00
Thibault Duplessis
fef2439284
timeout from /mod/public-chats - closes lichess-org/tavern#18
2021-03-11 12:02:40 +01:00
James N. V. Cash
d243ec5041
Extend movePattern regex to match unicode piece characters
...
so, e.g. one could write in the chat "17. ♔a1" instead of "17. Ka1"
2021-03-02 13:47:10 -05:00
Thibault Duplessis
1fbc1d549d
fix study chat moderation after chapter switch
...
closes lichess-org/tavern#24
2021-02-17 11:07:27 +01: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
a7abac1e64
add tiny.cc/ to spam list
2020-10-31 09:58:53 +01:00
Thibault Duplessis
6af7885452
reformat TS code
2020-10-22 22:54:32 +02:00
Thibault Duplessis
5f3f288784
fix team leader timeout
...
yet another case of user ID case bug
2020-10-22 22:54:06 +02:00