Commit Graph

4 Commits

Author SHA1 Message Date
SkyratBot
332a74ea76 [MIRROR] Adds Prettierx - or how I broke TGUI for the nth time [MDB IGNORE] (#14475)
* Adds Prettierx - or how I broke TGUI for the nth time

* fuck

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-25 01:17:32 +01:00
SkyratBot
bc7a7efc28 [MIRROR] tgui-bench (#8078)
* tgui-bench (#61081)

Added a package that allows precisely benchmarking tgui components on IE11 without having the game launched.

It has a convenient syntax for writing tests, just create a file packages/tgui-bench/tests/*.test.tsx, and export a function which you want to benchmark

Performance improvements
As part of this PR, I have also improved the raw performance of some tgui components:

Button component - 1.8x faster
Flex component - 1.1x faster
Stack component - 1.3x faster
This improves performance of heavy UIs by a tiny bit.

* tgui-bench

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-09-09 18:53:29 +01:00
SkyratBot
1f70a0142e tgui: ESLint and VSCode settings improvements (#4354)
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-03-24 12:58:58 +00:00
SkyratBot
b24e1530f7 [MIRROR] tgui: Upgrade to Yarn 2.4.1 and TypeScript 4.2 (#3947)
* tgui: Upgrade to Yarn 2.4.1 and TypeScript 4.2

* a

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-03-07 00:35:47 +00:00