Skip to content

516: use iframe indexeddb for all storage, only use byondstorage as a fallback if github pages is down #8646

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

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

Conversation

hry-gh
Copy link
Member

@hry-gh hry-gh commented Mar 3, 2025

About the pull request

this works by uploading the iframe page to github pages, which we use as our iframe in game to be able to access a persistent indexeddb in 516

in production, we don't actually use this - we use the webroot cdn instead, so if github pages does down, only people developing locally (or forks without a cdn) will be impacted

if github pages does go down, we instead just fall back to using byondstorage. but as this is not present in the browser options otherwise, we don't load it at all unless required

follow up from #8359, complemented by #8607

Explain why it's good for the game

i hate byondstorage and its laggy (potentially)

Changelog

🆑
code: browser preference storage has changed (again)
/:cl:

@github-project-automation github-project-automation bot moved this to Awaiting Review in Review Backlog Mar 3, 2025
@cmss13-ci cmss13-ci bot added Github We don't really know what else this belongs to UI deletes nanoui/html Missing Changelog Maintainers always document their changes. labels Mar 3, 2025
@hry-gh hry-gh added this to the 516 Compatibility milestone Mar 4, 2025
@hry-gh hry-gh changed the title 516: only use byondstorage as a fallback if github pages is down 516: use iframe indexeddb for all storage, only use byondstorage as a fallback if github pages is down Mar 4, 2025
@cmss13-ci cmss13-ci bot added Code Improvement Make the code longer and removed Missing Changelog Maintainers always document their changes. labels Mar 11, 2025
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Mar 11, 2025
@cm13-github
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@cm13-github
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Mar 11, 2025
@github-project-automation github-project-automation bot moved this from Awaiting Review to Changes Requested in Review Backlog Mar 11, 2025
@Drulikar Drulikar marked this pull request as draft March 12, 2025 00:16
@hry-gh hry-gh marked this pull request as ready for review March 12, 2025 22:45
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Mar 13, 2025
@cm13-github
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Mar 13, 2025
@cm13-github
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-merge-queue bot pushed a commit to Aurorastation/Aurora.3 that referenced this pull request Mar 26, 2025
this is a bit of

cmss13-devs/cmss13#8646
cmss13-devs/cmss13#8875
cmss13-devs/cmss13#8606
cmss13-devs/cmss13#8607
cmss13-devs/cmss13#8359
cmss13-devs/cmss13#7860
( and thus ParadiseSS13/Paradise#25105
ParadiseSS13/Paradise#25205
ParadiseSS13/Paradise#25363
ParadiseSS13/Paradise#26423 and
ParadiseSS13/Paradise#26433 )
tgstation/tgstation#89766

in order to work properly - using the efficient storage method, instead
of the byond json method - github pages needs to be enabled and built
from the gh-pages branch. because yeah

---------

Co-authored-by: harryob <[email protected]>
@cmss13-ci
Copy link
Contributor

cmss13-ci bot commented Apr 5, 2025

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@cmss13-ci cmss13-ci bot added the Stale beg a maintainer to review your PR label Apr 5, 2025
@Drulikar Drulikar added Stale Exempt PR can't go stale and removed Stale beg a maintainer to review your PR labels Apr 8, 2025
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Apr 10, 2025
@cm13-github
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Apr 10, 2025
@cm13-github
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer Github We don't really know what else this belongs to Stale Exempt PR can't go stale UI deletes nanoui/html
Projects
Status: Changes Requested
Development

Successfully merging this pull request may close these issues.

3 participants