Commit Graph

25 Commits

Author SHA1 Message Date
Germain
2da98a6024
Make TS strict the effects folder (#10111) 2023-02-08 13:12:14 +01:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type in /src (#9788)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier

* Enable `@typescript-eslint/explicit-function-return-type` in /src

* Fix types

* tsc strict fixes

* Delint

* Fix test

* Fix bad merge
2023-01-12 13:25:14 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Šimon Brandner
19e514d83c
Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
CicadaCinema
cdb0c2c6a1
Add heart effect (#6188)
* add heart effect

* clean up syntax

* convert indentation to spaces

* appease the linter

* hopefully resolve merge conflict

* add missing semicolons

* add label to toggle switch

* Revert "add label to toggle switch"

This reverts commit 5e83d9b9109f5f1922555484f7492596cc5966ff.

* remove extra space

* replace gift heart with emoji heart in timeline message

* reduce number of emoji triggers

* copyright should be myself

* Update src/effects/index.ts

Co-authored-by: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com>
Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-04-08 15:31:04 -06:00
Germain
256c468c15
Chat Effects & Commands in thread context (#7138) 2021-11-18 12:47:11 +00:00
Josias
2f4f3f2a8c
Add rainfall effect (#7086)
Just got approval from product.  Thanks for the little bit of extra joy :-)
2021-11-16 12:54:40 +00:00
David Baker
80f5232217 Comply with new member-delimiter-style rule
Just `eslint --fix` with rule from
https://github.com/matrix-org/eslint-plugin-matrix-org/pull/9 in place
2021-07-01 23:23:03 +01:00
J. Ryan Stinnett
ae0a8b8da4 Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Michael Telatynski
177adb9684 fix copy-pasta 2021-05-18 11:58:15 +01:00
Michael Telatynski
b5a612cd0f Add space invaders chat effect 2021-05-18 10:29:10 +01:00
Michael Telatynski
1166e76928 Extract and deduplicate chat effect interfaces 2021-05-18 10:28:15 +01:00
Travis Ralston
d53ee58b18 Appease the linter 2020-12-21 00:18:58 -07:00
Travis Ralston
9263bf7cda Add a snowfall chat effect (with /snowfall command) 2020-12-21 00:13:55 -07:00
Travis Ralston
1f95acc739 Run the effect to completion rather than chopping it off 2020-12-18 18:41:01 -07:00
Travis Ralston
b2825e8718 Use the same requestAnimationFrame as confetti 2020-12-18 18:40:30 -07:00
Travis Ralston
4ba89cc437 Lower effect time by 1 second
It feels like it runs a bit too long
2020-12-18 18:40:11 -07:00
Travis Ralston
77ce8a9e39 Fix minor lint problems 2020-12-18 18:39:16 -07:00
nurjinn jafar
3d1327ecec removed unnecessary opacity 2020-12-18 15:32:44 +01:00
nurjinn jafar
2305811271 changed canvas globalCompositeOperation value and removed probability 2020-12-18 15:30:50 +01:00
nurjinn jafar
88d3de710a comments added 2020-12-18 14:51:58 +01:00
nurjinn jafar
380b729692 fireworks effect added 2020-12-17 16:57:59 +01:00
Travis Ralston
550a5220d9 Undocumented linter cleanup 2020-12-07 15:12:26 -07:00
nurjinn jafar
6ce5d3b044 refactored effects dir and changed effects exported name 2020-11-27 16:32:04 +01:00