6840c3a6b3
ref https://linear.app/tryghost/issue/ENG-1433/ - in the tiers details modal, if a tier was deleted after being moved it would crash admin The SortableList component calls renderItem for the drag overlay on the dragged item. However, if that item was deleted, the draggingId never got reset causing the drag overlay to try to call renderItem on a nonexistent item. As a note, we don't actually use this overlay... it could be best to strip it out to prevent causing issues. |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
test | ||
.eslintrc.cjs | ||
.gitignore | ||
package.json | ||
postcss.config.cjs | ||
preflight.css | ||
README.md | ||
styles.css | ||
tailwind.cjs | ||
tailwind.config.cjs | ||
tsconfig.declaration.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Admin X Design
Components, design guidelines and documentation for building apps in Ghost Admin
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests