Michał Droń
3123f04c69
Upgrade to ESLint 8 ( #3781 )
...
* Upgrade ESLint
* Add eslint-nibble
* Move typescript to dev deps
* Update ESLint config
* Turn off semi, comma-dangle & quotes rules
* Enable simple sort
* Fix errors in ESLint (#3788 )
* Disable rules requiring heavy changes
* Autofix new ESLint rules
* Autofix more-rules
* Fix jsx/generics ambiguity
* Add warnings for broken rules requiring manual fixes
* Remove redundant expected-error
* Add simple-sort
* Add prettier config
* Lint config
* Fix sort plugin
* Fix simple sort plugin
* Fix sort order
* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/PspReferenceLink.tsx
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
* Remove redundant comment
* Remove chai friendly
* Update package.json
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
* Remove to-be-checked comment
* Update formatjs plugin
* Lint staged only in src
* Add changeset
* Add tracking issue for new rules
* Resolve auto-fixable warning after merge
* Change sorts to warnings
* Run lint on new files
* Fix errors
---------
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2023-06-30 10:07:13 +02:00
Patryk Andrzejewski
1d2eeb7592
Strict mode plugin ( #3778 )
...
* Stric mode plugin
* Update command
2023-06-21 11:28:00 +02:00
Paweł Chyła
e22d8f0e68
Fix infinite spinner during tax selection ( #3397 )
2023-03-21 21:02:59 +01:00
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard ( #2981 )
2023-01-16 10:45:12 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +01:00
Michał Droń
347e32ef4a
Replace classnames with clsx ( #2759 )
...
* Replace classnames with clsx
* Add clsx to package.json
* Remove classnames
* Remove classnames types
* Restrict classnames in eslint rules
2022-12-02 11:45:19 +01:00
Michał Droń
5c1a62171d
🦄 Simple taxes ( #2072 )
...
* Tax configuration - implement channels view (#2048 )
* Add channels view
* Fix channels view import
* Remove legacy stories references
* Fix link in configuration
* Update snapshots
* Remove sample checkboxes props
* Disable hover in country exceptions
* Update snapshots
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Extract messages
* Add ListItemLink component
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change codegen to build from custom schema
* Build types
* Update fragments
* Add fixtures
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Update snapshots
* Remove any from TaxSettings
* Fix todos
* Change relative marginLeft to before pseudoelement
* Extract styles to seperate files
* Change folder structure
* Extract redirect logic to custom hook
* Update snapshots
* Fix comment
* Add early return in channels view
* Tax configuration - implement countries view (#2053 )
* Add channels view
* Remove sample checkboxes props
* Disable hover in country exceptions
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Remove any from TaxSettings
* Add countries list view
* Add TaxCountryMenu component
* Add CountryList page
* Change channels menu rows height
* Change countries menu rows height
* Add TaxInput component
* Add tax classes rates to countries page
* Fix search input padding
* Add minmax to TaxInput
* Add searching through tax class rates
* Extract messages
* Add better handlers
* Add fullWidth to TaxInput
* Specify type for TaxInputs
* Remove spinboxes on firefox
* Remove custom spinboxes
* Remove maxHeight from menu rows
* Post-rebase fix
* Change setter to formchagne
* Add TaxConfiguration fragment
* Add isDefault field to taxClass
* Add fixtures
* Shape data
* Replace useEffect with useTaxUrlRedirect
* Fix country names in menu
* Add country page story
* Add early return in countries view
* Unify loading states between channels and countries pages
* Handle special chars and case insensitiveness in local search
* Replace navigate function with ListItemLink
* Move styles to seperate file
* Move styles to seperate file
* Migrate to strict null checks
* Remove unnecessary optional chaining
* Change overflow scroll to Y only
* Add useMemo on finding selected country
* Add useMemo on local search
* Translate labels in page tabs
* Change url from /taxes/classes to /taxes/tax-classes
* Remove capitalization from strings
* Extract messages
* Bump macaw to 0.6.2
* Update snapshots
* Add spinboxes explanation comment
* Handle empty state
* Add tax classes view (#2093 )
* Add TaxClass fragment
* Build types
* Add tax classes to fixtures
* Add tax classes view
* wip Add tax classes page
* Add tax classes menu
* Add TaxRate fragment
* Extract logic
* Handle loading state & add story
* Extract messages
* Update snapshots
* Change schema building from schema back to introspection
* Update schema
* Update fragments
* Build types
* Update fixtures
* Reshape data
* Move styles to seperate file
* Use getById
* Add explicit undefined
* Comment out unfinished modal stories
* Update snapshots
* Taxes - add API calls in channels view (#2106 )
* Build types
* Add TaxRate fragment
* Update snapshots
* Add taxConfigurationList query
* Add taxCountriesList query
* Add TaxClassesList query
* Rename TaxConfigurationsList query
* Handle empty state
* Fix types post-rebase
* Add form to TaxChannelsPage
* wip Add dialog for handling country exceptions
* wip Fix dialog url
* wip Add update exceptions handlers
* Add dialog story
* Fix type errors
* Add mutation support
* Fix types in story
* Add transition state to submit button
* Add notifier
* Extract messages
* Remove unused import
* Add backlink in savebar
* Update snapshots
* Fix link in navigation
* Update snapshots
* Remove message from tax config error fragment
* Add hook description
* Use useStateFromProps
* Remove error handling
* Improve url & path function names
* Use theme.spacing in TaxCountryDialog styles
* Remove redundant key modification
* Revert "Use useStateFromProps"
This reverts commit d3c68b04701cf935e917d7baa3ed1361ca3446d5.
* Move initial map to parent & add open dependency to countries state
* Use useModalDialogOpen
* Fix state update
* Remove scrolls & add ellipsis in side menu
* Center checkboxes
* Update snapshots
* Add fake div for list alignment
* Trigger deployment
* Close modal on submit
* Remove divider on last ListItem
* Align add country button
* Wrap grid child in div to avoid card stretching
* Update snapshots
* Trigger changes in add/delete exceptions
* Trigger change on expcetion checkboxes
* Add trailing commas
* Connect countries view to API (#2178 )
* Add empty states
* Update countries view urls
* Remove unused import
* Add country modal to countries view
* Update schema
* Implement country view mutations & error fragments
* Implement tax class update mutation
* Add sidebar temporary state for new configs
* Remove unused imports
* Wrap in form
* Add savebar & fix search
* Update schema
* Add form wrapper
* Fix types
* Extract messages
* Bump macaw
* Update snapshots
* Fix comma dangles
* Update snapshots
* Notify about mutation success
* Add logic for mixing current and new rates
* Workaround for sending null rates
* Fix filling form with correct data after submitting
* Handle deleting configuration
* Fix selected banner
* Remove leftover comment
* Add handler for country configuration delete
* Trigger deployment
* Clean up useEffects causing infinite render loops
* Sort countries from api by name
* Fix card bottom padding
* Remove bottom divider & fix padding
* Remove scroll wrapper in side menu
* Update snapshots
* Remove scroll wrapper from tax classes menu
* Update snapshots
* Refresh form to initial onSubmit
* Revert "Refresh form to initial onSubmit"
This reverts commit 42414237d35086da63f4aa088c8072411429b1d8.
* Allow only 3 decimal characters in tax inputs
* Update snapshots
* Update schema
* Update types
* Change logic from default tax class to null class
* Fix sorting
* Send empty country rates as nulls in mutation
* Extract messages
* Update lockfile
* Update schema
* Drop default tax classes
* Update snapshots
* Post-rebase fixes
* Connect tax classes view to API (#2334 )
* Add mutations
* Handle empty state
* Wrap page in form
* Update stories
* Build types
* Handle tax class delete
* Handle update tax class
* Update stories
* Handle tax class change name
* Add mutation state to savebar
* Handle creating new tax classes
* Extract messages
* Specify type
* Update stories
* Sort rates
* Fix skeleton rendering
* Remove placeholders
* Fix skeleton rendering on country list
* Update snapshots
* Change initial pagination to 100
* Disallow creating multiple new tax classes
* Disallow creating multiple country configurations
* Fix messages
* Autofocus on new tax class name
* Add country name to header
* Temporarily comment out broken code in tax channels
* Update snapshots
* Update snapshots post-rebase
* Add tax strategies & assigning tax classes (#2369 )
* Update fragments
* Add optional merging in useForm
* Handle tax strategies
* Update snapshots
* Update fixtures
* Extract messages
* Remove unused shop query fields
* Fix breaking bug when fetchMore is used in non-searchable SingleAutocompleteSelectFields
* Migrate product types to tax classes
* Add tax classes to shipping methods
* Use encapsulated logic in product types
* Fix product type stories
* Fix shipping fixtures
* Fix product type type mismatch
* Fix shipping stories
* Fix product type fixtures
* Fix mismatching types
* Extract messages
* Update snapshots
* Update snapshots
* Fix comment
* Drop deprecated graphql fields
* Replace tax types with tax classes in product create view
* Replace tax types with tax classes in product update view
* Fix tests, stories, fixtures
* Extract messages
* Update snapshots
* Move status messages to commonStatusMessages
* Handle empty array case in tax class change handler
* Reuse messages
* Simple taxes bugfixes (#2395 )
* Fix tax channels menu - dense layout
* Change view names to fit convention
* Fix per country exceptions in tax channels view
* Fix skeleton rendering on tax countries card title
* Filter out existing countries from modal
* Update snapshots
* Fix deleting country configuration
* Disallow negative values in tax inputs
* Handle empty tax classes view
* Allow empty options in shipping & product types views tax class assignment field
* Modify undefined rates in tax classes view
* Update macaw-ui
* Fix UI on channels view
* Fix UI on countries view
* Fix UI on countries view
* Align tax class rate label to the right
* Updaste snapshots
* Extract messages
* Fix adding rates on new tax class
* Fix key errors
* Update schema
* Build types
* Allow empty rates in taxClassUpdate mutation
* Extract tax channels change country function as a handler
* Deprecate useStateFromProps
* Change useStateFromProps to useStateUpdate
* Fix dividers
* Delete delete icon on new tax classes
* Update snapshots
* Update lockfile
* Update macaw to 0.6.6
* Update snapshots
* Specify type of input in country change handler
* Extract autofocus logic to custom hook
* Replace alternative with switch statement
* Extract country exclusion logic from JSX
* Update lockfile
* Update lockfile
* Trigger deployment
* Fix invisible select markers
* Fix linter issue
* Fix crashing product details page
* Fix e2e error
* Update snapshots
* Allow view taxes with any staff permissions (#2510 )
* Update after rebase
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
2022-11-17 13:48:50 +01:00
Dominik Żegleń
31e0c11fea
New datagrid view for product variant management ( #2162 )
...
* New datagrid view for product variant management (#2040 )
* Split simple and product with variants updates
* Simplify code
* Change selectedVariantsIds to availableVariants
selectedVariantsIds suggested that these variants *were just* selected
* Add datagrid component
Add datagrid component
Add actions column
Add column picker
Add ts-ignore comment
Remove unused import
Fix after rebase
Add story
Fix column picking
Fix column dragging
Add column resizing
Extract components to own files
Apply styles from class
Improve data storage
Extract state to hook
Expose handlers
Fix styles
Fix header overflow
Add select all option
Add cell types
Fix types
Add number type cell
Add min to stocks
Fix types
Generate columns from shop data
Add number type editor
Fix tests
Update src/components/Datagrid/Datagrid.tsx
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Reconstruct data after column toggling
Minor fixes
Add missing id
Remove unused import
Fix container width
Keep changes in state
Drop onChange usage
Use glide datagrid
* Add column picker
* Memoize callbacks
* Add right toolbar
* Make toolbar as prop
* Clean up code
* Fix styling
* Lint files
* Save variant data in datagrid (#2161 )
* Allow rows to be deleted
* Add row adding
* Clean up code
* Improve mutations
* Add stock saving
* Add sku and attribute saving
* Display notification after all mutations
* Fix types
* Save channels in datagrid (#2197 )
* wip
* Merge simple and variantable handlers
* Move channel setting to form
* Link availability card to form
* Extract listing management to hook
* Update only touched channels
* Improve channel listing managemend
* Display channel data in datagrid
* Save variant channels
* Save changes in channel listings
* Group columns
* Fix types
* Display touched fields
* Return errors from hook
* Display errors in cells
* Improve naming
* Improve naming
* Use reliable called/loading state
* Update src/components/Datagrid/cells.ts
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Apply fixes from review
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Fix type error
* Trigger CI
* Trigger CI
* Save added and deleted variants (#2237 )
* Save new variants
* Update channel data
* Remove bulk variant delete dialog
* Do not fetch products from api after save
* Extract types
* Reset errors after api response
* Display error when creating variants
* Fix variant reordering
* Remove commented code
* Fix imports
* Edit attributes in datagrid (#2305 )
* Add basic dropdown cell
* Fix clickaway
* Add choice customization
* Add callback to fetch choices
* Add attriute value search
* wip
* Pass getSuggestions cb using props
* Fix row adding
* Fix choice creation
* Add styles to datagrid (#2315 )
* Improve cell styling
* Prevent navigation when scrolling horizontally
* Fix text editor styles
* Remove unused variable
* Update whole row after editing cell
* Translate column names
* Improve empty message
* Highlight newly created rows
* Add name editing
* Add disabled context menu to added rows
* Add column groups
* Translate column groups names
* Save edited name
* Fix missing column id error
* Add card to datagrid
* Improve shadow on scroll
* Improve fonts
* Fix toolbar placement
* Update api type definitions
* Fix copypasting from excel
* Fix editor font weight
* Improve dark theme
* Improve cell coloring
* Drop styling from story
* Add docs to datagrid (#2339 )
* Add docs
* Add summary
* Datagrid fix bugs (#2341 )
* Pass refetch to form to avoid double calls
* Add missing prop
* Remove paddings (#2352 )
* remove paddings
* remove paddings
* remove paddings
* remove vertical scroll
* update tests
* styles, currency
* Fix variants tests in datagrid (#2365 )
* refactor variant test after adding datagrid
* adding assertion to check if datagrid table is visible
* adding check for datagrid
* fix flaky tests in variants
* fix flaky tests in variants
* small changes
* amedments
* update styles
* refactoring, handle prices
* update snapshots
* messages
* snap
* scrolling handle, css for safari
* snap, random mock
* update overflow
* history back hook
* fix cross-price changing, scroll optimization
* trigger ci
* channel checking when adding new variant
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-10-18 11:10:15 +02:00
Dawid
9f7c934dec
Fix dropdown select arrow clicks bugs ( #2301 )
...
* Fix dropdown arrow click
* Fix multi-select dropdown arrow click
* Update changelog
* Update test snapshots of select inputs
* Grey out select dropdowns bottom arrow
* Prevent clearing input value in multiselect on item select
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 13:39:25 +02: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
Wojciech Mista
d3db86a2d2
Fix currency autocomplete widget ( #1865 )
...
* bump downshift version
* Firther refactor for downshift bump
* Update tests
* Remove unnecessary id property
* Remove unnecessary !important
2022-03-01 16:04:44 +01:00
Karolina Rakoczy
f5a8db9f2e
Update data test ids for 3.1 ( #1814 )
...
* add update data test ids
* fix not changed test ids
* fix data-test-id for gift cards
* remove comment
* fix base url
2022-02-11 12:28:55 +01:00
Karolina Rakoczy
5ede05affe
fix failing tests ( #1797 )
...
* fix failing tests
* fix tests for gift cards
* fix tests for gift cards
* upload video only when fail
* fix preorder time
* fixed translation page
* fix navigation, stripe and adyen
* fix graphQl npm
* update stories
2022-01-31 09:37:49 +01:00
Dominik Żegleń
f8254fd11b
Bump macaw to 0.3 ( #1807 )
...
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix visual bugs and artifacts
* Fix dropdown menus being clipped (#1762 )
* wip
* Fix clipped select menus
* Remove unused import
* Fix spacing
* Fix tests
* Fix select content appearing under dialogs (#1777 )
* Fix type errors
* Fix bulk delete button placement
* Fix filter arrow buttons
* Fix messages
* Remove backling from pages list
* Move status above events
* Update messages and snapshots
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 13:34:20 +01:00
Piotr Grundas
ebe56da583
Add swatch attributes ( #1301 )
...
* Initial work
* #
* Base color logic
* Handle file urls
* Improvements, fix snapshots
* Add messages
* Update changelog
* Update storybook
* Improvements
* Messages
* Review corrections
* Bugfixes
2021-09-21 15:16:21 +02:00
Dominik Żegleń
62817568a7
Use MacawUI ( #1229 )
...
* Replace withStyleswith useStyles (#1100 )
* Replace withStyleswith useStyles
* Update messages
* Use rem as a spacing unit (#1101 )
* Use rems as spacing units
* Fix visual bugs
* Update stories
* Use macaw-ui as theme provider (#1108 )
* Use macaw ui as a theme provider
* Add react-dom to aliases
* Fix jest module resolution
* Update useTheme hook usage
* Fix test wrapper
* Use macaw from git repo
* Fix CI
* Update stories
* Fix aliasing
* Extract savebar to macaw ui (#1146 )
* wip
* Use savebar from macaw
* Use confirm button from macaw
* Improve file structure
* Use sidebar context from macaw
* Update macaw
* Update macaw version
* Remove savebar from storybook
* Update stories
* Use alerts and notifications from macaw (#1166 )
* Use alerts from macaw
* Add notifications from macaw
* Update stories
* Pin macaw version
* Encapsulate limit reached in one component
* Remove unused imports
* Use backlinks from macaw (#1183 )
* Use backlink from macaw
* Update macaw version
* Use macaw sidebar (#1148 )
* Use sidebar from macaw
* Use shipped logo
* Use lowercase
* Update stories
* Use user chip from macaw (#1191 )
* Use user chip from macaw
* Use dedicated components for menu items
* Simplify code
* Bump version and fix types (#1210 )
* Rename onBack to onClick
* Rename UserChip to UserChipMenu
* Rename IMenuItem to SidebarMenuItem
* Update macaw version
* Fix tables after changes in macaw (#1220 )
* Update macaw version
* Update changelog
* Update stories
* Fix after rebase
* Update to macaw 0.2.0
* Lint files
* Update macaw to 0.2.2
2021-07-21 10:59:52 +02:00
Jakub Majorek
29f6c5496b
Use root level channel argument ( #1126 )
...
* Use root level channel argument
* Update schema after rebase
* Adjust list views (#1187 )
* Use root level channel argument
* Use channel from filters
* Handle sort keys that require channel
* Add channel filter on sales and vouchers pages
* Update queries
* Fix tests/fixtures
* Block sort on discount pages
* Add generic filter validation
* Fix tests, update changelog
* Channels availability status changes, code cleanup
* Update snapshots
2021-06-28 15:51:19 +02:00
Dawid Tarasiuk
d342bdb63b
Variant attribute values pagination ( #1133 )
...
* Implement attribute values pagination in variant pages
* Implement attribute values pagination in variant creator
* Update variant creator design bugs
* Fix deleting attribute value error
* Refactor attribute value handling in variant creator
* Update after review
* Create local pagination state for attribute values
* Fix autocomplete select field scrolling on fetch more
* Change onAttributeSelect to onAttributeFocus
* Update cypress test function with attribute values pagination
2021-06-08 09:51:27 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size ( #1103 )
...
* Add analysis tools
* Use deep imports to reduce bundle size
* Remove tslint config
* Remove unused packages
* Remove lodash-es references
* Use root level mui imports
* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Dominik Żegleń
416d7d87f6
Improve theming ( #1020 )
...
* Remove unused code
* Move theme to separate directory
* Separate types
* Separate shadows
* Separate shadows
* Rename types
* Modularize code
* Do not pollute prototypes
* Fix missing import
* Aliast mui styles
* Import theming internally
* Fix types
* Fix override type
2021-03-30 09:40:18 +02:00
dominik-zeglen
87ece837db
Show empty option only when prop is passed
2020-10-12 12:56:10 +02:00
dominik-zeglen
c15aaa833b
Fix attribute empty option
2020-10-12 12:56:08 +02:00
Krzysztof Wolski
7cd3409bb3
Fix failing cypress test ( #738 )
...
* Add test selector for autocomplete field
* Update snapshot
2020-09-30 11:48:00 +02:00
dominik-zeglen
baff4413a5
Improve rendering of large lists
2020-09-24 13:46:50 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag ( #582 )
...
* Resolve test warnings
* Tename data-tc to data-test
* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters ( #519 )
...
* Add circleci config
* Season linting config
* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
0805ff052d
Fix assigning shipping zone to warehouse
2020-04-28 16:33:18 +02:00
dominik-zeglen
97ffc07738
Make warehouse and shipping work
2020-04-28 16:33:15 +02:00
dominik-zeglen
60ec16961c
Add warehouse create action button
2020-04-28 16:33:08 +02:00
dominik-zeglen
76a60f7dfe
Let click event pass through arrow
2019-12-02 16:48:19 +01:00
dominik-zeglen
1311588157
Fix clickable areas
2019-11-29 13:19:18 +01:00
dominik-zeglen
d84ba84e91
Update @material-ui
2019-11-07 14:22:40 +01:00
dominik-zeglen
1de5f7435d
Show arrow before scrolling
2019-10-16 17:52:22 +02:00
dominik-zeglen
1a58d4ab80
Set offset
2019-10-16 17:52:20 +02:00
dominik-zeglen
ae14076ceb
Improve scrolling experience
2019-10-16 17:52:19 +02:00
dominik-zeglen
c33102b472
Show shadow only when scrollable
2019-10-16 17:52:18 +02:00
dominik-zeglen
d99321be84
Add dynamic loading
2019-10-16 17:52:16 +02:00
dominik-zeglen
0bf7594ce0
Refactor ui a bit
2019-10-16 17:52:15 +02:00