Commit Graph

89611 Commits

Author SHA1 Message Date
Ling
c7226a179b Modernizes components (#17260)
* Part 1

* Refactor signals into different files

* Remove redundant file

* Add missing movable signals

* Add signals log

* Split signal registering with list into new proc

* Add comments to component.dm and remove signal_enabled

* Fix yogs code

* Not this one

* Hopefully make linter happy

* Remove duplicate file

* More duplicates signals
2023-01-04 22:29:34 +00:00
Changelogs
bc61c15b41 Automatic changelog compile [ci skip] 2023-01-04 22:16:43 +00:00
Jamie D
6d84d1806c [TG UPDATE] 6 - Misc Quick Fixes (#17316)
* 2023

* Fixes Chem and Bar Dispenser

* tgui: List Input (#56065)

Ported over from https://gitlab.com/cmdevs/colonial-warfare/-/merge_requests/613 which provides an input box to select an option from a list.
Has a search bar to allow filtering for results and an onKeyDown event to replicate default behaviour from the default list input boxes that BYOND provides (where you are able to type the first letter of an element in the list and it'll jump to the first element that matches and then the next and so on)
Right now, it is only applied to the holopad and "Drop Bomb" verb for administrators.

Credits to bobbahbrown for the Loader element from AlertModal.js which allows for a timed input (was needed on the CM codebase for timed inputs) and for the majority of the DM code.

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>

* Update yogstation.dme

* Update yogstation.dme

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2023-01-04 22:09:40 +00:00
Jamie D
ee2a144ed2 [TG UPDATE] 5 - POOPER (#17312)
* Popper Tooltips 2 (they don't crash this time) (#58980)

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>

* Make tooltips use one popper, fixing mount lag (#61783)

In the last episode, I fixed update lag. This is what made the R&D console laggy to scroll through.

In this episode, we fix mount lag, which is what makes the R&D console laggy to open and search through, since it has to constantly make the new tooltips.

This is done by using a trick tippy.js uses, where they create one popper instance for multiple tooltips, then just move it around. I decided to emulate this by moving the popper stuff to Tooltip itself. The Popper component still exists as some non-tooltip consumers for it exist, such as preferences menu clothing selection. This is done through the ugliest code of my fucking life, but in a way that's totally transparent to consumers.

* Revert "Make tooltips use one popper, fixing mount lag (#61783)"

This reverts commit 180770b519.

* Another fix for laggy tgui tooltips -- Turn off popper event listeners (+ give R&D console its tooltips again) (#61343)

Every single popper registered TWO event listeners for scrolling and resizing. This does not appear to be necessary for our cases.
The R&D console has been given back its tooltips

* Make tooltips use one popper, fixing mount lag (#61783)

In the last episode, I fixed update lag. This is what made the R&D console laggy to scroll through.

In this episode, we fix mount lag, which is what makes the R&D console laggy to open and search through, since it has to constantly make the new tooltips.

This is done by using a trick tippy.js uses, where they create one popper instance for multiple tooltips, then just move it around. I decided to emulate this by moving the popper stuff to Tooltip itself. The Popper component still exists as some non-tooltip consumers for it exist, such as preferences menu clothing selection. This is done through the ugliest code of my fucking life, but in a way that's totally transparent to consumers.

* Make tooltips use one popper, fixing mount lag (#61783)

In the last episode, I fixed update lag. This is what made the R&D console laggy to scroll through.

In this episode, we fix mount lag, which is what makes the R&D console laggy to open and search through, since it has to constantly make the new tooltips.

This is done by using a trick tippy.js uses, where they create one popper instance for multiple tooltips, then just move it around. I decided to emulate this by moving the popper stuff to Tooltip itself. The Popper component still exists as some non-tooltip consumers for it exist, such as preferences menu clothing selection. This is done through the ugliest code of my fucking life, but in a way that's totally transparent to consumers.

* Revert "Make tooltips use one popper, fixing mount lag (#61783)"

This reverts commit 7eb9067222.

* Revert "Make tooltips use one popper, fixing mount lag (#61783)"

This reverts commit 346128869e.

* Revert "Another fix for laggy tgui tooltips -- Turn off popper event listeners (+ give R&D console its tooltips again) (#61343)"

This reverts commit bd3f395d76.

* tgui: Round Gauge (#55230)

This PR introduces the wacky round gauge for showing all of your favourite metrics in half-circle format. Show off those wacky numbers, use some scary blinking lights, feel alive!

I've also gone ahead and included this in the canister and tank (think internals) UIs. I've also done some refactoring of data sending from canisters because GOSH DANG it required some.

* GAWD DAMN IT

* EE

* Fixes Production issue

* Components

* e

* e

* Revert "e"

This reverts commit e9e804ba77.

* TOO SOON

* oops

* e

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2023-01-04 18:58:19 +00:00
Ling
1de91eb6c4 A few bug fixes (#17281)
* Fix wardrobe init

* Fix plasmameme helmet

* Fix usages of sortedAreas
2023-01-04 18:17:04 +00:00
Yogbot-13
774b9c75ec Automatic changelog generation #17216 [ci skip] 2023-01-04 10:55:11 -05:00
Ling
50e3477a6e Rips out the old keybind system and ports a better version from /tg/ (#17216)
* Initial version

Ripped out old version and added new version

* Update some of the keybinds

* More changes

* Added hotkey sanity checks

* Misc. fixes and features

* Small fix

* Refactor keys_held

* Adds emote keybinds

* Small spelling fixes

* I always forget this one

* Add 1 second cooldown on emotes

* Fix DME

* Don't spam

* Make linter happy

* New MC init
2023-01-04 15:55:09 +00:00
Yogbot-13
b8e070f311 Automatic changelog generation #17311 [ci skip] 2023-01-04 10:52:08 -05:00
Jamie D
37a75475ad [TG UPDATE] 4 - TGUI - WOULD YOU LIKE TO UPGRADE TO THIS EDITION? (#17311)
* e

* https://github.com/tgstation/tgstation/pull/55157

* manual

* Replace alert usage with tgui_alert (#58419)

Pretty much every alert() call is replaced with tgui_alert, except one I replaced with tgalert as a fallback. If tgui_alert exists, why not use it?

* e

* e

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
2023-01-04 15:52:06 +00:00
Jamie D
e67445042c [TG Update] 3 - TGUI Update Aug 12, 2021 (#17301)
* WHAT A PALAVER

* AHHHHHHHHHHH

* Update RequestKiosk.js

* :[?

* e2

* GRRRR

* Why are TG special

* e

* e4

* e6

* :[
2023-01-04 11:48:44 +00:00
Changelogs
49232b61dd Automatic changelog compile [ci skip] 2023-01-04 06:10:58 +00:00
Yogbot-13
4a9605f5ff Automatic changelog generation #17242 [ci skip] 2023-01-03 20:59:15 -05:00
ynot01
e0fcd5667d adrift (#17242)
We're leaving together
But still it's farewell
And maybe we'll come back
To Earth, who can tell?
2023-01-03 19:59:13 -06:00
Yogbot-13
e4bd310625 Automatic changelog generation #17203 [ci skip] 2023-01-03 20:43:32 -05:00
ynot01
82e22740b9 lings you (#17203) 2023-01-03 19:43:30 -06:00
Yogbot-13
a66fd1ad30 Automatic changelog generation #17204 [ci skip] 2023-01-03 20:42:12 -05:00
ynot01
4b0b2f69ca Update medicine_reagents.dm (#17204) 2023-01-03 19:42:10 -06:00
Yogbot-13
060eb29053 Automatic changelog generation #17219 [ci skip] 2023-01-03 20:35:25 -05:00
SapphicOverload
22ef447867 Update brain_surgery.dm (#17219) 2023-01-03 19:35:23 -06:00
Yogbot-13
6d98e00546 Automatic changelog generation #17246 [ci skip] 2023-01-03 20:30:42 -05:00
Jamie D
2acf53d199 Update quartermaster.dm (#17246) 2023-01-03 19:30:41 -06:00
Yogbot-13
f342bdd30f Automatic changelog generation #17252 [ci skip] 2023-01-03 20:29:30 -05:00
Jamie D
f93456162c Update apc.dm (#17252) 2023-01-03 19:29:28 -06:00
Yogbot-13
41d8137d52 Automatic changelog generation #17253 [ci skip] 2023-01-03 20:28:44 -05:00
ynot01
3dde87030f Diseases can have double cures (#17253)
* Update advance.dm

* Update advance.dm

* Update advance.dm
2023-01-03 19:28:42 -06:00
Yogbot-13
a29dc47676 Automatic changelog generation #17258 [ci skip] 2023-01-03 20:19:16 -05:00
LazennG
555a034ca3 die (#17258) 2023-01-03 19:19:14 -06:00
Yogbot-13
3015921763 Automatic changelog generation #17269 [ci skip] 2023-01-03 20:13:55 -05:00
Marmio64
10f5d725a1 slight old gods sect clarification (#17269) 2023-01-03 19:13:53 -06:00
Yogbot-13
b238877a29 Automatic changelog generation #17275 [ci skip] 2023-01-03 20:05:20 -05:00
SapphicOverload
cb76023d70 Update supermatter.dm (#17275) 2023-01-03 19:05:18 -06:00
Yogbot-13
4ae9973ed3 Automatic changelog generation #17277 [ci skip] 2023-01-03 20:02:59 -05:00
SapphicOverload
41875e5eb0 Nuclear particles can power radiation collectors (#17277)
* Update collector.dm

* Update collector.dm
2023-01-03 19:02:57 -06:00
Jamie D
9476880488 [TG Update] 2 - Slows down the Statpanel MC (#17298)
* E

* e
2023-01-03 23:25:19 +00:00
Changelogs
0e30c9671e Automatic changelog compile [ci skip] 2023-01-03 22:16:29 +00:00
Jamie D
d2065a26ec [Admin] Statpanel Split Tabs (#17296)
* e

* E
2023-01-03 22:10:03 +00:00
adamsong
1e1bd3b3b9 Add comment to bound credentials (#17286)
* Add comment to bound credentials

* Bump version
2023-01-03 16:38:41 -05:00
Yogbot-13
aee8a8cdf4 Automatic changelog generation #17288 [ci skip] 2023-01-03 16:38:32 -05:00
adamsong
1238db3c01 Fix mfa (#17288) 2023-01-03 21:38:30 +00:00
Jamie D
de861a3915 TG UPDATE 1: Juke Build (#17284)
* Juke Build

* Done

* Done 2

* Test

* Update

* build chmod+x I hate linux so much its stupid

* build chmod+x I hate linux so much its stupid 2

* e

* update

* Lets see what happens

* NICE

* Update build

* GOD SAKE

* :[

* YEET

* Update .gitignore

* Delete tgui-common.bundle.js

* Delete tgui-polyfill.min.js

* Revert "Delete tgui-polyfill.min.js"

This reverts commit 5446645db0.

* Revert "Delete tgui-common.bundle.js"

This reverts commit 206377aaea.

* Delete tgui-common.bundle.js
2023-01-03 21:16:14 +00:00
Changelogs
e720acdef4 Automatic changelog compile [ci skip] 2023-01-03 14:07:58 +00:00
Yogbot-13
703289ffe9 Automatic changelog generation #17261 [ci skip] 2023-01-03 02:42:34 -05:00
TheRyeGuyWhoWillNowDie
b414c4d1ad e (#17261) 2023-01-03 01:42:32 -06:00
Changelogs
b9a00d03c0 Automatic changelog compile [ci skip] 2023-01-03 06:09:27 +00:00
Yogbot-13
794511542a Automatic changelog generation #17263 [ci skip] 2023-01-02 21:25:20 -05:00
TheRyeGuyWhoWillNowDie
2572615228 Update effects_foam.dm (#17263) 2023-01-03 02:25:18 +00:00
Changelogs
cf3b413934 Automatic changelog compile [ci skip] 2023-01-02 14:07:39 +00:00
Jamie D
875e67ad51 Update tgui.dm 2023-01-02 14:03:40 +00:00
Yogbot-13
8b36b4a075 Automatic changelog generation #16349 [ci skip] 2023-01-02 09:03:17 -05:00
TheGamerdk
ca57f72a78 jamie stinks (#16349)
* Modernizes TGUI (#4219)

* Ports the first two PRs. CBT works local

* tchussi oops

* linttobuild

* Update Dockerfile for CBT (#56175)

Follow-up to fix the failing Docker CI on master.

- Reorganize the entire Dockerfile to be more readable
- Inline the tgstation/byond Dockerfile into our own, so we can change the base distro at will
- Also allows us to trash the dependencies.sh<->Dockerfile hack
- Use 32-bit libs on a 64-bit distro so that we can download and run recent 64-bit Node binaries
- Call tools/build/build rather than DreamMaker directly

* TGUI 43 plus hotfix 1

* https://github.com/tgstation/tgstation/pull/58701

* https://github.com/tgstation/tgstation/pull/56223

* https://github.com/tgstation/tgstation/pull/56229

* https://github.com/tgstation/tgstation/pull/56713

* https://github.com/tgstation/tgstation/pull/56797

* https://github.com/tgstation/tgstation/pull/57081/

* https://github.com/tgstation/tgstation/pull/57154

* https://github.com/tgstation/tgstation/pull/57251

* https://github.com/tgstation/tgstation/pull/56269

* https://github.com/tgstation/tgstation/pull/57277

* https://github.com/tgstation/tgstation/pull/57287

* https://github.com/tgstation/tgstation/pull/57326

* QF

* GimmeHopeUpdateExtra_Pr_Labels

* Flush queue in preloading part of tgui_panel (#57432)

* Flush queue in preloading part of tgui_panel

* Update tgui_panel.dm

* Compiles

* https://github.com/tgstation/tgstation/pull/57461

* tgui: Upgrade to Yarn 2.4.1 and TypeScript 4.2 (#57465)

* Fix tgui reloading (#57499)

* Add note about rust-g for building on Linux (#57622)

This PR adds a minor note about needing to compile rust-g to Linux building instructions. I'm not sure if this is the appropriate place for it, but I don't see a better place to put it.

* Fixes build script failing properly on windows. (#57623)

* Adds easy to extend custom svg font. (#57717)

Just throw in svgs into tgui/packages/tgfont/icons directory and you can use them in tgui with tg- prefix.

Co-authored-by: Style Mistake <stylemistake@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>

* Typescript fixups. (#57746)

* Improve tgui routing to allow interface subdirectories (#57825)

* Improve tgui routing to allow interface subdirectories

* Reverse order of interface file resolution, to be consistent with common expectation (top-level .tsx, top-level .js, directory .tsx, directory.js) and the way Webpack checks

* Fixes TGS compiles on windows. (#57834)

Batch quotes strike again.

* tgui: ESLint and VSCode settings improvements (#57905)

    Added column 80 rulers to all javascript and scss files.
    Added a "prettier" config to have sensible defaults for those who prefer to use it.
    Added RadarJS (fork of SonarQube's SonarJS). Launchable only via bin/tgui --lint-harder for now.
    Disabled ESLint rule for parens around arrow function arguments, because in TypeScript they're pretty much always required, and I don't want to replace it throughout the codebase.
    Removed unused javascript extensions from tooling (jsx, mjs).

* https://github.com/tgstation/tgstation/pull/57931

* https://github.com/tgstation/tgstation/pull/58061

* https://github.com/tgstation/tgstation/pull/58081

* https://github.com/tgstation/tgstation/pull/58212

* https://github.com/tgstation/tgstation/pull/58215

* https://github.com/tgstation/tgstation/pull/58219

* Add "Except DM" build mode to build.js (#58245)

* https://github.com/tgstation/tgstation/pull/58484

* FixBaconFabandPodLauncher

* haharunlintmanuallyfirstkids

* One last fab change then its perf

* f5willwork

* This May Do it

* prune

* Fix Docker build failing on a clean checkout (#56190)

Follow-up to #56175 which turned out to be accidentally relying on Node already being downloaded.

* Huh? Rebuild you better be a fluke

* getinthere

* Syncretize

* Revert "Syncretize"

This reverts commit 41749b68868d2af1b82de9ba6de39cf8052dd1ee.

* zzzz

* quick path change

* another quick

* Correct Dockerfile, bloats it with GCC lol.

* small

* back2oldfile I HATE DOCKER I HATE EXTOOLS

* firstthingnotdonelol

* yuabzn

* v

* reverttoclassic

* Difffffffffff

* prec1s

* ccc

* ok

* bitte

* jesus im dum

* z

* Nuke Window resizable and improve drag code (#56727)

* comp

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Cyprex <35031555+Cyprex@users.noreply.github.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Mordent <62817778+mordent-goonstation@users.noreply.github.com>
Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>

* thanks yarn!

* Update Panel.js

* compiles

* restores exosuit

* chmod

* Update travis_config.txt

* honk

* honk2

* Update turdis.yml

* Update ExosuitFabricator.js

* Revert "Update turdis.yml"

This reverts commit 7517df56e5.

* Revert "Update ExosuitFabricator.js"

This reverts commit ac31fa4543.

* wtf is this

* lol

* Update tgui.dm

Co-authored-by: Sinestia <40812746+Sinestia@users.noreply.github.com>
Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Cyprex <35031555+Cyprex@users.noreply.github.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Mordent <62817778+mordent-goonstation@users.noreply.github.com>
Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2023-01-02 14:03:15 +00:00