autobrr/web
Kyle Sanderson a1a16adbab
fix(web): implement offline detection (#1065)
* xtreme connected edition

* change fallbackRender to fallbackComponent on ErrorBoundary

* call healthz endpoint when error is 500

* display custom offline message

* fix eslint indentation for switchCase

* Update ErrorPage.tsx

* check against error.cause

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-09-10 17:39:58 +02:00
..
dist refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
public enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00
src fix(web): implement offline detection (#1065) 2023-09-10 17:39:58 +02:00
.eslintrc.js fix(web): implement offline detection (#1065) 2023-09-10 17:39:58 +02:00
.gitignore refactor(web): migrate create-react-app to vite (#823) 2023-04-10 14:28:24 +02:00
build.go fix(web): PWA asset and route handling (#898) 2023-05-02 19:06:53 +02:00
index.html enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00
package.json enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00
pnpm-lock.yaml enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00
postcss.config.js enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00
README.md chore(build): change to pnpm from yarn (#919) 2023-05-08 20:28:43 +02:00
tailwind.config.js feat(filters): regex validation for supported fields (#773) 2023-03-30 23:41:03 +02:00
tsconfig.json chore(web): relocations and cleanups (#957) 2023-07-21 17:33:51 +02:00
vite.config.ts enhancement(web): improve font loading performance and avoid page reflow (#1087) 2023-09-09 23:07:00 +02:00

web

This project uses React built with Vite.

Available Scripts

In the project directory, you can run:

pnpm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

pnpm run build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Learn More

To learn React, check out the React documentation.