The 3 selection-dialog JS files and 3 CSS files were each separate raw app_include entries — 6 lines in the desk `Link: rel=preload` header (the edge proxy has a ~4 KB header buffer; overflow returns 502) and, being hashless /assets paths, subject to nginx's 1-year cache (stale-JS dance). - selections.bundle.js imports the 3 dialog libs (window.* interop preserved; verified globals + cross-refs survive minification). - selections.bundle.css merges the 3 stylesheets. - app_include js/css: 3+3 → 1+1, now hashed → automatic cache-busting. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| selections | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| CLAUDE.md | ||
| README.md | ||
| Screenshot_20260218_155218.png | ||
| Screenshot_20260218_160142.png | ||
| Screenshot_20260218_161151.png | ||
| Screenshot_20260218_161531.png | ||
| Screenshot_20260218_162613.png | ||
| Screenshot_20260218_171933.png | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Selections
App for replacing add multiple button
Installation
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch main
bench install-app selections
Contributing
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/selections
pre-commit install
Pre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
License
unlicense