Commit graph

439 commits

Author SHA1 Message Date
Patryk Andrzejewski
931be66667
Add setting i channel configurations that toggles transaction flow strategy (#4062)
* Add defaultTransactionFlowStrategy chechbox

* Add defaultTransactionFlowStrategy chechbox

* Fix translations, typos

* Fix copy
2023-08-17 13:20:40 +02:00
Patryk Andrzejewski
aaf646399e
Feature previews (#4079)
* Feature preview

* Feature preview

* Feature preview

* Feature preview

* Feature preview

* Add visible flag

* Typo

* Typo

* Fix re-login

* Fix re-login

* Fix enable

* Fix enable

* content

* Fix types, overflow content

* Fix user menu
2023-08-17 12:36:11 +02:00
Patryk Andrzejewski
e356674c76
Display gift card on order (#4070)
* Link giftcard when was used in order

* Link giftcard when was used in order

* Messages
2023-08-17 10:39:14 +02:00
Wojciech Mista
3c1d84f775
Update message on login page (#4072) 2023-08-14 08:53:56 +02:00
Lukasz Ostrowski
c0909f3254
Display app webhooks and deliveries in Manage App view (#4066)
* Add webhooks deliveries display to manage app page

* make 2 columns layout on manage apps view

* add chip for webhook active state

* Add borders to manage app layout

* fix ts strict

* wip before accordion

* add accordion

* improve look of failed deliveries

* extract translations
2023-08-08 12:25:10 +02:00
Paweł Chyła
a63af3ab73
Assign channel to permission group (#3515) 2023-08-04 12:42:04 +02:00
Lukasz Ostrowski
a25a8db3d0
Inform about app replacements of plugins in plugins page (#4047)
* Inform about app replacements of plugins in plugins page

* Change Alert implementation to macaw Box
2023-08-03 15:53:58 +02:00
Paweł Chyła
9037c9cfd1
Introduce datagrid on attributes list view (#4040) 2023-08-03 10:23:13 +02:00
Paweł Chyła
f14ba5bcfd
Introduce datagrid on staff members list view (#4044) 2023-08-03 09:52:39 +02:00
Paweł Chyła
41fde64fc8
Introduce datagrid on voucher list view (#4036) 2023-08-02 09:25:07 +02:00
Michał Droń
dac77169ae
Add channel setting which allows unpaid orders (#4037)
* Fetch schema

* Build types

* Update GraphQL types

* Implement allow unpaid orders checkbox

* Extract messages

* Fix fixtures

* Fix strict null checks in ChannelForm component

* Rework paddings

* Change checkbox label

* Add changeset

* Fix country code issue when creating new channel
2023-08-01 13:24:23 +02:00
Michał Droń
0995b02dfb
Content list datagrid (#4024)
* Build types

* (wip) Page list datagrid implementation

* Bulk actions

* Add changeset
2023-08-01 10:30:05 +02:00
Krzysztof Żuraw
d38abfb16b
Experimental filters: warning banner for legacy filter presets (#4033) 2023-07-31 09:53:27 +02:00
Krzysztof Żuraw
d9c600452c
Experimental filters: adjusts UI and fix types errors (#3996) 2023-07-26 11:39:24 +02:00
Lukasz Ostrowski
fa6e469792
App permissions request flow (#3962)
* WIP - app permissions request flow

* Add copy to permissions view

* Add better ui

* Handle scenario when app already has permissions

* refactor urls

* tests

* Extract translations

* fix strict ts

* extract mesages

* Fix linter

* CR Fixes + handle case when user cant update app

* Extract messages
2023-07-25 10:45:34 +02:00
Michał Droń
a333adbb43
Customer list datagrid (#3940)
* Add default columns to customers list view

* Customer list datagrid implementation

* Fix types

* Remove old code

* Migrate some of the files to strict null checks

* Extract messages

* Add changeset

* Drop Tabs

* Fix filter presets typo

* Reuse bulk delete button

* Fix crashing presets

* Enlarge columns

* Extract to a separat function

* Fix race condition

* Fix type post-merge
2023-07-24 09:49:13 +02:00
Paweł Chyła
ce1854b2ca
Introduce datagrid in grift cards list (#3894)
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
2023-07-19 15:31:33 +02:00
Paweł Chyła
52f58eb00a
Introduce datagrid on Discounts list (#3939)
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-19 15:31:13 +02:00
Paweł Chyła
b66af99477
Migrate Home page to new macaw (#3737) 2023-07-18 12:01:15 +02:00
Paweł Chyła
8dd453d6d7
Introduce common bulk delete button and improve copy (#3900) 2023-07-13 11:01:07 +02:00
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
Matthias Berchtold
5b4d07d547
View all orders of anonymous customer (#3879)
* feat: view all orders of anonymous customer

* fix: formatting error
fix: translation-messages
2023-07-11 10:48:49 +02:00
Paweł Chyła
4ad8c15366
Collections listing datagrid (#3835)
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
2023-07-11 08:59:01 +02:00
Timur Carpeev
de098fd520
Order page nudges (#3671)
* Capitalize first letter

* Use small pills

* Add default title

* Shorten button label

* Move action button to the right

* Update messages

* Harmonize styles

* Align rows

* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/EventStatus.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/CardTitle/CardTitle.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/CardTitle/CardTitle.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Update src/orders/components/OrderTransaction/components/TransactionEvents/components/EventType.tsx

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>

* Fix import

* Extract messages

* Fix spacing

* Changeset

---------

Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Co-authored-by: Paweł Chyła <pawel.chyla@saleor.io>
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-07-10 15:06:11 +02:00
Paweł Chyła
3093be1b7d
Drop deprecated field in transactionsAPI (#3873) 2023-07-06 13:01:10 +02:00
Paweł Chyła
09c9024e0d
Order drafts list datagrid (#3765) 2023-07-04 09:27:17 +02:00
Paweł Chyła
b4f11eff66
Category listing datagrid (#3760)
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-04 09:23:27 +02:00
Lukasz Ostrowski
1cb6e8b5fc
Manual app permissions setting by the user (#3829)
* Remove react-markdown, render app about section as string

* Add modal with permissions - WIP

* Extract components

* add permissions diff

* add mutation

* add notification

* fix dialog scrolling

* Extract messages in permissions dialog

* test for useGetAvailableAppPermissions.ts

* add test to state

* fix enums

* add changeset and extract root messages

* Update wicked-berries-watch.md

* fix linter

* fix ts

* cr fixes
2023-07-03 14:50:53 +02:00
Lukasz Ostrowski
a1482cc453
Refactor AppDetailsPage to Macaw Next (#3818)
* Refactor AppDetailsPage to Macaw Next

* Update locales

* CR fixes

* Add error boundary
2023-06-29 15:50:13 +02:00
Michał Droń
66bab6feab
🏛️ Implement new column picker (#3514)
* (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
2023-06-26 11:36:01 +02:00
Paweł Chyła
2db64cd135
Allow to copy and go to product details on order details datagrid (#3744) 2023-06-20 10:29:28 +02:00
Timur Carpeev
f2f11a6450
Remove configurable label (#3646)
* Remove default export

* Rename misleading labels

* Remove default export

* Remove redundant message

* Extract messages

---------

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-06-06 14:27:56 +02:00
Timur Carpeev
f5f216eca3
Remove misleading currency caption (#3620)
* Remove misleading voucher value caption

* Remove misleading order value caption

* Remove misleading sale value caption

* Remove misleading pricing card value caption

* Remove misleading variant pricing card value caption

* Extract messages

* Update messages

---------

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-06-06 14:27:30 +02:00
Patryk Andrzejewski
f5cb534d12
Email confirmation checkbox (#3680)
* Email confirmation

* Email confimrmation form

* Email confimrmation form

* Copy, padding adjustments

* Messages
2023-05-31 10:27:10 +02:00
Timur Carpeev
78077f8220
Remove misleading helperText on SEO form (#3677) 2023-05-23 10:35:16 +02:00
Lukasz Ostrowski
8f58efcd50
Rebuild App Settings to be nested inside app screen (#3676)
* Rebuild App Settings to be nested inside app screen

* Remove memoization

* Update src/apps/components/AppPage/AppPageNav.tsx

Co-authored-by: Michał Droń <droniu@droniu.dev>

---------

Co-authored-by: Michał Droń <droniu@droniu.dev>
2023-05-22 08:35:35 +02:00
Paweł Chyła
55337b5998
Order details datagrid (#3325)
* 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>

* Datagrin on order details intial

* Adjust ExtraInfoLines

* Remove padding on datagrid card content

* Remove datagrid card paddding (#3310)

* Disable column icon when no rows in orders

* Datagrid row hover show only when readonly and row clickable

* 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

* Datagrin in orderDraftDetails

* Remove not used components

* 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

* Use empty column and themeValues

* 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

* Refactor OrderDraftDetailsDatagrid

* Extract messages

* Refactor OrderDraftDetailsDatagrid

* Update alert messages

* 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

* Use utils functions, remove not used code

* Refactor to hooks

* Loading prps instead of disabled

* use getStatusColor

* Move getMenuItems to separate function

* Fix loading props

* Use empty colum hook in OrderDetailsDatagrid

* Fix empty column when save column change

* Fix bottom line in layout overlap

* Show moneCell with discounted price

* Make quantity ediable in order draft datagrid

* Readonly datagrid cells

* Update onyl when column is quantity

* Fix message

* 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

* Use formatMoneyAmount

* Fix remove order draft product with discount

* Extract messages

* Add product sku to order draft details datagrid

* Fix loading state and change cell color

* Add MoneyDiscuntedCell

* Use MoneyDiscuntedCell in order draft details datagrid

* Add trash bin icon

* Restor discount modal for order draft summary

* Fix problem with deleting quantity

* Improve await for promises and handler zero quantity error

* Fix column order issue

* Add discount modal box shadow

* Allow decimal as percentage value for discount

* Fix max fixed value

* Remove double border

* Fix z-index issue on discount modal

* Remove padding on order details datagrid

* Add proper error message to common discount modal

* Fix is submit disabled

* Move status as last column in datagrid

* Add padding to money discount cell editor

* Make quantity column smaller

* Fix recalculating disount value

* Fix calculate change discount type

* Store calculated value without triming decimal, trim decimal in input

* Refactor money cells

* markCellsDirty rename to areCellsDirty

* Remove discount from MoneyCell

* Use const to store row height in discount editor

* Fix copy in discount modal

* Remove past on money discount cell

* Remove locale in product varaints

* Fix nullable sku

* Extract messages

* Fix keeping always first column

* Remove padding on tracking info

* Fix story

* Fix render 0 money amount

* Fix displaying not empty string money

* adding new tests: add new product, change quantity, add inline discount, delete product for grid - on orders details view (#3652)

* adding new e2e for grid on orders details view

* merging conflicts fix - and adding new TC numbers to new tests

* trigger tests

* failing tests fixes

---------

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>
Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-18 09:52:13 +02:00
Paweł Chyła
5eb0be2dc3
Product list bulk delete (#3562)
* Datagrid column checkboxes with delete action

* Handle product bulk delete

* Fix border line between columns

* Clear selection after product delete mutation

* Handle row selection

* Improve handleRowDelete, use clearRowSelection

* Fix restart row selection

* Cleanup

* Fix for delete modal

* Fix showing delete modal

* Add delete button next to switcher

* Extract messages

* Fix checking rows in product list datagrid

* Check console

* Check on row click

* Fix fire click when selection checkbox

* Simplifie vertiacal border condition

* Clear selected product when pagination

* Fix issue with columns and row selections

* Fix hiding tooltip when modal close

* Update storybook props fix accordion use

* Fix row selection

* Fix clear selection after pagination change

* Apply cr changes
2023-05-10 14:09:52 +02:00
Krzysztof Żuraw
180e3c56e6
Migrate product create page to new MacawUI (#3372)
Co-authored-by: Michał Droń <droniu@droniu.dev>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-04 10:57:18 +02:00
Jonatan Witoszek
13ca6bbba8
Remove transactions feature flag (#3557)
* Update schema, remove transaction specific files

* Merge `.transaction` queries and mutations into regular files

* Merge OrderDetails fragments

* Remove usage of `.transaction` graphl types

* Update fixtures

* Remove usage of useFlag, remove duplicated queries & mutations

* Fix displayed event type for INFO

* Remove type alias from order/types.ts, remove type casting

* Fix failing tests

* Add preview label and better description in Channel settings

* Update button in GrantRefund page

* Fix missing data-test-id

* Extract messages

* Visual fixes

* Revert changes to generated files

* Revert changes to generated files

* Fix psp reference hover

* Fix colors on manu refunds screen

* Revert "Fix colors on manu refunds screen"

This reverts commit 02302930ab502a4fdc3c71558532a2d74f2e32c9.

---------

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
Co-authored-by: Michal Miszczyszyn <michal@mmiszy.pl>
2023-04-28 13:24:10 +02:00
Paweł Chyła
8adadfb2ab
Static datagrid in order view (#3276)
* 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>
2023-04-20 09:52:44 +02:00
Krzysztof Żuraw
fc8f4be4e9
Add author field to app details page (#3455) 2023-04-20 09:39:54 +02:00
Paweł Chyła
63b98a08bf
Select filter presets (#3412) 2023-04-12 09:11:11 +02:00
Krzysztof Żuraw
97c7a32455
Revert author field on app details page (#3453) 2023-04-04 10:55:12 +02:00
Patryk Andrzejewski
41ad0f6fd8
Homepage alignments (#3421)
* Home alignments

* Set paddings

* Messages

* Center cheviron

* Center cheviron
2023-03-30 09:58:19 +02:00
Jakub Neander
82d15f4441
Copy filters automatically to GraphiQL playground (#3385) 2023-03-23 15:53:48 +01:00
Krzysztof Żuraw
9690313d16
Add author field to app details page (#3379) 2023-03-22 13:17:48 +01:00
Michał Droń
f8d86510b2
🏷️ Rework product list view (#3296) 2023-03-20 13:06:33 +01:00
Jakub Neander
c0b69e7c31
Add DevMode panel (trigger: CMD+') (#3333) 2023-03-17 15:10:58 +01:00
Timur Carpeev
b31e4522a1
Demo banner (#3306)
* Redesign demo banner

* Update messages

* Added hover and active states
2023-03-17 14:30:39 +01:00