mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(web): improve UX error interaction and update dependencies (#313)
* fix: remove react-cookie since we can't delete the user_session cookie using JS (due to httponly being set) * chore: update dependencies and set a global react dependency override (react-ridge-state creates a problem, this fixes it) * chore: tidy up APIClient, login and logout pages * fix: catch canOnboard() error in login.tsx enhancement: add toast notify on intentional logout and nicely reset the context state; make sure screen-blinking is down to a minimum by having min-h-screen present. * fix: let onboarding redirect to / instead of /login (/login isn't used anymore) * fix: use normal <input /> caret cursor for SearchColumnFilter, instead of pointer * chore(web): remove react-cookie package
This commit is contained in:
parent
0256ea52fd
commit
a84a7364e2
7 changed files with 220 additions and 144 deletions
|
@ -3,22 +3,24 @@
|
|||
"version": "0.2.0",
|
||||
"private": true,
|
||||
"homepage": ".",
|
||||
"overrides": {
|
||||
"react": "$react"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/inter": "^4.5.10",
|
||||
"@headlessui/react": "^1.6.3",
|
||||
"@fontsource/inter": "^4.5.11",
|
||||
"@headlessui/react": "^1.6.4",
|
||||
"@heroicons/react": "^1.0.6",
|
||||
"@hookform/error-message": "^2.0.0",
|
||||
"date-fns": "^2.28.0",
|
||||
"formik": "^2.2.9",
|
||||
"react": "^18.1.0",
|
||||
"react-cookie": "^4.1.1",
|
||||
"react-debounce-input": "^3.2.5",
|
||||
"react-dom": "^18.1.0",
|
||||
"react": "^18.2.0",
|
||||
"react-debounce-input": "^3.3.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-error-boundary": "^3.1.4",
|
||||
"react-hook-form": "^7.31.3",
|
||||
"react-hook-form": "^7.32.1",
|
||||
"react-hot-toast": "^2.2.0",
|
||||
"react-multi-select-component": "^4.2.7",
|
||||
"react-query": "^3.39.0",
|
||||
"react-multi-select-component": "^4.2.9",
|
||||
"react-query": "^3.39.1",
|
||||
"react-ridge-state": "4.2.2",
|
||||
"react-router-dom": "^6.3.0",
|
||||
"react-scripts": "^5.0.1",
|
||||
|
@ -47,22 +49,22 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.5.2",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"@types/node": "^18.0.0",
|
||||
"@types/react": "^18.0.12",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"@types/react-router-dom": "^5.1.7",
|
||||
"@types/react-table": "^7.7.12",
|
||||
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
||||
"@typescript-eslint/parser": "^5.26.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
||||
"@typescript-eslint/parser": "^5.28.0",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint": "^8.17.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-react": "^7.30.0",
|
||||
"eslint-plugin-react-hooks": "^4.5.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-watch": "^8.0.0",
|
||||
"http-proxy-middleware": "^2.0.6",
|
||||
"postcss": "^8.4.14",
|
||||
"tailwindcss": "^3.0.24",
|
||||
"typescript": "^4.7.2"
|
||||
"tailwindcss": "^3.1.3",
|
||||
"typescript": "^4.7.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue