prestige
prestige copied to clipboard
Error while saving a Gist
I created a private gist (through Prestige UI), the file is created correctly in github and I see its contents on Prestige. When I try to save it, the label flashes to "saving" (or something like that, it does it too quickly) and then swtches back to "unsaved".
The file in github is inmodified.
This is what I see in the browser (Firefox 104.0.2 (64-bit) on Arch Linux) console:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. prestige.dev
proxyUrl / Env.ts:46:9
Load sheet at gist/fasolato-omicron/3a1907f8c7aaa7035ceed4d6d45c8ba8 from gist Persistence.ts:631:9
Initializing CodeMirror for Workspace. Workspace.ts:180:10
Updating editor display Workspace.ts:268:10
Updating editor display in workspace. 1 Workspace.ts:273:10
Loading failed for the <script> with source “https://gc.zgo.at/count.js”. prestige.dev:1:1
Some cookies are misusing the recommended “SameSite“ attribute 4
Updating editor display Workspace.ts:268:10
Updating editor display in workspace. 53 Workspace.ts:273:10
Updating editor display Workspace.ts:268:10
Updating editor display in workspace. 53 Workspace.ts:273:10
set isSaved to false Workspace.ts:215:12
Save auto Persistence.ts:696:9
Updating editor display Workspace.ts:268:10
Updating editor display in workspace. 68 Workspace.ts:273:10
set isSaved to false Workspace.ts:215:12
Save auto Persistence.ts:696:9
Save manual Persistence.ts:712:9
Error saving manually Error: null
l request.js:151
onreadystatechange request.js:166
Persistence.ts:721:11
T Persistence.ts:721
Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34
On the network panel this is the request:
curl 'https://prestige.dev/gist/update/3a1907f8c7aaa7035ceed4d6d45c8ba8' -X PATCH -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0' -H 'Accept: application/json, text/*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Origin: https://prestige.dev' -H 'Connection: keep-alive' -H 'Referer: https://prestige.dev/' -H 'Cookie: prestige_sid=...' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw $'{"readmeName": "_Test Studio torta (prestige).md","files": { "main.prestige": { "content": "..." } }}'
And this is the response: 502 with headers
PATCH /gist/update/... HTTP/2
Host: prestige.dev
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/json, text/*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/json
Content-Length: 1833
Origin: https://prestige.dev
Connection: keep-alive
Referer: https://prestige.dev/
Cookie: prestige_sid=...
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
The file content seems to be irrelevant
He @fasolato-omicron, thank you for taking the time to report this. I'll take a look at this soon. 🙏
Thanks for reporting. This should be fixed now. Pleas reopen if you still see this problem. Cheers!