Commit Graph

7 Commits

Author SHA1 Message Date
SkyratBot
a079903ecb [MIRROR] refactors statpanel to use tgui API [MDB IGNORE] (#13646)
* refactors statpanel to use tgui API

* fix

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-20 15:02:16 +01:00
SkyratBot
b501ff54ea [MIRROR] Adds the Accounting Console to the game (HOP Job Content) [MDB IGNORE] (#13119)
* Adds the Accounting Console to the game (HOP Job Content)

* Update economy.dm

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-04-26 15:27:04 +01:00
SkyratBot
259c30097e [MIRROR] tgui: API improvements + docs [MDB IGNORE] (#12862)
* tgui: API improvements + docs

* fix

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-04-19 18:58:13 +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
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
SkyratBot
11a506fdbf [MIRROR] tgui: Refactor Asset Delivery (#1688)
* tgui: Refactor Asset Delivery

* a

* Update tgui.bundle.js

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-14 22:19:40 +01:00
SkyratBot
8efc495dee [MIRROR] tgui: Yarn Berry (#410)
* tgui: Yarn Berry (#53026)

This pull request upgrades Yarn to version 2 (also known as Yarn Berry).
* Update build validator

* Provide inferno in the root level package

* Remove type module from package.json

* Powershell build script

* tgui: Yarn Berry

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-19 18:18:24 +02:00