stash/ui/v2.5
WithoutPants 51999135be
Add SFW content mode option (#6262)
* Use more neutral language for content
* Add sfw mode setting
* Make configuration context mandatory
* Add sfw class when sfw mode active
* Hide nsfw performer fields in sfw mode
* Hide nsfw sort options
* Hide nsfw filter/sort options in sfw mode
* Replace o-count with like counter in sfw mode
* Use sfw label for o-counter filter in sfw mode
* Use likes instead of o-count in sfw mode in other places
* Rename sfw mode to sfw content mode
* Use sfw image for default performers in sfw mode
* Document SFW content mode
* Add SFW mode setting to setup
* Clarify README
* Change wording of sfw mode description
* Handle configuration loading error correctly
* Hide age in performer cards
2025-11-18 11:13:35 +11:00
..
graphql Add SFW content mode option (#6262) 2025-11-18 11:13:35 +11:00
public UI: Various pwa manifests fixes (#5669) 2025-02-24 14:30:53 +11:00
src Add SFW content mode option (#6262) 2025-11-18 11:13:35 +11:00
.editorconfig Update scraping docs (#929) 2020-11-10 13:03:44 +11:00
.env Update dependencies (#3123) 2023-02-16 14:06:44 +11:00
.eslintrc.json add pluginApi.d.ts (#4595) 2024-02-20 13:00:44 +11:00
.gitignore Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
.prettierignore [packaging] switch to pnpm (#6186) 2025-11-10 09:17:25 +11:00
.stylelintrc Update dependencies (again) (#3442) 2023-02-17 09:42:44 +11:00
codegen.ts Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
index.html Improve caching, HTTP headers and URL handling (#3594) 2023-04-19 13:01:32 +10:00
package.json Bump vite from 4.5.14 to 5.4.21 in /ui/v2.5 (#6229) 2025-11-10 11:11:53 +11:00
pnpm-lock.yaml Bump vite from 4.5.14 to 5.4.21 in /ui/v2.5 (#6229) 2025-11-10 11:11:53 +11:00
pnpm-workspace.yaml [packaging] switch to pnpm (#6186) 2025-11-10 09:17:25 +11:00
README.md [packaging] switch to pnpm (#6186) 2025-11-10 09:17:25 +11:00
tsconfig.json Update dependencies (#3123) 2023-02-16 14:06:44 +11:00
vite.config.js Vite dev server authentication tweaks (#4234) 2023-10-23 16:52:02 +11:00

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm run 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.

npm run test

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

npm run 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.

npm run format

Formats the whitespace of all typescript and scss code with prettier, to ease editing and ensure a common code style.

Should ideally be run before all frontend PRs.

npm run 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.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify