Sharkey/packages/frontend
dakkar 0c1dd73341 on 429, retry fetchAccount instead of failing
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.

treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.

this code makes the frontend retry, after waiting the appropriate
amount of time.

seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
..
.storybook Merge remote-tracking branch 'misskey/master' into feature/2024.9.0 2024-10-09 15:17:22 +01:00
.vscode test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
@types Add _RUFFLE_VERSION_ global Vite define 2024-12-08 19:16:36 +01:00
assets new logo 2024-10-11 11:32:35 -05:00
lib remove our icon classes from a test file 2024-06-22 15:53:13 +01:00
public (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
src on 429, retry fetchAccount instead of failing 2024-12-13 16:18:10 +00:00
test don't lint translations in translation test 2024-10-22 12:05:07 +01:00
.gitignore build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
eslint.config.js help eslint deal with the new vite-provided constant 2024-12-08 19:16:36 +01:00
package.json Always load Ruffle from CDN and add it as a dependency 2024-12-08 19:15:40 +01:00
tsconfig.json fix eslint in frontend / frontend-embed 2024-11-02 13:00:49 -04:00
vite.config.local-dev.ts Undo changes to the local dev config 2024-12-08 19:15:41 +01:00
vite.config.ts Add _RUFFLE_VERSION_ global Vite define 2024-12-08 19:16:36 +01:00
vite.json5.ts Fix type errors from vite.json5.ts (#9936) 2023-02-15 17:14:47 +09:00
vite.replaceIcons.ts chore: add new ti icon to replace 2024-12-09 05:31:52 +01:00
vue-shims.d.ts Fix/vue import error on intellij (#12612) 2023-12-09 13:13:31 +09:00