Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tgui: DNA Console Overhaul Project (tgstation#50225)
* Initial work on tgui conversion for DNA Consoles * Some initial button logic complete TODO: Scanner Open button should disable while scanner is locked TODO: Scramble DNA should disable while on cooldown * Tabs for the tab God * Dropdown changes, genetic sequencer modifications * Mutation and genetic sequencer functionality Almost complete. Need to implement Advanced Injectors still. * Mostly done, converted most of genetic makeup code * Tactical pocket linting * More changes * Everything except advanced injectors complete * First complete alpha version * Fixed debug/testing change * Removal of more debugging code * Fix pulse bug * Bugbusters * Fix for accidental changes * Fix broken genetics disk changes, fix list of lists * Squash tgui tab-key bugs and clean up attackby * Code documenting, refactoring, bugfixing, spellcheck * Documentation and misc bug squashes and runtime error fixes * Fixes, features and tweaks * Special check for those who have shuffled off this mortal coil * New interface concept for console storage * Mini code refactor * Massive refactoring of DnaConsole interface (WIP) - De-spaghettifying of LawyerCode - Fixed the flex-basis bug, and removed ForcedBox since it's no longer needed. - Added a Divider component. * Implemented requested changes. Removed list() versions of strings. Removed used TGUI-exclusive constants from data object. Currently unused ones still remain, can be removed if they're no longer necessary. Fixed other DM data structures to serialise as JS Arrays instead of Objects. Minor TGUI logic fixes for various edge cases. Added some comments in DnaConsole.js outlining some minor notes and TODOs. * Fixes "Save to X" being disabled. * Included 2px outline CSS * Additional minor logic patches Don't want certain buttons active unless the mutation relation to them is also active * Makes these transforms use a timer * Fixed transformation race condition and stuff. * Mutation source defined in DM. Conditional formatting improvements. * Custom cache directory with BYOND_CACHE env var * Fix gene cycler on index of -1 * Framework and TODO for next interface element. Cleared TODO list a bit. * Fix 1px shift in gene cycle buttons * Pass raw event with GeneCycler * More robust combining logic * Fix some cycler bugs, start working on enzymes * Conditional highlighting for unsolved mutations and X'd genes. * Lint for the Lint God * Enzyme UI and more refactoring incoming * Finish tgui refactoring, enzymes injectors done * Whack-a-Bug * Unlinted. Advanced injectors moved and improved. Implemented disk genetic data readout. * Partial linting * Assorted bug fixes * Remove debugging code * DNA Consoles are now more conversational. Initial state set. * Final tweaks, implemented mutation combining, complete? * Fixes tooltop, re-enables delayed enzyme transfer, cleans up some data params * 10 Fix a bug, 20 make a bug, 30 goto 10 * The definition of irony * Don't drink and derive, kids || How I learned to stop coding while drunk and rely on stylemistake to Flex on my formatting. * uniqBy * Add support for dropdowns with disabilities. * Cleanup * Remove current mutation from combinations * Dividing * Document BYOND_CACHE env var * Outline cleanup * Declare radiation constants since they were removed in DM * Combine mutations only after checking for null * Advanced Injectors actually work now. * Comment cleanup, DMDOC, stard and end processing at appropriate times * Pressing Ctrl-S occasionally helps things * Fix enzyme mutator timeout bug, added injector timeout display. * Rebuild tgui * Rebuild tgui Co-authored-by: Aleksej Komarov <[email protected]> Co-authored-by: spookydonut <[email protected]>
- Loading branch information