-
Notifications
You must be signed in to change notification settings - Fork 9
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
Integration: Save / Login functionality not as expected #1162
Integration: Save / Login functionality not as expected #1162
Conversation
@@ -42,17 +42,26 @@ export const useProjectPersistence = ({ | |||
const accessToken = user?.access_token; | |||
const params = { reactAppApiEndpoint, accessToken }; | |||
|
|||
if (saveTriggered) { | |||
if (saveTriggered || localStorage.getItem("awaitingSave")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, where is awaitingSave
set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's set in standalone, when the login to save button is clicked - there's an incoming PR for that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah roger! I shall press the happy green button of joy!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice 🙌
Test deployment to try out a potential workaround for cloudflare issue: ``` Update - We are continuing to work on a fix for native CRC32 checksum handling in R2 APIs. If you run into an issue, please see the documentation for workarounds based on the SDK that you are using: https://developers.cloudflare.com/r2/examples/aws/ Jan 22, 2025 - 16:33 UTC Update - We are continuing to work on a fix for this issue. Jan 17, 2025 - 11:23 UTC Identified - AWS recently updated their SDKs to enable CRC32 checksums on multiple object operations by default. R2 does not currently support CRC32 checksums, and the default configurations will return header related errors such as Header 'x-amz-checksum-algorithm' with value 'CRC32' not implemented. Impacted users can either pin AWS SDKs to a prior version or modify the configuration to restore the prior default behavior of not checking checksums on upload. For more details, see the examples section of the R2 Docs for the relevant SDK: https://developers.cloudflare.com/r2/examples/aws/ Jan 17, 2025 - 03:20 UTC ``` --------- Co-authored-by: Conor <[email protected]>
…ality_not_as_expected
## What's Changed * Support output tabs in pyodide by @loiswells97 in #1157 * Downloading the instructions by @loiswells97 in #1160 * Hack open function to write files in main thread by @loiswells97 in #1146 * Try pinning previous ubuntu version to avoid cloudflare issue by @danhalson in #1178 * Integration: Save / Login functionality not as expected by @create-issue-branch in #1162 * HTML audio video support by @loiswells97 in #1179 * Feat/editable instructions by @loiswells97 in #1166 * Add remove instructions button modal by @jamiebenstead in #1176 * fix dark mode colours by @conorriches in #1182 * Copy change: Project steps to Project instructions by @loiswells97 in #1183 * Fixing padding for first line of code block by @loiswells97 in #1184 * Fix contrast on dark mode instructions code block by @loiswells97 in #1187 * Markdown changes by @jamiebenstead in #1188 * Remove line from demoInstructions by @jamiebenstead in #1189 * Instructions syntax highlighting for CEfE by @loiswells97 in #1190 * Fixing instructions state when set to an empty string by @loiswells97 in #1191 * Identify caching issue for editor-ui by @create-issue-branch in #1186 ## New Contributors * @jamiebenstead made their first contribution in #1176 **Full Changelog**: v0.28.14...v0.29.0
'Login to save' button now automatically saves after logging in.
Closes #843