Commit graph

328 commits

Author SHA1 Message Date
Lukasz Ostrowski
cb6ee2920b
Update dependencies (#568)
* Update deps

* update deps

* update deps

* Changeset

* update lock
2023-06-15 08:18:54 +02:00
Lukasz Ostrowski
1dead1e54f
Add logo to apps (#552)
* Add logo to manifest

* dirty fix build

fix image

update image to high res

Update sdk

Add logos to manifests

Update sdk

update sdk

* fix package in cms

* fix lock

* remove sdk from macaw binding package

* update sdk
2023-06-14 16:05:36 +02:00
Lukasz Ostrowski
860bac46db update sdk 2023-06-14 13:13:04 +02:00
Lukasz Ostrowski
cce3c1ef97
Changed index prefix in algolia to be optional (#553) 2023-06-13 13:37:17 +02:00
Lukasz Ostrowski
ff9665b70f
Release apps (#542)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-12 14:09:15 +02:00
Krzysztof Wolski
e106ab9ff4
📧 Improve section descriptions (#547)
* Improve copy in the descriptions

* Add changeset

* Improve descriptions in the SMTP module

* Improve grammar

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-12 13:30:20 +02:00
Krzysztof Wolski
cce2fbc3d5
📧 Improve layout and white-space (#546)
* Bump macaw version

* Make channels section expandable based on override setting

* Add margins to dangerous section, improve copy

* Add padding between section header and its description

* Limit width of provider selection boxes

* Use proper variant of the button

* More whitespace between description and box in the sections

* Remove text

* Revert "Make channels section expandable based on override setting"

This reverts commit e107c5e990b4110156043ed494fb0054bd936654.

* Add changelog

* Improve grammar

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>

---------

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-12 13:18:31 +02:00
Krzysztof Wolski
928c727c35
Update macaw-ui version (#541)
* Bump macaw version

* Add changeset

* CRM update spacing mapping

* Update spacing mapping for invoices app

* Update products feed spacing mapping

* Fix accordion in webhook status, add trigger button

* Update search spacing mapping

* Improve the changelog message

* Update spacing mapping in EAM app
2023-06-09 11:42:40 +02:00
Lukasz Ostrowski
a8834a11fe
Update dev dependencies (#540)
* Update Typescript to 5.1.3

* Update Turborepo

* Update turborepo eslint config

* Update ESLint and unify version

* Changeset

* unify eslint rules and node types and moved them to root

* unify app-sdk version

* unify codegen packages across monorepo

* unify graphql package

* update lock

* enabled eslint during invoices build with next build

* Format package jsons

* push scripts to the top of package json
2023-06-07 09:25:39 +02:00
Lukasz Ostrowski
57fec74663
Release apps (#520)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-06 12:59:16 +02:00
Krzysztof Wolski
dca93c0f47
Downgrade EAM release to minor (#539) 2023-06-06 12:23:56 +02:00
Krzysztof Wolski
86c2b7b10b
📧 Add runtime migrations to schema v2 (#535)
* Add runtime migrations to schema v2

* V2 migration scripts (#536)
2023-06-06 11:51:59 +02:00
Michal Widera
235a7d92b7
Create workflow to build image for monitoring backend (#525) 2023-06-02 11:08:11 +02:00
Lukasz Ostrowski
b75a66497b
Protect logger from trace and debug in production (#527)
* Protec logger from trace and debug in production

* Better error message
2023-06-01 16:33:25 +02:00
Adrian Pilarczyk
6a9da7ac38
Remove filter from "check-deps" command (#523)
* Remove filter from "check-deps" command

* ci: 👷 only run check-deps on label
2023-06-01 15:12:04 +02:00
Lukasz Ostrowski
182bdd6b32
🔥 Product Feed - New macaw & production prep (#512)
* Remove utils and use shared ones

* [skip ci]

* Remove legacy Macaw and mui, replace components so app builds

* Channels existence fetch hook

* Remove shop info fetching

* Remove legacy layout and merge pages

* Index page sections

* re-Implemented s3 form

* s3 Form validation

* New config logic

* wi

* Remove old config, add router to update s3

* Channels list with form

* Update cache configurator

* Feed preview card

* Flat structure, channels router

* Connect channels urls config

* Fix fetching webhook config

* Refactor lib folder

* Category mapping

* Categories mapping preview

* Improve buttons

* Enable cache on channel config saving

* wip webhooks

* Add webhooks

* Webhook refactor

* Refactor createClient

* Tests

* Clean imports

* Add logs

* Review fixes

* Changeset

* Small xml improvement

* Add tests batch

* Add tests

* Hide amazon secret with input password

* CR fixes

* CategoriesFetcher for recursive calls

* Implement categories fetcher

* Update lockfile after rebase with main

* Change category map to override instead conifg
2023-06-01 13:33:07 +02:00
Lukasz Ostrowski
0c2fc65ac6
Update Vite and Vitest across packages (#524)
* Update Vite and Vitest across packages

* Add changeset
2023-06-01 10:36:20 +02:00
Adrian Pilarczyk
8af0f022e3
feat: align monorepo deps automatically (#518)
* build:  add syncpack

* feat:  add syncpack github action

* feat:  update syncpack

* ci: 🔧 update syncpackrc

* ci: 👷 update check-deps to ignore all

* Update check-deps.yml

* Update check-deps.yml

* Update check-deps.yml

* Update check-deps.yml

* Update package.json

* ci: 👷 add continue-on-error

* ci: 💚 move continue-on-error
2023-06-01 09:09:19 +02:00
Lukasz Ostrowski
91286da553
Update prepare-release.yml 2023-05-31 20:55:37 +02:00
Krzysztof Wolski
80030644a7
Update design to new Macaw (#426)
* Update E&M Provider UI (#459)

* Emails and messages: use App UI package (#511)

* Add changeset
2023-05-31 18:08:43 +02:00
Mikail
941f017a16
Upgrade cryptography to latest (#519)
Fixes CVE-2023-2650: Vulnerable OpenSSL included in cryptography wheels.
2023-05-31 17:30:59 +02:00
Lukasz Ostrowski
2c1495a44d
Release 2023-05-30
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 22:10:40 +02:00
Adrian Pilarczyk
ca4306162f
refactor: refine taxjar (#494)
* feat:  add first tests & use address-factory

* feat:  add distributeDiscount

* refactor: taxjar maps to adapters (#495)

* refactor: ♻️ taxjar-calculate-taxes-map with taxjar-calculate-taxes-adapter

* refactor: ♻️ taxjar-order-created-map -> taxjar-order-created-adapter

* refactor: ♻️ address 1st batch of feedback

* refactor: ♻️ split up taxjar-calculate-taxes-adapter

* refactor: 🚚 extract shipping transformer

* docs: 💡 add comment about refunds in distribute-discount

* refactor: 🚚 split up taxjar-order-created-adapter classes

* refactor: ♻️ mocks with taxjar-mock-factory

* refactor: ♻️ mocks with avatax-mock-factory

* refactor: avatax maps to adapters (#506)

* refactor: ♻️ move around & refactor avatax-order-created-map -> adapter

* refactor: 🚚 move avatax-order-created- to its own folder

* refactor: ♻️ avatax-calculate-taxes-map -> adapter

* refactor: ♻️ avatax-order-fulfilled-maps -> adapter

* feat:  add logger to adapters

* refactor: ♻️ mocks -> avatax-mock-transaction-factory & fix tests

* feat: add tests for taxjar (#509)

* fix: 🚚 tax-provider-utils.test name

* feat:  add nexus tests & other taxjar tests

* feat: 🥅 add ExpectedError and use it in webhook-response

* refactor:  unify taxjar-calculate-taxes tests with mock-generator

* feat:  add TaxJarOrderCreatedMockGenerator

* feat:  add avatax-calculate-taxes-mock-generator

* feat:  add AvataxOrderCreatedMockGenerator

* refactor: 🔥 tax-mock-factory

* fix: 🐛 housekeeping

* fix: 🐛 feedback

* feat:  add taxBase with discounts test

* fix: 🐛 address feedback

* refactor: 🔥 unused avatax-mock-factory functions

* feat:  use discount utils in all providers

* feat:  differentiate between pricesEnteredWithTax in taxjar
2023-05-29 10:35:34 +02:00
Lukasz Ostrowski
6e69f4f9f0
Add removing metadata in CRM app (#507)
* Add dev app-sdk and rewrite undefined metadata to removing it

* Implement metadata manager delete method

* Update app-sdk to 0.39.1 in all packages

* Update swift-boxes-drop.md
2023-05-24 16:08:12 +02:00
Lukasz Ostrowski
8e0b08523b
Release apps (#487)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-23 15:08:26 +02:00
Lukasz Ostrowski
23b5c70f51
Extract part of Semver compatibility logic to shared package and implement in Invoices and Taxes (#488)
* Extract semver compatibility logic to shared package and implement it in taxes

* Move semver checking package to packages/shared

* Update lock

* Apply suggestions from code review

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>

* Improve error message

* Fix lockfile

---------

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-05-23 11:04:52 +02:00
Krzysztof Wolski
b36502df37
Add bindings for Select component (#502) 2023-05-22 19:29:47 +02:00
Krzysztof Wolski
0c8717a1e5
Add missing changeset to the Products Feed app (#503) 2023-05-22 19:23:42 +02:00
Krzysztof Wolski
590150b8c4
Use RHF bindings in Search app (#500)
* Use RHF Macaw bindings from shared package

* Update the nextjs config
2023-05-22 18:14:05 +02:00
Krzysztof Wolski
8a339fc31b
Introduce react hook form macaw bindings (#469)
* Add components and update the configuration

* Export components to be used in apps
2023-05-22 17:47:33 +02:00
Krzysztof Wolski
ce8d9deb81
Products Feed: Convert EditorJS product descriptions to plain text (#489)
* Cache query cursors for the product feed

* Fix missing first page of products

* Add S3 upload

* Explain sze limit on multipart upload

* Change the name of function

* Update the dependencies

* Revert api response size override

* Fix multi part upload

* Remove duplicated code

* Add channel name to the file URL

* Render EditorJS formatted descriptions as plaintext.
SEO Description field will be removed

* Add changeset

* Improve tests and allow escaped signs
2023-05-22 13:00:41 +02:00
Krzysztof Wolski
238f2b5d01
Cache query cursors for the product feed and support s3 (#478)
* Cache query cursors for the product feed

* Fix missing first page of products

* Add S3 upload

* Explain sze limit on multipart upload

* Change the name of function

* Update the dependencies

* Revert api response size override

* Fix multi part upload

* Remove duplicated code

* Add channel name to the file URL
2023-05-22 12:22:28 +02:00
Lukasz Ostrowski
4801803ea0
Sentry missing config (#481)
* Add Sentry config to Emails & Messages app

* Add Sentry config to Product Feed app

* Add Sentry config to CRM app

* ADd changeset

* Clean up sentry boilderplate
2023-05-21 18:28:17 +02:00
Adrian Pilarczyk
dd799e6993
refactor: use resolveOptionalOrThrow (#480)
* refactor: 🚚 move tax-line-resolver to taxjar-calculate-taxes-map

* feat:  add resolveOptionalOrThrow util

* build: 👷 add changeset

* fix: 🐛 fix shipping line bug & add handleWebhookError

* build: 👷 update changeset

* refactor: ♻️ add optional error argument
2023-05-19 10:57:17 +02:00
Lukasz Ostrowski
a5df092828
Release apps (#483)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-18 15:04:11 +02:00
Lukasz Ostrowski
5e903aed00
Metadata Migrations script (#453)
* Create a package

* wip

* wip

* wip

* wip

* Move migration script to invoices

* Add migration script

* Update SDK to fix getAll method

* Add restoring migration script

* Add migrations consts

* Add changesets

* cr fixes
2023-05-18 14:55:52 +02:00
Lukasz Ostrowski
f76d8fe8da
Release apps (#473)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-18 14:55:30 +02:00
Lukasz Ostrowski
99c307d1cb Add debug message for contentful - ping 2023-05-18 11:07:01 +02:00
Lukasz Ostrowski
7c9a9a2890 Add debug logs for CMS 2023-05-18 10:49:44 +02:00
Adrian Pilarczyk
ba7c3de471
feat: add basic breadcrumbs component (#470)
* feat:  add empty packages/ui

* feat: ⚗️ move taxes app-grid to packages/ui

* build: ⬆️ upgrade macaw-ui in packages/ui

* add app sdk

* feat:  add basic breadcrumbs component

* refactor: ♻️ simplify breadcrumbs api

* Update packages/ui/src/breadcrumbs.tsx

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>

* refactor: 🔥 next-env.d.ts

* refactor: ♻️ address breadcrumbs feedback

* chore: 🔥 remove eslint disable

* build: 👷 add changeset

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-05-18 09:37:51 +02:00
Lukasz Ostrowski
c4063188ca
Update app-sdk to 0.38.0 (#464) 2023-05-17 18:57:09 +02:00
Lukasz Ostrowski
f9ca488dd6 Fix TextLink component 2023-05-17 18:53:49 +02:00
Przemysław Łada
1995f507a0
Extend release workflow with tagging and releasing on GitHub (#477)
* Add github:release script

* Change release worflow
2023-05-17 15:00:51 +01:00
Krzysztof Wolski
2de2a40af1
Parallel products feed data fetching (#465)
* Parallel products feed data fetching

* Create strong-peas-begin.md
2023-05-17 13:26:36 +02:00
Adrian Pilarczyk
51134a5a8b
fix: returning 0 for line price if item is not taxable (#476)
* fix: 🐛 returning 0 for line price if item is not taxable

* build: 👷 add changeset
2023-05-17 12:49:10 +02:00
Lukasz Ostrowski
e751459b4d
Add TextLink component (#468)
* feat:  add empty packages/ui

* feat: ⚗️ move taxes app-grid to packages/ui

* build: ⬆️ upgrade macaw-ui in packages/ui

* build: ⬆️ upgrade macaw even harder

* add app sdk

* Fix app-sdk version

* Add TextLink

* Add TextLink

* Change method name

* Cleanup

---------

Co-authored-by: Adrian Pilarczyk <adrianpilarczyk314@gmail.com>
2023-05-16 21:07:08 +02:00
Lukasz Ostrowski
24615cf7c1
Add SemanticChip shared component (#471)
* feat:  add empty packages/ui

* feat: ⚗️ move taxes app-grid to packages/ui

* build: ⬆️ upgrade macaw-ui in packages/ui

* build: ⬆️ upgrade macaw even harder

* add app sdk

* Fix app-sdk version

* Add SemanticChip

* update lock

---------

Co-authored-by: Adrian Pilarczyk <adrianpilarczyk314@gmail.com>
2023-05-16 20:41:52 +02:00
Adrian Pilarczyk
403bcf87ec
Add packages/ui shared package - root branch (#467)
* feat:  add empty packages/ui

* feat: ⚗️ move taxes app-grid to packages/ui

* build: ⬆️ upgrade macaw-ui in packages/ui

* build: ⬆️ upgrade macaw even harder

* add app sdk

* Fix app-sdk version

* refactor: 🔥 remove usage in taxes

* refactor: 🔥 remove changes in turbo.json

* refactor: ♻️ address feedback

* build: ⬆️ unify next macaw-ui version in apps (#472)

* build: ⬆️ unify next macaw-ui version in apps

* Create tricky-islands-remember.md

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-05-16 19:36:53 +02:00
Lukasz Ostrowski
4fe2682e45
Release apps (#463)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 09:28:24 +02:00
Adrian Pilarczyk
70bf546e28
fix: charge taxes setting (#466)
* fix: 🐛 respect pricesEnteredWithTax setting

* build: 👷 add changeset
2023-05-16 09:17:59 +02:00