mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-18 10:31:41 +01:00
Bun, Inferno->React migration (#22529)
Re-creation of https://github.com/Aurorastation/Aurora.3/pull/21046 to skip merge conflict hell. Brings us modern TGUI. **ALTERNATE TITLE: TGUI HELLSCAPE PR ABANDON ALL HOPE YE WHO ENTER HERE** - [x] Migrate build tools (javascript -> typescript, bun for package management). - [x] Upgrade all TGUI dependencies and associated root files to TG-congruent versions (axios, babel, dompurify, eslint, highlight, marked, prettier, sass, source-map, stacktrace-parser, typescript). - [x] InfernoJS -> React migrations - [x] React cleanup and polish (migrate all remaining .js files to appropriate .ts or .tsx filetype, all remaining hooks, linting, error corrections, etc.) - [ ] Test all remaining TGUI interfaces
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
size = 8
|
||||
color = LIGHT_COLOR_BLUE
|
||||
tgui_id = "IDCardModification"
|
||||
ui_auto_update = FALSE
|
||||
var/is_centcom = FALSE
|
||||
var/show_assignments = FALSE
|
||||
|
||||
|
||||
+6
-2
@@ -12,7 +12,6 @@
|
||||
network_destination = "station long-range communication array"
|
||||
color = LIGHT_COLOR_BLUE
|
||||
tgui_id = "CommandCommunications"
|
||||
ui_auto_update = FALSE
|
||||
var/datum/comm_message_listener/message_core
|
||||
var/intercept = FALSE
|
||||
var/can_call_shuttle = FALSE //If calling the shuttle should be available from this console
|
||||
@@ -272,7 +271,12 @@ GLOBAL_VAR_INIT(last_message_id, 0)
|
||||
/datum/comm_message_listener/proc/Add(var/list/message)
|
||||
messages[++messages.len] = message
|
||||
|
||||
/datum/comm_message_listener/proc/Remove(var/list/message)
|
||||
/datum/comm_message_listener/proc/Remove(var/message)
|
||||
if(isnum(message))
|
||||
for(var/list/stored_message in messages)
|
||||
if(stored_message["id"] == message)
|
||||
message = stored_message
|
||||
break
|
||||
messages -= list(message)
|
||||
/*
|
||||
Command action procs
|
||||
|
||||
Reference in New Issue
Block a user