saleor-dashboard/src
Michał Droń b386cf060f
Add order expiration (#3843)
* 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>
2023-07-12 14:04:50 +02:00
..
apps Enable method signature style ESLint rule (#3849) 2023-07-05 11:19:58 +02:00
attributes Fix unable to save attribute value (#3814) 2023-06-29 10:57:48 +02:00
auth Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
categories Drop dynamic column toggles in column picker (#3878) 2023-07-12 13:59:17 +02:00
channels Add order expiration (#3843) 2023-07-12 14:04:50 +02:00
collections Drop dynamic column toggles in column picker (#3878) 2023-07-12 13:59:17 +02:00
components Drop dynamic column toggles in column picker (#3878) 2023-07-12 13:59:17 +02:00
configuration Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
containers Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
custom-apps Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
customers Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
discounts Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
featureFlags Enable method signature style ESLint rule (#3849) 2023-07-05 11:19:58 +02:00
files Use graphql-codegen (#1874) 2022-03-09 09:56:55 +01:00
fragments Add order expiration (#3843) 2023-07-12 14:04:50 +02:00
giftCards Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
graphql Add order expiration (#3843) 2023-07-12 14:04:50 +02:00
home Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
hooks Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
icons Upgrade to ESLint 8 (#3781) 2023-06-30 10:07:13 +02:00
navigation Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
orders Drop dynamic column toggles in column picker (#3878) 2023-07-12 13:59:17 +02:00
pages Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
pageTypes Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
permissionGroups Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
plugins Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
products Drop dynamic column toggles in column picker (#3878) 2023-07-12 13:59:17 +02:00
productTypes Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
searches Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
services/errorTracking Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
shipping Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
siteSettings Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
staff Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
styles Drop "manage products" permission requirement to view orders (#2248) 2022-08-25 10:35:07 +02:00
taxes Strict mode plugin (#3778) 2023-06-21 11:28:00 +02:00
theme New macaw ui (#3069) 2023-02-20 16:21:28 +01:00
translations Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
utils Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
warehouses Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
config.ts Introduce new column picker in Categories list (#3876) 2023-07-11 13:19:26 +02:00
debug.ts Introduce "debug" package and replace console.debug with it (#3358) 2023-03-15 10:44:02 +01:00
fixtures.ts Order drafts list datagrid (#3765) 2023-07-04 09:27:17 +02:00
index.css Fix double scroll issue on add produtct to draft order (#3355) 2023-04-25 12:45:33 +02:00
index.html Add prettier command and run it inside src folder (#3892) 2023-07-11 08:34:08 +02:00
index.tsx Feature flags strategies (#3800) 2023-06-27 13:30:20 +02:00
intl.ts Select filter presets (#3412) 2023-04-12 09:11:11 +02:00
misc.ts Collections listing datagrid (#3835) 2023-07-11 08:59:01 +02:00
NotFound.tsx Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
themeOverrides.ts Migrate from legacy to new MacawUI spacing (#3697) 2023-05-30 08:47:21 +02:00
types.ts Order drafts list datagrid (#3765) 2023-07-04 09:27:17 +02:00