-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New record consoles and removal of old datacore, adds SSrecords #4878
Conversation
Well, this is mostly waiting for #4868 to be merged to continue development. NanoUI isn't great at handling server generated assets, so this is waiting for VueUi as it has dynamic asset handling capabilities. |
# Conflicts: # code/modules/mob/living/silicon/ai/ai.dm
!review |
code/modules/modular_computers/file_system/programs/command/card.dm
Outdated
Show resolved
Hide resolved
delete-after: True | ||
changes: | ||
- experiment: "Refactored record code in to record subsystem." | ||
- rscadd: "Added new record consoles for new record code." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we note that you cannot (temporarily) print records from the console?
Co-Authored-By: Erki <skull132@users.noreply.github.com>
Co-Authored-By: Erki <skull132@users.noreply.github.com>
!review |
/datum/record/proc/Listify(var/deep = 1, var/list/excluded = list(), var/list/to_update) // Mostyl to support old things or to use with serialization | ||
var/list/record | ||
if(!to_update) | ||
. = record = list() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I nerve seen this syntax before. Confusing. I know what it does now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is same as:
record = list()
. = record
// Record listener | ||
//------------------------------- | ||
|
||
/listener/record/New(datum/target) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used as general record changes listener. It's supposed to be overridden to be able to handle differently interactions for different target listeners...
Also I could have just added global methods and just called them, but I am not sure about that
…rastation#4878) This PR is depending on Aurorastation#4868 for it's ui framework. This PR mostly makes new SSrecords subsystem responsible for storing records. This should replace old datacore. Make new SSrecords. Make things use SSrecords and whole code compile Made VueUi button <vui-button> to push parameters as JSON, preserving client side data stricture. Add new records console and admin record management. I am mostly looking for feedback regarding SSrecords and it's data storage mechanism criticism (It's using lists for storage)
This PR is depending on #4868 for it's ui framework. This PR mostly makes new
SSrecords
subsystem responsible for storing records. This should replace old datacore.<vui-button>
to push parameters as JSON, preserving client side data stricture.I am mostly looking for feedback regarding SSrecords and it's data storage mechanism criticism (It's using lists for storage)