autobrr/web
stacksmash76 ac988f28f4
feat(web): better tooltips and uniformity (#474)
* - fix: changed all {text,bg}-{teal,indigo}-* color properties to {text,bg}-{blue}-* so there is only one dominant primary color in the UI -- blue
- enhancement: added `cursor: pointer` to the PageButton component (used in pagination)
- enhancement: modified TitleCell to use the new Tooltip component and modified the width selectors to a more sane default value, now instead of scrolling one just has to tap the cell to see it's untruncated value
- enhancement: modified the Tooltip component to use react-popper-tooltip (which in turn uses popper.js) which is a much better alternative, since it uses auto-positioning in case there's not enough space and some things aren't as broken as in the previous version (e.g. there was a problem with forcing the previous tooltip to use a specific width)
- enhancement: added a useMedia hook selector from the react-use repository, which might come in handy in the future for better/easier decoupling of Desktop and Mobile UI/UX patterns via JS (versus CSS-only)
- enhancement: made the mobile navbar more visible and clear. also fixed previous path === "/" bug which was fixed on desktop.
- fix: fixed table headers/footers so they're rounded
- enhancement: made pagination components more compact (buttons and show N result selector)

* changed {ring, border}-indigo-* to ring-blue-*

* build: add yarn.lock

* fix: formatting warnings

* fix: formatting warnings

* fix: more formatting warnings

* fix: more formatting
2022-10-14 21:54:21 +02:00
..
.yarn/releases build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378) 2022-08-03 19:38:32 +02:00
public feat(web): error boundry and fixes (#270) 2022-05-12 16:26:41 +02:00
src feat(web): better tooltips and uniformity (#474) 2022-10-14 21:54:21 +02:00
.eslintrc.js refactor(web) add eslint (#222) 2022-05-17 06:44:07 +02:00
.gitignore build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378) 2022-08-03 19:38:32 +02:00
.yarnrc.yml build(docker): add multiarch build for ARM, ARM64 and AMD64 (#378) 2022-08-03 19:38:32 +02:00
build.go feat: add webui 2021-08-11 15:27:48 +02:00
package.json feat(web): better tooltips and uniformity (#474) 2022-10-14 21:54:21 +02:00
postcss.config.js chore: update web dependencies (#102) 2022-02-05 13:27:44 +01:00
README.md feat: add webui 2021-08-11 15:27:48 +02:00
tailwind.config.js feat(web): better tooltips and uniformity (#474) 2022-10-14 21:54:21 +02:00
tsconfig.json refactor(web) add eslint (#222) 2022-05-17 06:44:07 +02:00
yarn.lock feat(web): better tooltips and uniformity (#474) 2022-10-14 21:54:21 +02:00

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn 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.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build 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!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you cant go back!

If you arent satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.