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

web: Use tsx for save manager rows and use more accurate check for SOL #18515

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

danielhjacobs
Copy link
Contributor

This includes a few vaguely related changes:

  1. Many functions that relate to the save manager and don't rely on any parts of the InnerPlayer have been pulled out into external functions, taking a queue from already existing external functions like parseBoolean and parseAllowScriptAccess. These functions include saveFile, base64ToArray (which has also been slightly simplified), base64ToBlob, and isB64SOL.

  2. isB64SOL has been changed to more accurately check for SOL data, using logic from https://www.sans.org/blog/local-shared-objects-aka-flash-cookies/

  3. Each row of the save table has been changed to a tsx component called SaveRow, instead of using so much direct DOM manipulation.

@danielhjacobs danielhjacobs added A-web Area: Web & Extensions T-refactor Type: Refactor / Cleanup labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-web Area: Web & Extensions T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant