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
Dawid Tarasiuk
64c0f0fcc4
Update list settings types ( #1165 )
2021-06-15 17:15:14 +02:00
Dawid Tarasiuk
988b191690
Change attribute values to choices ( #1129 )
...
* Change attribute values to choices
* Trigger CI
2021-06-08 09:51:26 +02:00
Dawid Tarasiuk
f5324cee60
SALEOR-3345 Attribute values pagination on attribute details page ( #1116 )
...
* Attribute values pagination on attribute details page
* Update test snapshots
* Update values pagination in attribute create page
* Trigger CI
* Update attribute valus list pagination settings
* Update attribute details queries
* Fetch only attribute values after values update
2021-06-08 09:51:26 +02:00
Piotr Grundas
2a21609eae
Numeric attributes ( #1065 )
...
* Update schema, types
* Add numeric unit control
* Improvements, tests
* Cleanup
* Add messages
* Small fixes
* Add test id's
* Improve useForm, logic
* Use short names
* Review corrections
* Small improvements
2021-04-29 10:58:03 +02:00
Dawid Tarasiuk
8b0fe986b2
1425 - Support reference type attribute on attribute details page ( #918 )
...
* Support reference type attribute on attribute details page
* Trigger CI
* Prevent changing attribute entity type during attribute update
* Refactor attribute details components
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
1e140853ec
File attributes ( #884 )
...
* Update changelog with file attributes
* Add file type attribute
* Update attribute properties form
* Update translation messages with file upload
* Create generic attributes component (#832 )
* Create generic Attributes component
* Add story for Attributes component
* Remove deprecated attribute value type field from queries
* Update test snapshots of attributes component
* Add file upload field to atributes (#888 )
* Add story for Attributes component
* Update test snapshots of attributes component
* Create file upload field in attributes
* Update upload file input data-test
* Update storybook test snapshots of attributes
* Add dedicated input props to file field
* Run Cypress using custom API
* Add missing error handling in file upload field
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Add file attribute upload to page attributes (#894 )
* Support upload file attribute for pages
* Update after review
* Add file attribute upload to variant attributes (#892 )
* Support upload file attribute for variants
* Update after review
* Refactor attribute values errors merging
* Update after review
* Add file attribute upload to product attributes (#826 )
* Support upload file attribute for products
* Update after review
* Refactor attribute values errors merging
* Refactor product attribute value delete handling
* Fix deleting file in file upload field
* Fix delete attribute values errors handling
* Add link to file upload field (#898 )
* Update file attributes updates (#899 )
* Update file attributes updates
* Refactor file uploads handling
* Move attributes utils to attributes directory
* Fix product channel listing updates
* Clear file field value if file is not passed as prop
* Delete attribute values before update (#908 )
* Delete file attributes after file update
* Triggr CI
* Show skeleton in file upload field during loading
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 11:53:28 +01:00
Dawid Tarasiuk
fc02fce701
Page types ( #807 )
...
* Create attribute class selector
* Use ProductAttributeType to check if product is simple or with variants
* Allow attribute class selection only during its creation
* Update attribute type selection translations
* Show only product attributes in columns picker on product list view
* Cleanups in Attribute Organization component
* Create Page Types list page
* Create content management section in settings
* Implement page types list view
* Remove unused imports from page type list
* Updatte page type list style
* Remove legacy code from page type list component
* Update PageTypeListPage component
* Create Page Types details page
* Fix page type attribute reordering
* Implement PageType create view
* Implement PageType update view
* gUpdate page type details components
* Fix page type update component
* Update page type components stories
* Update page type errors handling
* Update page type details view
* Create Page Types details page
* Implement PageType create view
* Update product attribute assignment mutations
* Add page types attribute assignment mutations
* Add page types attribute assignment handling
* Temporarily fix page create mutation
* Update page type error messages
* Remove legacy storybook page type stories
* Update attribute assignment dialogs stories
* Update page type details error handling
* Update props for page type components
* Create attribute class selector
* Implement page types list view
* Add page type selector on page create and details views
* Add attributes list to page details views
* Update page types list
* Use attribute errors for attributes muatations
* Save attribute values on page create and update
* Update messages for page view
* Update page attributes fragment
* Use AttributeError in AttributeBulkDelete
* Update page type and its attribute selection
* Handle page types deleting
* Update page types deleting messages
* Handle page types attribute reorder
* Fix PageOrganizeContent component types
* Update graphqql types
* Fix page fixture
* Update messages
* Update test snapshots
* Pass pageTypes to PageForm
* Update changelog with page type addition note
* Update package-lock
* Update test snapshots
* Fix malformed generated type
* Update messages after rebase
2020-11-19 15:42:14 +01:00
dominik-zeglen
a27a029452
Pass promise to reset form state
2020-10-30 16:10:06 +01:00
Dominik Żegleń
287a2eb8ed
Hide save bar if no action is available ( #735 )
2020-10-01 17:50:17 +02:00
dominik-zeglen
5ef0da5b1e
Simpify logic
2020-09-02 12:12:32 +02:00
dominik-zeglen
ca78ecc19f
Add metadata editor to attribute creator
2020-09-01 17:14:48 +02:00
Dominik Żegleń
7770ae34df
Add metadata ( #670 )
...
* Add metadata editor component
* Add tests
* Fix plurals
* Use pascal case in selectors
* Update product metadata
* Add metadata handler decorator
* Update snapshots
* wip
* Remove operation provider component
* Add metadata to collections
* Add metadata editor to variant
* Add metadata editor to categories
* Add metadata to product types
* Simplify code
* Add metadata to attributes
* Drop maybe
* Rename Metadata to MetadataFragment
* Update changelog and snapshots
2020-08-28 14:45:11 +02:00
dominik-zeglen
eddec1a5c2
Move fragments to avoid circular imports
2020-07-07 12:14:12 +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
381665409f
Rebase fixes
2020-03-24 15:05:26 +01:00
Dominik Żegleń
bf92214fc3
Revert "Use error formatting in product type section"
2020-03-11 10:56:04 +01:00
dominik-zeglen
db14154c34
Use error formatting in attribute view
2020-03-04 13:50:25 +01:00
dominik-zeglen
c4863ece60
Do not store errors in form component
2020-02-24 15:14:48 +01:00
dominik-zeglen
8a71976c4b
Use prettier
2019-08-29 14:12:35 +02:00
dominik-zeglen
a472c8cd1a
Remove ids
2019-08-29 14:12:34 +02:00
Dominik Żegleń
a573f5e139
Refactor attribute section translations
2019-08-29 14:12:34 +02:00
dominik-zeglen
8fdf89c66f
Add availableInGrid field
2019-08-21 15:26:24 +02:00
dominik-zeglen
a2dd1a1404
Add missing files
2019-08-09 12:17:04 +02:00