Commit graph

2272 commits

Author SHA1 Message Date
Timur Carpeev
6271eba349
Datagrid refinements (#3538)
* Increase row height

* Make header height consistent

* Make header text consistent

* Highlight header on column focus

* Apply consistent text colors

* Add visible hover to columns

* Adjust column select colors

* Use consistent hover color
2023-04-21 09:02:31 +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
Timur Carpeev
c5f476152d
Update Saleor icons and favicons (#3509) 2023-04-20 09:40:29 +02:00
Krzysztof Żuraw
fc8f4be4e9
Add author field to app details page (#3455) 2023-04-20 09:39:54 +02:00
Timur Carpeev
fc2554bd50
Add more padding in sidebar menu list item (#3510) 2023-04-20 09:12:59 +02:00
Timur Carpeev
70ed5f87a1
Increase dots size in product card list (#3505) 2023-04-20 09:06:40 +02:00
wojteknowacki
375aea0fff
Add presets tests for products list view (#3506) 2023-04-18 11:54:23 +02:00
Jonatan Witoszek
593867f0c5
Fix iframe reloaded on each theme change (#3491)
* Fix iframe reloaded on each theme change

* CR
2023-04-13 14:18:14 +02:00
Jakub Neander
d5d96b79cb
Align the background colors (#3473) 2023-04-13 10:19:10 +02:00
Paweł Chyła
5da48b07af
Replace all old tooltips with new one from macaw (#3485) 2023-04-12 15:55:42 +02:00
Paweł Chyła
548c10676e
Use new tooltip from macaw in filter presets (#3467) 2023-04-12 10:07:16 +02:00
Paweł Chyła
935c224bb2
Fix network error handling (#3406) 2023-04-12 09:46:11 +02:00
Paweł Chyła
63b98a08bf
Select filter presets (#3412) 2023-04-12 09:11:11 +02:00
Jakub Neander
80f3e7a575
Fix background transparency in GraphiQL hints (#3434) 2023-04-05 12:13:59 +02:00
Krzysztof Żuraw
aa2031eac3
Remove scrollbar on Safari when on details page (#3448) 2023-04-04 10:56:53 +02:00
Krzysztof Żuraw
97c7a32455
Revert author field on app details page (#3453) 2023-04-04 10:55:12 +02:00
Paweł Chyła
a3b32def62
Fix double back require to move back on orders (#3429)
* Fix double back require to move back

* Add missing replace true
2023-03-30 12:55:24 +02:00
Krzysztof Żuraw
fc43969114
Logout user on failure when login via external source (#3405) 2023-03-30 11:14:53 +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
Paweł Chyła
0a5100c4a3
Fix colors for change and error cells in datagrid (#3422)
* Fix colors for change and error cells in datagrid

* Fix borader overlapping in bottom of datagrid
2023-03-28 08:20:14 +02:00
Bartłomiej Wiaduch
5dabfc315f
Update subscription query with Event types only and improve Event picking (#3357) 2023-03-23 16:31:04 +01:00
Jakub Neander
b36b4859f1
Use TypeScript 5.x significantly smaller & faster (#3387) 2023-03-23 15:56:08 +01: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
Jakub Neander
49b50cb4c3
Fix styling for GraphiQL on the webhook page (#3389) 2023-03-22 12:40:35 +01:00
Paweł Chyła
516a64b0fb
Fix fetch taxes first limit (#3398) 2023-03-22 09:48:08 +01:00
Paweł Chyła
e22d8f0e68
Fix infinite spinner during tax selection (#3397) 2023-03-21 21:02:59 +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
Michał Droń
cdd733423b
Fix adding empty order line in order drafts & unconfirmed orders (#3371)
* Extract util function to a seperate file

* Disable confirm button when no variant is selected
2023-03-17 12:44:20 +01:00
Krzysztof Żuraw
7a5b919ae4
Fix site settings layout (#3362) 2023-03-17 12:21:42 +01:00
Krzysztof Żuraw
368678c7c4
Fix add missing avatars (#3351) 2023-03-17 12:12:21 +01:00
Michał Droń
51326e52c4
Refactor apps UI (#3363)
* Bump macaw-ui

* Add grouping util

* Refactor App cards UI using CSS Grid

* Rename AppListCard to AppListRow

* Fix unit tests

* Bump macaw-ui

* Remove inline styling

* Fix app installtion for second pair

* Add keys to grid rows

* Change grid template rows to repeat(4, auto)

* Replace groupIntoPairs with chunk method from lodash

* Fix borders on safari

* Add paddings to section names
2023-03-17 10:38:51 +01:00
Krzysztof Żuraw
4eebf16b55
Fix Gift Cards (#3352) 2023-03-17 08:41:44 +01:00
Lukasz Ostrowski
4ad8ad4a66
Introduce "debug" package and replace console.debug with it (#3358) 2023-03-15 10:44:02 +01:00
Paweł Chyła
9e6e6e39ca
Fix spacing in discounts (#3350)
* Fix spacing in discounts

* Remove not needed spaces in vouchers and sales
2023-03-15 09:12:07 +01:00
Krzysztof Żuraw
d3c901f210
Remove webkit-font-smoothing (#3361) 2023-03-14 15:22:28 +01:00
Krzysztof Żuraw
5c07ac0916
Fix default locale to en-US locale (#3356) 2023-03-14 14:25:40 +01:00
Paweł Chyła
d7aa0200c2
Fix remove more than 20 products (#3348) 2023-03-14 14:19:40 +01:00
Paweł Chyła
fcfc5a52b6
Fix js editor loader height (#3349) 2023-03-14 13:59:08 +01:00
Krzysztof Żuraw
05ea511937
Fix webhook details (#3334) 2023-03-14 13:38:58 +01:00
Lukasz Ostrowski
5b945162a7
Remove legacy Marketplace code and env variables that it was using (#3342)
* Remove legacy Marketplace code and env variables that it was using

* Update locales
2023-03-14 12:17:19 +01:00
Paweł Chyła
183a523e50
Fix custom app cruch whe no permissions (#3347) 2023-03-14 09:25:21 +01:00
Krzysztof Żuraw
48fb75423a
Fix staff avatars (#3314) 2023-03-13 15:20:58 +01:00
Krzysztof Żuraw
d33db9f2f5
Fix add product to order modal title & subtitle (#3337) 2023-03-13 12:45:02 +01:00
Krzysztof Żuraw
93c2459013
Fix allow click on webhook checkbox (#3327) 2023-03-13 11:55:03 +01:00
Krzysztof Żuraw
9b4fb2d553
Fix scrolling issues on Firefox (#3332) 2023-03-13 10:36:04 +01:00
Krzysztof Żuraw
71d5ac3992
Fix fonts for safari & order settings page (#3316) 2023-03-10 10:38:14 +01:00
Michał Droń
228fe4d802
Fix overflowing integrations in app view (#3313)
* Bump lockfile

* Add flex-wrap to integrations

* Add flex-wrap to links

* Move integrations sections to upper card block
2023-03-10 09:08:08 +01:00