38 Commits

Author SHA1 Message Date
Kashargul
d18cd11713 [TGUI v6] Migration to CSS Variables, styles refactor & React 19 (#17487)
* Initial Port of tg's tgui 2.0

* initial

* first UI fixes

* fix retro theme

* rd console

* wiki theme

* better tgui say handling

* Ui scaling port

* smaller gap

* guh

* reset subcats on main cat change

* blink a bit later

* tofixed

* fixed

* currently not fully supported

* increase that

* fix powermonitor chart

* typescript up

* tgui core up
2025-04-08 22:49:38 +02:00
Kashargul
e2ea28a416 fix tgui asset loading (#17383)
* fix tgui asset loading

* make this a define
2025-03-19 20:10:16 +01:00
Kashargul
5d1a3923aa tgui say update (#17273)
* tgui say update

* .

* also fix the tgui say limit

* handle batching

* max chunks

* enable~
2025-03-06 22:47:56 +01:00
Selis
494205604c rework tgui say long message handling (#17184)
* rework tgui say long message handling

* .

* Fix

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-02-18 18:46:22 +01:00
Kashargul
608c557d94 cleans up some left over things (#17134)
* cleans up some left over things

* .

* .

* fi that too

* guhh

* changes the behaviour too much

* remove localState

* fix regex

* fix input

* fix storage backend
2025-02-13 16:55:38 -05:00
Kashargul
542b35e56f tgui 516 (#16990)
* tgui 516

* nuking

* .

* .

* redux test

* this

* no longer in use

* removes debugs for now until someone ports the macro handling

* import types

* .

* maxWidth

* temp fix

* fix type import

* fix that

* also that

* version up

* also push this while on it

* rid of that

* dependency up

* allow mark up inputs

* update

* mb to search

* add scroll to nanoMap

* type fixing

* Update ExportTab.tsx

* Update index.tsx

* Update XenoarchReplicator.tsx

* Update XenoarchReplicator_clothing_vr.tsx

* Update XenoarchReplicator_clothing_vr.tsx

* Update XenoarchReplicator.tsx

* crew monitor improvements

* types
2025-02-13 18:30:38 +01:00
Kashargul
a9a045a741 Moves UIs to TGUI core (#16940)
* up to modify robot

* also version up here

* Switch tgui-dev-server to edge mode

* Folders through Sleeper

* finish the folders

* move all uis, some will likely have errors

* Remove size={} on table cells

* Change a bunch of <Flex>

* chat to tgui core and typescript

* chat Flex to Stack

* Update APC.tsx

* Update APC.tsx

* Make ICAssembly wires all work

* More Flex to Stack

* some html

* this half was easy...

* some more

* some more

* fix those up

* few more

* few more

* this should be fine

* convert those, mark the anys to be reaplced

* Down to 118 Flex results

* Down to 104

* Down to 75

* bunch of fixes

* few more

* all except power monitor

* push for now, tgui core issue

* component props

* 32 only

* grow

* those need a param now

* function imports

* dependencies up

* finish those

* finish up

* this

* also those for now

* typescript up

* proper typing

* convert all chat files

* keys

* oups

* Update package.json

* massively improve color picker perf

* this needs to update

* Tgui core

* add those to the panel jsut in case

* dependencies up

* Rename colorpicker.tsx to colorpicker.ts

---------

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
2025-01-28 15:23:29 +01:00
Kashargul
c0e339b1ea ports tgui color input from bubbers (#16934)
* ports tgui color input from monkeystation

* .

* push that real quick

* .

* .

* cleanup

* fix for 516

* port bubbers pre set selection

* also this

* allow 20 saved states

* oups

* regex replace

* urg

* use the update by type

* .

* .

* highlight?

* larger?

* fix those

* keep anyone below 516 on old style
2025-01-21 18:27:45 -05:00
Kashargul
6fd4953c56 fix matrix colour affecting speech bubbles (#16842) 2025-01-05 18:00:13 +01:00
ShadowLarkens
b57023cd11 Convert preferences to /tg/ preferences (#16449)
* Convert all preferences to /tg/ preferences

* Move obfuscate key/job to game options

* Add abstract_type to each of the new subtypes

* Convert ignored players to tg prefs

* Yet another global category list removed

* Fix error, convert client FPS

* Convert UI_style, UI_alpha, and UI_color to tg prefs

* Clean up a little, convert tooltipstyle

* Convert ambience to tg prefs

* Remove chat_timestamp, tgchat can do this internally and gives localized results

* Convert admin ooc color to pref, merk 01_ui.dm

* Convert uplinklocation to a tg pref

* Fixup byond:// links

* Convert name_is_always_random

* Convert spawnpoint

* v16 savefile migration in prep for converting 03_body.dm

* Convert all colors to tg prefs

* Finish converting ooc notes
2025-01-05 13:39:18 +01:00
Kashargul
c1ae1bc4f9 fix speechbubble and runechat position (#16788) 2024-12-31 15:23:17 +01:00
Kashargul
32c9f971bc tgui usr to ui.user 2024-11-13 00:49:17 +01:00
ShadowLarkens
e95ec9b73d Improve tgui say experience with extra control prefs (#16470) 2024-10-14 12:41:21 +02:00
ShadowLarkens
e9ee57df18 Revert "Revert "/tg/ preference datums part 1: take two"" 2024-09-07 23:58:49 -07:00
ShadowLarkens
02410abcf3 Revert "/tg/ preference datums part 1: take two" 2024-09-07 23:17:16 -07:00
ShadowLarkens
f9052dbb60 Revert "Merge pull request #16240 from ShadowLarkens/revert"
This reverts commit 885171f985, reversing
changes made to 3e314f8064.
2024-09-07 14:11:15 -07:00
ShadowLarkens
3c09f52c6a Revert "/tg/ pref datums (part 1) (#16219)"
This reverts commit faac97e352.
2024-08-31 12:04:15 -07:00
ShadowLarkens
faac97e352 /tg/ pref datums (part 1) (#16219)
* TG Prefs (Step 1: JSON savefiles)

* TG Prefs (Step 2: Preference Datum Code)

* TG Prefs (Step 3: Convert /datum/client_preferences)

* TG Prefs (Step 4: Clean up and finishing touches)

* Fix some weird compile errors from the rebase
2024-08-31 07:09:05 +10:00
ShadowLarkens
7a7920f29e TGUI Say (#16160)
* TGUI Say

* Add icon_ref_map.json to make tgui-dev-server stop screaming

* Update tgui.bundle.js

* bundle recompile

---------

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Heroman <alesha3000@list.ru>
2024-08-12 05:48:06 +10:00
Runa Dacino
ef646ecf98 fix(text_input): ports TG fix to length trim (#15833)
original commit: df4397565f

local changes: adds new _defines file text.dm to start collecting text specific defines for better code readability
2024-03-15 11:42:27 +01:00
Drathek
7c8bb85de3 Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings

* Whitespace changes

* Comment out merger hooks in gitattributes

Corrupt maps would have to be resolved in repo before hooks could be updated

* Revert "Whitespace changes"

This reverts commit afbdd1d844.

* Whitespace again minus example

* Gitignore example changelog

* Restore changelog merge setting

* Keep older dmi hook attribute until hooks can be updated

* update vscode settings too

* Renormalize remaining

* Revert "Gitignore example changelog"

This reverts commit de22ad375d.

* Attempt to normalize example.yml (and another file I guess)

* Try again
2024-02-20 11:28:51 +01:00
Kashargul
59d751a9f9 Round value adjustments for react (#15764)
* input adjustments

* .

* .
2024-02-16 14:18:54 +01:00
Selis
157ff3df1f Number modal 2024-02-12 23:33:37 +01:00
Selis
2fdb69ab5c Some input updates 2024-02-12 23:33:37 +01:00
ItsSelis
df105210f7 Checkboxes 2023-06-01 17:46:49 +02:00
Killian
b2c5fc43f6 tgui input lock 2023-05-12 14:09:12 +01:00
Heroman
9a2ccedd14 Fixes tgui issues and also roundstart job slots getting occupied by nothing 2022-07-06 07:19:10 +10:00
Selis
cf0f0e64c7 Tiny fixes 2022-06-25 14:45:47 +00:00
Heroman
43320ced84 user fixes 2022-06-23 19:01:07 +10:00
Heroman
e70731d417 ALL runtimes
ALL runtimes
2022-06-23 18:48:28 +10:00
ItsSelis
6ceaa3938d Update alert.dm 2022-06-22 22:15:17 +02:00
ItsSelis
e53dbb29ca Text limit Infinity by default 2022-06-20 22:12:42 +02:00
ItsSelis
fe3ad3b6ab Chaplain, multiline stuff and decimals 2022-06-20 18:39:09 +02:00
ItsSelis
d60e0655a2 Multiple Bugfixes 2022-06-20 17:35:04 +02:00
ItsSelis
080ce72154 Encoding Fixes 2022-06-19 20:56:09 +02:00
ItsSelis
4a4483aa7b readd_quotes 2022-06-19 10:59:18 +02:00
ItsSelis
3369aded46 Preferences 2022-06-19 00:01:27 +02:00
ItsSelis
a3b02b1bce TGUI Input Framework 2022-06-18 22:17:36 +02:00