Commit graph

3549 commits

Author SHA1 Message Date
Anna Szczęch
3487dce57f
Fix test for orders after changing view to grid (#3545) 2023-04-21 13:34:56 +02:00
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
Cezary Miącz
44ba16e7ee
Notify dashboard-dev group on deployment failures (#3531) 2023-04-20 15:44:27 +02:00
Karolina Rakoczy
6c176f649a
Fix tests workflow (#3527) 2023-04-20 12:54:22 +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
Karolina Rakoczy
dc960a22b4
fix release workflow for minor versions (#3366)
* fix release workflow for minor versions

* fix run title

* fix run title

* fix run title

* fixes after review

* Fix get branch

* remove complicated if
2023-04-19 14:05:27 +02:00
Krzysztof Żuraw
82b0684c0e
Pin macaw-ui version (#3522) 2023-04-19 11:13:56 +02:00
Krzysztof Żuraw
1d8cbd86a9
Allow refreshing proper token based on token owner (#3516) 2023-04-18 14:35:16 +02:00
wojteknowacki
375aea0fff
Add presets tests for products list view (#3506) 2023-04-18 11:54:23 +02:00
Lukasz Ostrowski
799ba9bbfc
Update @saleor/app-sdk to 0.37.3 (#3502) 2023-04-18 08:44:42 +02:00
Karolina Rakoczy
054cd415cf
Add job for cleaning environments (#3359)
* add job for cleaning environments

* Fix job for cleaning environment

* Update .github/workflows/cleanEnvironments.js

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
2023-04-13 12:44:22 +00: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
Karolina Rakoczy
7a3d311aaf
run demo test (#3484)
* run demo test

* Improve ifs

* add type chioce, remove leftovers

* add test case with upper case
2023-04-13 11:05:42 +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
42584cdfc2
Close all the bump PRs (#3474) 2023-04-11 17:35:49 +02:00
Patryk Andrzejewski
5f6228d42e
Dependency testing (#3284)
* Depdendency testing

* Update gitignore
2023-04-06 12:29:24 +02:00
Patryk Andrzejewski
697750f4bb
Trigger demo staging deployment on release event (#3452) 2023-04-05 13:31:26 +02:00
Jakub Neander
80f3e7a575
Fix background transparency in GraphiQL hints (#3434) 2023-04-05 12:13:59 +02:00
wojteknowacki
fc1c367eaf
dashboard demo tests (#3431)
* dashboard demo tests
2023-04-05 09:09:53 +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
Krzysztof Żuraw
2a9b512178
Migrate to refresh token (#3426) 2023-03-31 10:17:48 +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
5beabd431d
Helper for grid-related e2e tests (#3424)
* Helper for grid-related e2e tests

* Helper

* Conflicts
2023-03-30 09:59:35 +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
Karolina Rakoczy
8ef76a7518
Add workflow for percy demo test (#3430)
* add workflow for percy demo tests

* add to run on PR for tests reasons

* use default url if not set in inputs

* fix record

* fix record

* add cache

* remove run on PR
2023-03-29 12:36:44 +02:00
Patryk Andrzejewski
34bf4731f4
Fix version check sh script (#3435) 2023-03-29 11:23:20 +02:00
wojteknowacki
262caea8e6
working visual tests - percy 1st attempt (#3400)
* working visual tests - percy 1st attempt

---------

Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2023-03-28 12:59:33 +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
Jakub Neander
b576f8f8e5
Fix some vulnerabilities reported by npm audit (#3215) 2023-03-24 10:44:19 +01:00
wojteknowacki
dd2a643566
fixing failing tests (#3411)
* fixing failing tests
2023-03-24 09:03:48 +01: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
wojteknowacki
4fa11af37d
test 0209 fix (#3404)
* test 0209 fix
2023-03-22 11:58:51 +01:00
Jakub Neander
15f8b6625c
Migrate to es2020 for TS (#3386) 2023-03-22 10:21:46 +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
Krzysztof Żuraw
e8534f50af
Fix required npm version (#3396) 2023-03-21 13:42:09 +01:00