autobrr/web
stacksmash76 2fed48e0dd
enhancement(web): add react suspense and improve DX (#1089)
* add react suspense, fix broken stuff, clean up code, improve DX

enhancement: added react suspense + spinner to show loading (still can be added in certain places)
chore: cleaned up Header/NavBar code
chore: cleaned up DeleteModal code
chore: cleaned up other relevant code
enhancement: changed remove button style to be much more pleasant (see e.g. filter tabs)
fix: made active tab on filters page to be blue (as it should've been) when active
fix: fixed ghost delimiter which was only visible when DeleteModal was active in FormButtonGroup
chore: removed most of linter warnings/errors
fix: fixed incorrect/double modal transition in FilterExternalItem
fix: fixed incorrect z-height on Options popover in Settings/IRC (would've been visible when Add new was clicked)
enhancement: improved robustness of all Context classes to support seamless new-feature expansion (#866)
enhancement: improved expand logic (see #994 comments)

* reverted irc expand view to previous design

* forgot to propagate previous z-height fix

* jinxed it

* add license header to new files

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2023-09-10 12:35:43 +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 enhancement(web): add react suspense and improve DX (#1089) 2023-09-10 12:35:43 +02:00
.eslintrc.js chore(web): add ignore pattern to eslint for the unused-vars rule (#965) 2023-07-02 14:19:03 +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.