Commit graph

40 commits

Author SHA1 Message Date
Krzysztof Żuraw
373c9e9ac3
Add sidebar feature flag (#3019)
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-23 12:16:02 +01:00
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard (#2981) 2023-01-16 10:45:12 +01:00
Michał Droń
b0ba5cc2ab
Enable use unknown in catch variables (#2784)
* Enable use unknown in catch variables rule

* Add type guards in useAuthProvider

* Add type cast in FilterErrorsList

* Handle error in tasks
2022-12-07 11:00:42 +01:00
Michał Droń
d5c9a3dae8
Add trailing commas (#2062)
* Require trailing commas

* Add trailing commas

* Add trailing commas in testUtils dir

* Add trailing commas
2022-06-21 11:36:55 +02:00
Dominik Żegleń
7d9441a7ec
Use esbuild-loader (#1983)
* Minor fixes for intl messages

* Add esbuild-loader
* switch from babel to esbuild-loader
* use formatjs enforce-id linter

* Generate ids for intl messages

* id format defined by idInterpolationPattern

* Modify intl messages extraction

* remove react-intl-translations-manager
* remove transpile-tx.js
* use formatjs cli

* Modify defaultMessages.json

* modify ids in defaultMessages.json with defined idInterpolationPattern

* Fix errors

* Fix page crash

* Use babel to transpile tests

* Fix useStateFromProps

* Improve render count

* Add test to useStateFromProps

* Fix reloading state buh

* Do not check if form with channels is dirty

* Stop blocking save if form has not changed

* Remove debug code

* Fix form disabling

* Fix variant selection checkbox onClick

* Update translations

* Update messages

* Use esbuild to build storybook

Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-05-05 09:54:28 +02:00
Dominik Żegleń
5b85d6c086
Use graphql-codegen (#1874)
* Use generated hooks in apps

* Remove unused files

* Use proper types in apps

* Use generated hooks in attributes

* Use generated hooks in auth module

* Use generated hooks in categories

* Use generated hooks in channels

* Use generated types in collections

* Remove legacy types from background tasks

* Use generated hooks in customers

* Use generated hooks in discounts

* Use generated hook in file upload

* Use generated types in gift cards

* Use generated types in home

* Use generated hooks in navigation

* Use generated hooks in orders

* Use generated hooks in pages

* Use generated hooks in page types

* Use generated hooks in permission groups

* Use generated hooks in plugins

* Use generated hooks in products

* Use fragment to mark product variants

* Improve code a bit

* Use generated hooks in page types

* Use generated types in searches

* Use generated hooks in shipping

* Use generated hooks in site settings

* Use generated hooks in staff members

* Use generated hooks in taxes

* Place all gql generated files in one directory

* Use generated hooks in translations

* Use global types from new generated module

* Use generated hooks in warehouses

* Use generated hooks in webhooks

* Use generated fragment types

* Unclutter types

* Remove hoc components

* Split hooks and types

* Fetch introspection file

* Delete obsolete schema file

* Fix rebase artifacts

* Fix autoreplace

* Fix auth provider tests

* Fix urls

* Remove leftover types

* Fix rebase artifacts
2022-03-09 09:56:55 +01:00
Dominik Żegleń
2a52eb581c
Update apollo to v3 (#1837)
* Update apollo to v3

* Fix imports

* Add generated file to ignored

* Use proper import

* Tidy up code

* Remove unused packages

* Fix tests
2022-02-21 14:32:38 +01:00
Dominik Żegleń
d220914085
Add service worker (#1073)
* Add service worker

* Update messages

* Update changelog

* Remove debug code

* Refactor code and add interval config

* Clear interval

* Reload all pages simultaneously

* Update copy
2021-04-26 12:10:47 +02:00
Damian W
3e0794cb61 Update error type on CollectionBulkDelete 2021-03-29 12:28:59 +02:00
Jakub Majorek
383055a2de
SALEOR-2064 Add generic error tracker with Sentry adapter (#956)
* Add generic error tracker with Sentry extension

* Add Sentry webpack plugin

* Update variable names and README

* Update deploy-staging template

* Update changelog
2021-01-22 15:05:26 +01:00
Dominik Żegleń
df5aea6200
Add product export (#620)
* Add component backbone

* Make step component generic and typed

* Add step tabs

* Add settings view

* Encapsulate all dialog components in one directory

* Move types to separate file

* Add mutations

* Use gql types

* Add error handling

* Do not keep separate types file

* Allow products to be exported

* Fix types

* Update snapshots

* Update to latest schema

* Add disabled option

* Use wizard hook

* Update type definitions

* Queue export check task

* Fix bug causing jobs to be endless and duplicated

* Fix minor bugs

* Add accordion component

* Allow selection of fields  to be exported

* Add attribute export

* Update snapshots

* Update messages

* Update changelog

* Add missing key

* Add quick peek to accordioin

* Sort imports

* Remove unused files

* Add chiips to attribute selection

* Change menu positioning

* Add product counter

* Add select all option

* Update snapshots

* Update messages

* Remove unused import

* Add chips

* Add test tags

* Update snapshots

* Change number of max chips

* Add accordion tags

* Update messages
2020-07-30 11:54:16 +02:00
dominik-zeglen
0baa065896 Fix queries 2020-07-08 10:44:37 +02:00
Dawid Tarasiuk
c88572356f Queue invoice status check 2020-07-08 10:44:32 +02:00
dominik-zeglen
b28bd31aaa Commit review suggestioins 2020-07-06 19:04:51 +02:00
dominik-zeglen
b1ac074b1e Improve comment 2020-07-06 17:06:01 +02:00
dominik-zeglen
a6dda68d50 Handle task failure and fix task duplication 2020-07-06 16:24:54 +02:00
dominik-zeglen
278be8a0bb Fix index 2020-06-26 13:09:57 +02:00
dominik-zeglen
6aa53c6775 Fix case 2020-06-26 13:09:56 +02:00
dominik-zeglen
bdf90039b5 Handle asynchronous tasks 2020-06-26 13:09:55 +02:00
dominik-zeglen
7a2a18a1d4 Add background task manager 2020-06-26 13:09:55 +02:00
dominik-zeglen
fa8231992f Explicitely return not found page 2020-02-20 15:18:22 +01:00
dominik-zeglen
135658eb11 Use exclusively search hooks 2019-11-21 15:59:38 +01:00
dominik-zeglen
13a8d398d2 Use product type search hook 2019-11-21 15:59:37 +01:00
dominik-zeglen
fff2a8caea Use product search hook 2019-11-21 15:59:37 +01:00
dominik-zeglen
bd7130d196 Use page search hook 2019-11-21 15:59:36 +01:00
dominik-zeglen
b07b220b3c Use customer search hook 2019-11-21 15:59:35 +01:00
dominik-zeglen
3f28673c94 Use collection search hook 2019-11-21 15:59:34 +01:00
dominik-zeglen
e67727af03 Use category search hook 2019-11-21 15:59:33 +01:00
dominik-zeglen
0a7f65727a Use service account search hook 2019-11-21 15:59:32 +01:00
dominik-zeglen
b12f3c35fa Add app state 2019-11-14 15:10:52 +01:00
dominik-zeglen
4f12124b4f Add types 2019-10-18 11:32:12 +02:00
dominik-zeglen
261c6e621c Remove bad types 2019-10-18 11:26:01 +02:00
Krzysztof Bialoglowicz
f84493fdab Fix service account search 2019-10-17 14:38:01 +02:00
Krzysztof Białogłowicz
fa5151241a
Merge branch 'master' into add/webhook-section 2019-10-17 12:26:12 +02:00
dominik-zeglen
d295804778 Refactor searches 2019-10-16 17:52:21 +02:00
Krzysztof Bialoglowicz
b802122c13 Fix import 2019-10-16 14:51:00 +02:00
Krzysztof Bialoglowicz
28bc919e47 Add serviceAccount search and autocomplete input 2019-10-14 16:41:41 +02:00
dominik-zeglen
bba9aea6ac Fix product type selection 2019-09-30 12:55:22 +02:00
dominik-zeglen
0c53e9883a Do not use asterisk imports 2019-08-09 12:26:22 +02:00
dominik-zeglen
5d959e6d6e Initial commit 2019-06-19 16:40:52 +02:00