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

refactor: read rawdata from json files instead of js import #31

Merged
merged 4 commits into from
Nov 2, 2024

Conversation

mileswest07
Copy link
Owner

Refactored rawData input to read from a JSON file instead of a .JS file import. This is an important stepping stone in reducing load on the system based on targeted game modules to import.

Requires testing via a push to the Github Page, to prove end-to-end.

… AM2R Extreme Labs and AoL Dash Spell hint icon
@mileswest07
Copy link
Owner Author

mileswest07 commented Nov 2, 2024

Results:

  • end-to-end proven

Analysis: perhaps it would be helpful to reduce the load of the system by only calling for the rawdata.json struct once per necessary game. Should the json file be split into components for each individual game? Let's try it.

mileswest07 and others added 2 commits November 2, 2024 01:39
refactor: read rawdata from component json files instead of single json fetch
@mileswest07
Copy link
Owner Author

Results:

  • JSON files split into component files for each game
  • dynamic load successful

GTM

@mileswest07 mileswest07 changed the title [WIP] refactor: read rawdata from json file instead of js import refactor: read rawdata from json file instead of js import Nov 2, 2024
@mileswest07 mileswest07 changed the title refactor: read rawdata from json file instead of js import refactor: read rawdata from json files instead of js import Nov 2, 2024
@mileswest07 mileswest07 merged commit 13f16ee into map-overhaul Nov 2, 2024
3 checks passed
@mileswest07 mileswest07 deleted the json-change branch November 2, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant