No description
![]() * Add TTL expiration & migrate some components in channel details * Migrate button * Update fixtures * Add changeset * Typo & lint * Reorder UI elements * Set custom height to match old input * Add explanatory comment * test - created test for expired orderes functionality in channels, fixed validation test which checks using same slug twice when creating channel * Fix create page * Fix lint issue * Fix error handling double notification * tests added: creating channel with expiration days for orders, creating channel with expiration days for orders with boundary conditions exciding requirements * function name typeExpirationDate changed to typeExpirationDays --------- Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io> |
||
---|---|---|
.changeset | ||
.github | ||
.husky | ||
.storybook | ||
.tx | ||
assets | ||
cypress | ||
docs | ||
lint/rules | ||
locale | ||
nginx | ||
scripts | ||
src | ||
testUtils | ||
.codeclimate.yml | ||
.dependency-cruiser.js | ||
.dockerignore | ||
.env.template | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
_redirects | ||
apollo.config.js | ||
app.json | ||
babel.config.js | ||
CHANGELOG.md | ||
CODEOWNERS | ||
csstypes.d.ts | ||
cypress.config.js | ||
Dockerfile | ||
eslint-local-rules.js | ||
fetch-schema.yml | ||
introspection.json | ||
LICENSE | ||
lighthouserc.json | ||
lws.config.js | ||
package-lock.json | ||
package.json | ||
react-intl.d.ts | ||
README.md | ||
schema.graphql | ||
static.json | ||
sw.js | ||
tsconfig.json | ||
types.d.ts | ||
vite.config.js |
Saleor Dashboard
A GraphQL-powered, single-page dashboard application for Saleor.
Prerequisites
- Node.js v18+
- A running instance of Saleor
Development
- Clone the repository:
git clone https://github.com/saleor/saleor-dashboard.git
- Enter the project directory:
cd saleor-dashboard
- Install the dependencies:
npm i
-
Configure the env vars as described in docs/configuration.md.
-
Start the development server with:
npm run dev
Note: If you see CORS errors, check CORS configuration of your Saleor instance or CORS settings in the Cloud Console.