* (wip) basic column picker implementation
* (wip) fix stories error
* (wip) fix custom column cells & sorting
* (wip) Group attributes query values in props
* (wip) Add docs
* (wip) fix story error
* Implement new column picker in order list
* Fix search input padding
* Fix empty settings crash
* Fix empty settings crash
* Portalize popover
* Preselect category when there is only one
* Remove legacy code
* Move product column adapters to proper directory
* Improve file structure
* Rename custom columns to dynamic columns
* Improve strings
* (wip) Implement pagination logic
* Beautify pagination
* Update macaw-ui
* Add unit test for useColumns
* Improve naming
* Code review style fixes
* Update docs
* Remove empty column
* Remove unexpected padding from attribute columns
* Add min height to prevent jumping
* Fix typo in column picker files
* CSS fixes to popover content
* Implement auto-scroll to new column
* Improve docs
* Improve type in useColumns reducer
* Extract dynamic columns from NewColumnPicker as a smaller component
* Disable movement of empty column
* Fix circular loader
* Do not persist expanded state when closing picker
* Fix dynamic columns with long names line break
* Prevent user from disabling all static columns
* Simplify dynamic column reducer into flatMap
* Optimistic UIbasic implementation
* Make available attributes query lazy
* Fix displaying arrow next to sorted column
* Add explainatory comment
* Fix product list stories
* Fix dynamic columns and query handling for empty lists
* Remove jump on first attribute selection
* Remove jump on first attribute selection
* Fix search
* Add debounce to search
* CR - base state change on previous in popover
* Extract search into separate component
* Rename useDynamicColumnSettings to useColumnPickerSettings
* Use difference from lodash
* Improve static column rendering
* Improve order list
* Fix stories error
* Improve search for edge cases
* Extract messages
* Calculate more complex dynamic column adapter parameters in separate functions
* Fix url pointing to CardMenu substitute
* Extract nodes to separate component
* Move files, remove New prefix
* Extract to static columns
* Refactor utility functions
* Render column picker categories only when provided in props
* Replace switch with if statements
* Refactor to hooks
* Remove comments with legacy stacing
* Add spaces for better readibility
* Tighten types
* Add space
* Add extra comments to useColumns optimistic update logic
* Fix paddings
* Add arbitrary min/max height for handling various resolutions
* Add full-width hover & click effect on candidate columns labels
* Handle long attribute names
* Make column picker popover a modal
* Bump macaw-ui
* Fix macaw-ui type mismatch
* Update types
* Add data-test-id
* Fix closing picker with trigger button
* Replace list settings deep merging with shallow merging
* Fix list settings deep merging behaviour for arrays
* Replace conditional data-test-id- with close-search
* Rename targetArray to columnsToCheck
* Rename filterColumns to filterSelectedColumns
* Rename gridAttributes query objects to more descriptive
* Add explainatory comment to customizer function in useListSettings
* Update strictness
* Fix rendering dynamic columns
* Init datagrid
* Product type and channels on datagrid
* Move get cell content to utils
* Add channels to storybook
* Add product description to datagrid
* Thubnail cell with avatar
* Translations
* Allow add new empty product in datagrid
* Search product types
* useProductForm wth save bar and exit modal
* Add description to product fixture
* Add loading placeholder
* Remove old column picker
* Sorting
* Remove old ProductList
* Update filter props
* Add header icons
* Add sort icons to datagrid column
* Show available channels
* Add price and updatedAt columns
* Fix sorting, only sort on selected columns
* Sort by channel
* Allow delete name and product type
* Fix show not product found
* Extract mssages
* Product datagrid custom column picker
* Column picker in data grid in dirty hack for bug
* fix storybook props
* Restore Datagrid defalt column picker with custom render
* Add sort by attributes
* Use datagrid loading cells
* Fix product searching
* Show attributes before last updated
* Readonly all fields in datagrid
* Fix creating new datagrid row
* Remove add new procut button from datagrid
* Show only active sorted column
* Temp fix for column filter
* Fix column mismatch
* Add comments and spred props to ColumnPicker
* Cleanup
* Update avatar size and styles
* On row click with hover on row styles
* Use new theme
* Change placeholder image
* Draw rounded image with border
* Readonly product datagrid
* Use new theme colors in datagrid
* Add vertical borders control to datagrid
* Add empty column to add padding
* Add coursor to datagrid
* Restore vertical borders, fix cursor pointer
* Add custom freezed column
* Initial tooltip for column
* Move tooltip to datagrid
* Adjust datagrid colors style, add possibility to select column
* Change datagrid selected cells colors
* Fix typo and extract messages
* Base order datagrid
* Cleanup Datagrid component
* Cleanup and code refactor
* Remove cursor pointer props from readonlyCell
* Use money cell for total column
* Add custom cell renderers and fix types
* Simple tags implemenrtion for status and payment col
* Add colors from theme
* Make tagCell more dynamic
* Refactor Datagrid file structure
* Add loading indicators
* Selecting column without cells in readonly
* Add sort icons to orders list
* Refactor after CR. fix typos
* Change color of selected colum cell on hover
* Improve selected header text contrast
* Move useColumnPickerColumns to hooks dir with tests
* Add less padding to column picker button
* Remove double border top
* Fix cursor pointer for tagCell and moneyCell
* useGetCellContent hook
* On loading show only one row
* Add missing darkmod color for warning tag
* Refactor columns in datagrid
* Add new macaw theme provider to storybook
* Fix passing props in datagrid
* Trigger deployment
* Fix column picker in products
* useDatagridColumns
* Fix one more time
* Add column picker with default columns
* Change color for selected header change to textBrandDefault
* Remove unused code, move attributes colums as last
* Cleanup useDatagridColumns
* Improve DatagridProps
* Static datagrid for products (#3144)
* Migrate top nav of product list page to new MacawUI (#3290)
* feat: migrate top nav of product page
* feat: add proper deprecation links
---------
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Remove datagrid card paddding (#3310)
* Implement card view for product list (#3292)
* Add temporary view switcher
* Add basic product tile view
* Bump macaw-ui
* Add ellipsis
* Bump macaw-ui
* Add status dot & fix non-rectangular thumbnails
* Bump macaw-ui
* Add variable size placeholder icon
* Improve loader
* Fix top nav menu key error
* Add pagination
* Add unit tests
* Extract messages
* Extract status color to function
* CR Refactor
* Hold product view state in local storage (#3315)
* Remember view state for product list
* Use util status function for status dots
* Fix for empty column and hover in datagrid for product (#3324)
* Remove datagrid card paddding (#3310)
* Fix for empty column and hover in datagrid for product (#3324)
* Use themeValues from macaw (#3326)
* Upgrade macaw
* Use themeValues
* Use themeValues from macaw (#3326)
* Upgrade macaw
* Use themeValues
* Add empty column from datagrid, improve theme types
* Use theme type from typeof
* Filter empty column from default
* New product header (#3346)
* Extraxt messages
* Remve title left padding
* Fix switching view
* Add margin right to nav button
* Improve view switch
* Update switch view icons
* Add spacing to switch
* Add more space
* Add new filterbar to order list
* Code refactor and tests
* Extract messages
* Write unit tests
* Improve switch component
* Overwrite Pill styles
* Common method to get status color for pills
* Local Pill component POC
* Add ThemeProvider to test wrapper
* Extract messages
* Refactor Pill
* Fix Pill path
* Fix tests mocks
* Remove scrollbar and border bottom
* Add custom border to to datagrid
* Fix borders
* Fix border bottom
* Refactor and cleanup
* Remove not needed selectionActions code
* Move logic code t misc
* Fix scrollbar and zindex datagrid borders
* Fix product tiles condition
* Fix empty column when save column change
* Fix bottom line in layout overlap
* Keep first column in datagrid not removable
* Fix for not existing column
* Add loader over datagrid, fix problem with border top when empty text in variants
* Fix error color and change color in datagrid
* Filter presets select
* Fix delete tab name in modal, change order preset key
* Extract messages and apply cr fixes
* Keep active tab when filter and search change
* Apply filter in useColumnDefault
---------
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: Michał Droń <droniu@droniu.dev>