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
8e44cd0082
ui/types: Improve window types
2021-09-06 01:44:25 +02:00
Benedikt Werner
2d99547b85
msg: Fix report confirmation
2021-09-03 16:45:42 +02:00
Niklas Fiekas
df3b7efdbd
explicitly depend on @types/cash
2021-08-23 01:33:40 +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
1f96b01b57
make it easier to unsub from team messages
2021-08-18 12:34:26 +02:00
Benedikt Werner
816a6fa4ec
Fix game/study embeds on mobile in forum
2021-07-24 10:03:02 +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
95b460c60c
autocomplete inbox user after 3 chars
2021-06-09 21:46:02 +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
Thibault Duplessis
165df5b776
better mitigate zalgo text with css
2021-04-29 18:31:59 +02:00
Nicholas Omron
29aa706c4e
adjusted common/richText and msg/enhance per Ornicar's request
2021-04-22 12:47:45 -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
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
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
Niklas Fiekas
51f6736d3f
fix trivial cases of prefer-const
2021-04-07 19:18:28 +02:00
Niklas Fiekas
c55086b6e6
comply with @typescript-eslint/no-inferrable-types
2021-04-07 18:47:59 +02:00
Niklas Fiekas
54b7034bf0
fix no-extra-boolean-cast
2021-04-07 17:42:24 +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
a427c2bc90
let kids lookup their classmate for conversations
2021-03-31 16:42:03 +02:00
Thibault Duplessis
d0a566fc03
I18nDict TS type
2021-03-27 14:04:28 +01:00
Thibault Duplessis
4037ba6cd4
puzzle racer WIP
2021-03-04 18:01:53 +01:00
Thibault Duplessis
c24946e923
Merge pull request #8111 from ornicar/horsey-pieces
...
Horsey piece set
2021-02-08 22:08:29 +01:00
Thibault Duplessis
18e6b5696a
send custom messages to player paired with challenge API endpoints
2021-02-08 21:03:31 +01:00
Niklas Fiekas
c27f556407
try horsey board
2021-02-07 21:16:30 +01:00
Niklas Fiekas
1374ea5ee4
prettier: format all files
2021-02-06 14:52:33 +01:00
Niklas Fiekas
fa26ea0b42
review client side _target=blank ( closes #7411 )
2020-10-04 17:10:03 +02:00
Niklas Fiekas
89f8901bad
hotfix tab nabbing in ui/msg
...
Proper fix will be to have only one version of client side rich text
code (#7342 ).
Reported by https://hackerone.com/mik317
2020-10-03 14:56:31 +02:00
Thibault Duplessis
442da0c86a
type and improve ui/component/timeago
2020-09-30 07:46:55 +02:00
Thibault Duplessis
b45a6de30b
fix /inbox game embed
2020-09-22 13:50:11 +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
a000837d56
more cash.js migration
2020-09-12 10:13:01 +02:00
Thibault Duplessis
dcd0dff830
fix #7296
2020-09-12 00:11:03 +02:00
tors42
eaddab582e
Add 'timeline' in notGames
...
Resolves #7234
2020-09-05 22:36:41 +02:00
Thibault Duplessis
8b81149644
remove hasTouchEvents
2020-09-05 19:32:02 +02:00
Thibault Duplessis
9176439660
more ui rewrite
2020-09-04 10:45:09 +02:00
Thibault Duplessis
12ffba0470
noEmitOnError
causes rollup --watch
to exit at first error
2020-09-04 09:28:17 +02:00
Thibault Duplessis
ae2f963eef
tweak ui/msg
2020-09-04 09:27:41 +02:00
Thibault Duplessis
899b10c46b
uniform js module naming
2020-09-03 14:45:24 +02:00
Thibault Duplessis
bf9aff4c43
ui/site refactor WIP
2020-09-01 18:39:44 +02:00
Thibault Duplessis
d2227b650c
fix user-link title styles
2020-08-21 22:51:51 +02:00
Thibault Duplessis
e18eb0e634
more .utitle
2020-08-21 12:21:54 +02:00
Thibault Duplessis
29befe8ce4
sass-convert -i -R ui --from scss --to scss
2020-07-24 19:45:18 +02:00