Conversation
Raise the hardcoded local pre-check for Scratch (.sb2/.sb3) project conversion from 64 MiB to 128 MiB so larger projects can be uploaded. The general upload path in cloud.ts already follows the backend-provided maxSize, so no change is needed there. Update the openapi.yaml project-conversions description to match. Fixes #3351 Generated with [FennoAI](https://github.com/apps/fennoai) Co-authored-by: fennoai[bot] <231223108+fennoai[bot]@users.noreply.github.com> Co-authored-by: go-wyvern <15845637+go-wyvern@users.noreply.github.com>
Sync main
* chore(deps): bump spx to 3.0.0 * refactor(spx): reuse package path * chore(deps): pin xgolsw spx v3 branch * chore(deps): update xgolsw pseudo version * chore(deps): refresh xgolsw checksum * chore(deps): use merged xgolsw version
…rname) (#3365) * feat(ispx): support setting username before running (xbuilder_set_username) Add `tools/ispx/username.go` exposing a JS-callable `xbuilder_set_username` that injects the current logged-in username into the spx runtime via `spx.User` (goplus/spx#1689). Call it in `ProjectRunner.vue` before running so Scratch-converted projects depending on the `username` capability work. Bump spx to the PR head commit that exposes `spx.User`; realign after goplus/spx#1689 is released. Closes #3364 Co-authored-by: fennoai[bot] <231223108+fennoai[bot]@users.noreply.github.com> Co-authored-by: go-wyvern <15845637+go-wyvern@users.noreply.github.com> * refactor(runner): resolve username via useSignedInStateQuery Address review feedback (#3365): replace the discouraged `getUnresolvedSignedInUsername()` (a best-effort local hint) with the canonical `useSignedInStateQuery()` when injecting the username into the spx runtime. Await the resolved signed-in state before running and pass the canonical username; for signed-out users pass an empty string, which spx treats as an anonymous user. Co-authored-by: fennoai[bot] <231223108+fennoai[bot]@users.noreply.github.com> Co-authored-by: go-wyvern <15845637+go-wyvern@users.noreply.github.com> --------- Co-authored-by: fennoai[bot] <231223108+fennoai[bot]@users.noreply.github.com> Co-authored-by: go-wyvern <15845637+go-wyvern@users.noreply.github.com>
Document user avatar responses as public HTTP URLs so the API contract matches backend display behavior while storage can continue using Kodo universal URLs internally. Remove the frontend Kodo avatar resolver and consume returned avatar URLs through existing external URL handling. Keep test data aligned with the public response contract. Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* fix(auth): coordinate token refresh across pages * refactor(auth): centralize user state persistence * refactor(auth): rely on web locks for refresh coordination * refactor(auth): serialize access token reads * refactor(auth): clarify refresh token snapshot * refactor(auth): clarify shared session recovery * refactor(auth): simplify refresh failure handling * refactor(auth): await refreshed token response * perf(auth): skip lock for valid access tokens * fix(auth): clear state when shared storage is missing * refactor(auth): synchronize user state through storage * docs(auth): explain cross-tab token refresh lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[skip review]