Commit Graph

18 Commits

Author SHA1 Message Date
SkyratBot
cae8396538 [MIRROR] tgui maintenance chores (#7597)
* tgui maintenance chores

* AAAAAA

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-17 19:15:40 +01:00
SkyratBot
70e256bd86 [MIRROR] Upgrade tgui dependencies, make yarn task skippable (#4578)
* Upgrade tgui dependencies, make yarn task skippable (#58081)

* Upgrade tgui dependencies, make yarn task skippable

* Use a phony target to avoid double rebuilds

* Upgrade tgui dependencies, make yarn task skippable

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-04-01 15:49:57 +01:00
Gandalf
81f31a1211 aaaaaaaa (#4363) 2021-03-24 15:46:19 +00: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
linnpap
93583abd68 [Modular] Reproductive integration test (#3845)
* added cum

* bullshit

* cumshots added

* voxes and people with snouts now get their own cumshot sprites

* extra shit

added cum emote
ball size now affects the amount of cum you produce
if enough cum touches you (>10u), youll get more cum visible on your face

* i forgot TO PRESS THE FUCKING ENTER KEY

* accidentally left some shit in

* requested changes

added pref
removed commented code
fixed dialogue

* removed brackets

* can now test reproductive reagent on webs

* more requested changes

emote cooldown has been increased from 3 seconds to 30
you can no longer cover people in reproductive reagent through vapor
you now require a penis in order to produce reproductive reagent
your penis must now be exposed and fully erect in order to produce reproductive reagent
prefs for both aphros and reproductive reagent have now been moved to the ooc section

* fixes bug where people could move and still be tested with reproductive reagent

* now impossible to use the emote twice to get two of the items

* sea of men keg

* infinite range splooge fix v2

* nitpicks

Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-03-23 15:49:39 +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
Gandalf
ef9e80482a a (#3819) 2021-03-03 23:42:47 +01:00
SkyratBot
6bafa7a2a9 Fix lint task in tgui powershell script (#3618)
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-02-24 13:13:08 +00:00
SkyratBot
02571bae25 [MIRROR] Revert "Use a dummy include to indicate TGUI isn't built" (#3181)
* Revert "Use a dummy include to indicate TGUI isn't built (#56470)" (#56711)

* Revert "Use a dummy include to indicate TGUI isn't built"

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-02-08 23:37:44 +00:00
SkyratBot
c0cb9c1576 [MIRROR] Use a dummy include to indicate TGUI isn't built (#3025)
* Use a dummy include to indicate TGUI isn't built (#56470)

* Use a dummy include to indicate TGUI isn't built

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-02-02 19:04:26 +00:00
Useroth
ef6481e253 Missed PR mirrors from tgstation (https://github.com/tgstation/tgstation/pull/55373 and https://github.com/tgstation/tgstation/pull/56080) (#2759)
* Mirror of tgstation's Common Build Tooling (#55373)

* tgui 4.3 (#56080)

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-01-18 07:42:54 +01:00
SkyratBot
a2db1d0ad4 [MIRROR] tgui: Fix issues detected by SonarQube (#1830)
* tgui: Fix issues detected by SonarQube

* aa

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2020-11-26 00:14:31 +00:00
SkyratBot
a41c721edd [MIRROR] Periodic tgui maintenance (#1448)
* Periodic tgui maintenance (#54567)

    Upgraded Yarn to 2.3.3
        Fixes building for people who use non-latin characters and spaces in their paths to tgstation repo.
    Removed webpack notifier
        RIP
        WSL users can now build tgui and not get errors about .pipe.

* Periodic tgui maintenance

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-10-25 11:14:22 +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
SkyratBot
d9b246cca9 [MIRROR] tgchat (#342)
* tgchat (#52426)

Replaces goonchat with a tgui based chat panel

    Fixes #52898
    Fixes #52663

It is as fast as goonchat was (if not faster in certain circumstances), and is very extensible. It has all the necessary code for sorting messages into categories, which means that one of the next features will be multiple tab support.

Additional features that you will get with tgchat right now:
    Massively faster server-side performance compared to goonchat, especially if batching multiple messages to one client.
    Message persistence across rounds and reconnects. (All messages are stored client-side in IndexedDB)
    More robust scroll tracking. If you scroll up, it will not change the scroll position on new messages like goonchat did.
    Multiple message combining. (Currently set to combine up to 5 messages over last 5 seconds).
    If using the highlighting feature, it highlights the whole message as well as the matching word.
    "Now playing" widget, with preview of the song title, a knob for adjusting the volume and a stop button.

Architecture is as following:
```
to_chat() -+
           |
        SSchat
   (queue, batching)
           |
  window.send_message()
           |
           v
+-------------+
| tgui-panel  |
|+-----------+|
|| tgchat    ||
|+-----------+|
+-------------+
```

Subsystem is basically goonchat, but without all the garbage that slows the servers down (string concatenation, double urlencoding, sanitizing, etc). Now, instead of all that, it's being slowed down by json_encode in /datum/tgui_window/proc/send_message, which IMO is completely worth it, and allows sending various templates and widgets to tgchat.

/datum/tgui_window abstracts the whole window away from you, establishes a nice message-passing interface between DM and JS, with two message queues on each side, automatically loads js/css assets for you, basically does everything. You as a developer only have to worry about sending/receiving messages and write javascript.

tgui-panel is a slimmed down version of tgui, and functions as a container for various widgets, and tgchat is one of them. It of course can be expanded with more stuff.

It's also a separate entry point and a JS bundle, so it's not bloating the main tgui bundle, and is currently sitting at about 230kB.

* tgchat

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-14 23:30:16 +02:00
Aleksej Komarov
0cf00a2645 tgui 4.0 (#52085)
* tgui 4.0 hyper squash

* Upgrade dependencies
2020-07-16 20:13:04 +02:00
jdawg1290
1f4b2c9d2d tgui autobuild is now build validation. adds initial gitlab ci support (#50547)
* tgui autobuild is now build validation. adds initial gitlab ci support

* Remove autobuild github action

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-04-20 18:14:54 +03:00
Aleksej Komarov
baf9bd2f95 REMOVES TGUI (#49330)
* Removes tgui

* Make tgui script executable again

* Set version of packages to 2.0.0

* Update copypasta docs to match the current best practice

* Rebuild tgui

* Update .github/CONTRIBUTING.md

Co-Authored-By: BadSS13Player <58376109+BadSS13Player@users.noreply.github.com>

* Remove holy bible by Arcane

* rebuild

Co-authored-by: BadSS13Player <58376109+BadSS13Player@users.noreply.github.com>
Co-authored-by: Rob Bailey <actioninja@gmail.com>
2020-02-17 04:51:56 -08:00