Commit graph

43 commits

Author SHA1 Message Date
Karolina Rakoczy
f5a8db9f2e
Update data test ids for 3.1 (#1814)
* add update data test ids

* fix not changed test ids

* fix data-test-id for gift cards

* remove comment

* fix base url
2022-02-11 12:28:55 +01:00
Wojciech Mista
f1575ac179
EditorJS initialisation fixes (#1789) (#1822)
* Fix editor initialising issue in update pages

* Fix translation editor error
2022-02-02 23:12:58 +01:00
Dawid Tarasiuk
4c53dd0792
Fix EditorJS read-mode toggle race condition (#1711)
* Fix EditorJS read-mode toggle race condition

Fixes rare edge case when toggling read mode is peerformed at the same
time.

* Make PromiseQueue function
2022-01-10 14:34:17 +02:00
Jakub Majorek
ab4c897b2a
Add dashboard extensions (#1292)
* Fix app embed

* initial setup

* Create ButtonWithSelect component

* Use context

* Use dialog

* Handle app-bridge actions

* Code adjustments, bump packages

* Fix tests

* Fix schema formatting

* Send response

* Use latest package versions
2021-08-20 15:58:53 +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
Jakub Majorek
df7ac2dd45
Fix rich text editor content not being saved (#1202)
* Fix rich text editor content not being saved

* Add a temporary workaround to EditorJS issue
2021-07-01 13:23:36 +02:00
Piotr Grundas
a0dce99b5d
[SALEOR-3090] Boolean attribute (#1157) 2021-06-20 01:13:16 +02:00
Michał Ociepka
fbfe3c8d7c
Add embed plugin to editorjs (#1114)
* SALEOR-3354 add Editor.js embed dependency

* SALEOR-3354 add embed to EditorJS tools

* SALEOR-3354 update change log
2021-05-18 15:21:33 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size (#1103)
* Add analysis tools

* Use deep imports to reduce bundle size

* Remove tslint config

* Remove unused packages

* Remove lodash-es references

* Use root level mui imports

* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Dawid Tarasiuk
5a439176b7
SALEOR 3115 Fix EditorJS inline formatting (#1096)
* Fix EditorJS inline formatting

* Update changelog
2021-05-07 10:06:08 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description (#1058)
* Add shipping method description - WIP

* Wire up logic

* Handle more editorjs issues

* Fix minor issues

Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Dominik Żegleń
416d7d87f6
Improve theming (#1020)
* Remove unused code

* Move theme to separate directory

* Separate types

* Separate shadows

* Separate shadows

* Rename types

* Modularize code

* Do not pollute prototypes

* Fix missing import

* Aliast mui styles

* Import theming internally

* Fix types

* Fix override type
2021-03-30 09:40:18 +02:00
Jakub Majorek
77ed12664d
Fix rare editorjs race condition (#953) 2021-01-21 09:54:53 +01:00
Krzysztof Wolski
439e5b249e
Remove im ready message (#843) 2020-11-20 10:44:50 +01:00
dominik-zeglen
4d15fa52b8 Add undo ability 2020-11-05 17:32:55 +01:00
dominik-zeglen
02e93b06d6 Use rich text editor in translations 2020-11-05 17:30:38 +01:00
dominik-zeglen
55d9a1c986 Fix selection styles 2020-11-05 15:31:00 +01:00
dominik-zeglen
8bc0b18e4f wip 2020-11-05 15:16:39 +01:00
dominik-zeglen
bc78c03e29 Improve dark mode 2020-11-05 15:10:46 +01:00
dominik-zeglen
dfc063caa1 Improve component encapsulation 2020-11-05 14:56:29 +01:00
dominik-zeglen
44df6225ad Add todo 2020-11-04 13:59:28 +01:00
dominik-zeglen
f4dfbe7e90 Fix header styling 2020-11-04 13:59:25 +01:00
dominik-zeglen
28cc74c954 Add rich text editor to product pages 2020-11-04 13:58:38 +01:00
dominik-zeglen
437df6fe9a wip 2020-11-04 13:58:36 +01:00
dominik-zeglen
88bd52763c Add ability to save data 2020-11-04 13:58:34 +01:00
dominik-zeglen
393b4a5860 Fix styles 2020-11-04 13:58:33 +01:00
dominik-zeglen
815941fc82 Fix types 2020-11-04 13:58:31 +01:00
dominik-zeglen
dab8064e26 Use editorjs instead of draftail 2020-11-04 13:58:30 +01:00
Dawid Tarasiuk
30ab1bb439 Fix misaligned rich text draft controls 2020-09-23 17:58:25 +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
8b0bf50ed4 Remove unused code 2020-03-02 11:20:47 +01:00
dominik-zeglen
1a843e59bd Fix types 2020-03-02 11:20:45 +01:00
dominik-zeglen
c9cf31851e Display error message if invalid content is passed 2020-03-02 11:20:45 +01:00
dominik-zeglen
96176924f9 Add missing style names 2019-12-03 16:28:40 +01:00
dominik-zeglen
421da92cb3 Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
dominik-zeglen
74d6794679 Update @material-ui to v4 2019-11-07 14:29:07 +01:00
dominik-zeglen
d84ba84e91 Update @material-ui 2019-11-07 14:22:40 +01:00
Krzysztof Bialoglowicz
fbb97a751a Fix button hover styles and small issues 2019-09-16 04:14:57 +02:00
Krzysztof Bialoglowicz
1695540947 Fix Edit add link button color 2019-09-10 18:55:14 +02:00
Dominik Żegleń
94c0833766 Refactor translations in components (#133)
* Refactor translations in components

* Update pot file
2019-08-29 14:42:59 +02:00
dominik-zeglen
bd211a6720 Update from saleor/master 2019-08-09 13:14:35 +02:00
dominik-zeglen
0c53e9883a Do not use asterisk imports 2019-08-09 12:26:22 +02:00
dominik-zeglen
5d959e6d6e Initial commit 2019-06-19 16:40:52 +02:00