Skip to content
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

Merged
merged 83 commits into from
Jul 27, 2019
Merged

New record consoles and removal of old datacore, adds SSrecords #4878

merged 83 commits into from
Jul 27, 2019

Conversation

Karolis2011
Copy link
Contributor

@Karolis2011 Karolis2011 commented Jun 11, 2018

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.

  • 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)

@Karolis2011 Karolis2011 requested a review from Arrow768 as a code owner June 11, 2018 15:02
@skull132 skull132 added the WIP The PR is a work in progress and should not be reviewed yet. label Jun 16, 2018
@Karolis2011
Copy link
Contributor Author

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
@skull132 skull132 added this to the Update September 2018 milestone Aug 8, 2018
@BotBOREALIS BotBOREALIS added 🗺️ Mapping - Aurora The PR touches the Aurora map files. Mapping: Exodus labels Aug 25, 2018
@BotBOREALIS BotBOREALIS added the VueUI For PRs or issues related to VueUI. label Aug 29, 2018
@Karolis2011
Copy link
Contributor Author

!review

@BotBOREALIS BotBOREALIS removed WIP The PR is a work in progress and should not be reviewed yet. Review Required labels Jul 17, 2019
delete-after: True
changes:
- experiment: "Refactored record code in to record subsystem."
- rscadd: "Added new record consoles for new record code."
Copy link
Contributor

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?

Karolis2011 and others added 2 commits July 18, 2019 20:38
Co-Authored-By: Erki <skull132@users.noreply.github.com>
Co-Authored-By: Erki <skull132@users.noreply.github.com>
@skull132
Copy link
Contributor

!review

@BotBOREALIS BotBOREALIS added Review Required and removed WIP The PR is a work in progress and should not be reviewed yet. labels Jul 20, 2019
/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()
Copy link
Contributor

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

Copy link
Contributor Author

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)
Copy link
Contributor

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?

Copy link
Contributor Author

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

@skull132 skull132 merged commit 8b785b3 into Aurorastation:master Jul 27, 2019
Menown pushed a commit to Menown/Aurora.3 that referenced this pull request Jul 30, 2019
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Merge ⚠ High Risk Reasonable chance of causing many or high-severity bugs. 🗺️ Mapping - Aurora The PR touches the Aurora map files. Refactor VueUI For PRs or issues related to VueUI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants