Commit graph

297 commits

Author SHA1 Message Date
Lukasz Ostrowski
37e50db29c
update macaw in klaviyo (#670)
* update macaw in klaviyo

* cr fixes

* removed e2e artifacts
2023-06-28 09:45:35 +02:00
Lukasz Ostrowski
3bd7e3f05d
Monitoring app UI (#677)
* Replace macaw to next

* UI WIP

* ui wip

* fix graphql calls

* Fix ui

* Changsets

* Apply CR review

* fix spacing
2023-06-27 19:20:58 +02:00
Lukasz Ostrowski
f6ff907cfd Improve test-id for product feed 2023-06-27 12:58:59 +02:00
Lukasz Ostrowski
8b245c6bcf
Improve errors handling in Invoices app (#664)
* Remove migration code, add Sentry breadcrumbs

* Add Sentry breadcrumbs to invoice created webhook

* Add changeset

* remove insecure logs
2023-06-27 12:13:04 +02:00
Lukasz Ostrowski
e4497b9ba4
Add test-ids to product feed (#669)
* add test-ids to product feed

* add dynamic google form

* Update .changeset/poor-hounds-move.md

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

---------

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-06-27 12:10:19 +02:00
Lukasz Ostrowski
57fea9166e
Redesign Slack app to use new Macaw / next (#671)
* Replace material with new Macaw ui

* Rewrtirren Slack to the new macaw

* CR fixes and imprve layour
2023-06-27 12:07:24 +02:00
Krzysztof Wolski
00e49bac11
📧 Improve descriptions (#666)
* Update description of the API key input

* Add space between description and link

* Add changeset
2023-06-22 11:43:57 +02:00
Adrian Pilarczyk
09e07995b5
feat: tax code matcher (#564)
* feat:  add tax-classes-fetcher

* refactor: ♻️ add "byId" suffix to crud-settings & remove upsert

* feat:  add updateMany method to CrudSettingsManager

* feat:  add avatax & taxjar tax-code-map-repository

* refactor: 🚚 move to tax-code directory

* feat:  add getTaxCodes methods to provider clients

* refactor: ♻️ extract taxClass and taxCode schema

* refactor: 🚚 tax-code-map -> tax-code-match

* feat:  add taxjar-tax-code.service

* feat:  add avatax-tax-code.service

* feat:  add taxClass to graphql fragment

* feat:  use tax codes in calculate taxes

* fix: 🐛 undefined tax code bug & add tests

* build: 👷 add changeset

* Update avatax-tax-code-mapper.ts

* feat:  add routers & get rid of adapters & mappers

* refactor: ♻️ logger location -> name

* refactor: ♻️ clean up & rephrase logs

* refactor: ♻️ remove __typename from query

* docs: 💡 make comments about tax codes more informative

* refactor: ♻️ use resolveOptionalOrThrow on tax code description

* refactor: ♻️ rename tax-codes -> tax-classes, move and rename tax-code-schema

* refactor: 🚚 ctx -> authData

* refactor: 🚚 createUrqlClientFromCtx -> createUrqlClientFromAuthdata

* refactor: ♻️ dont spread ctx

* docs: 💡 add comment about fallback tax code

* refactor: ♻️ remove ..ctx

* fix: 🐛 use createGraphQLClient

* feat: tax code matcher ui (#658)

* feat:  use tax codes in calculate taxes

* feat:  add getTaxCodes methods to provider clients

* feat:  add matcher tables

* feat:  add log errors middleware

* fix: 🔊 fix misleading logs

* fix: 🐛 ctx appToken bug

* feat:  add Select override with wrapping label

* feat:  pre-select match

* docs: 💡 add comments about first connection

* docs: 💡 add comment about redirect

* refactor: 🔥 duplicate file

* feat:  add AppCard to tables

* feat:  add _error to breadcrumbs exceptions

* fix: 🐛 value not set on data

* feat: 🥅 add error for no channels configured

* fix: 🐛 replace update with upsert

* refactor: 🚚 channel-configuration-settings to repository

* fix: 🐛 updating a channel configuration

* fix: 🧪 fix wrong mock

* fix: 🐛 duplicating configs

* Update cool-turtles-reflect.md
2023-06-20 17:53:27 +02:00
Krzysztof Wolski
59ff617282
Fix missing MANAGE APPS permission when using client provided in context (#663)
* Fix using wrong token for creating gql client

* Update gorgeous-hats-learn.md
2023-06-20 17:21:31 +02:00
Adrian Pilarczyk
e239fbb670
fix: 🐛 not being able to update one credential (#662)
* fix: 🐛 not being able to update one credential

* build: 👷 add changeset

* fix: 🐛 address feedback

* refactor: ♻️ remove unnecessary clone
2023-06-20 15:34:36 +02:00
Lukasz Ostrowski
3462cc343e
Update helper text for PF app - S3->region field (#660) 2023-06-20 12:37:21 +02:00
Krzysztof Wolski
82dfc3fa6f
📧 Dynamic webhook management (#646)
* Make channels section expandable based on override setting

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

This reverts commit e107c5e990b4110156043ed494fb0054bd936654.

* Add status  component

* Remove no longer used component

* Remove no longer used component

* Removed webhook creation during App installation

* Extend tRPC meta to contain webhook sync flag

* Add app baseUrl to the context

* Webhook management service

* Add changeset
2023-06-20 11:38:32 +02:00
Lukasz Ostrowski
ec68ed53a3
Sentry improvements (#652)
* Update Sentry in CMS

update turbo

Add test logs for cms

test sentry

Update sentry config and next config

* resolve conflict

* Add changesets

* Remove test code
2023-06-20 10:06:18 +02:00
Krzysztof Wolski
a1ad70e879
Unify urql version, use shared util to create client (#657)
* Add createGraphQLClient util to shared package

* Update urql version and use createGraphQLClient from shared package

* Update urql version and use createGraphQLClient from shared package - data importer

* Update urql version and use createGraphQLClient from shared package - cms

* Update CRM

* Update invoices

* Update klaviyo

* Update slack

* Update products feed

* Update search

* Remove unused urql next

* Update monitoring

* Update taxes

* Remove multipart since no longer used

* Update the lockfile

* Removed urql introspection since none of our apps used it

* Add changeset
2023-06-19 15:59:27 +02:00
Adrian Pilarczyk
c4be200925
fix: QA bugs in Taxes App (#654)
* fix: 🐛 turn off validateAddress in TaxJar

* refactor: ♻️ make avatax & taxjar schemas strict

* fix: 🐛 update providers bug

* build: 👷 add changeset

* Update cold-candles-fly.md
2023-06-19 12:06:05 +02:00
Krzysztof Wolski
8287075e29
📧 Improve SMTP event section (#548)
* Make channels section expandable based on override setting

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

This reverts commit e107c5e990b4110156043ed494fb0054bd936654.

* Improve copy in the descriptions

* Handle partial updates i n events

* Add status  component

* Fix typos and types

* Improve SMTP events section

* Add changeset

* Implement event sections as tables with array form

* Update the changelog

* Remove no longer used component

* Add empty option for template choice

* Remove no longer used component

* Update the test
2023-06-15 10:52:39 +02:00
Adrian Pilarczyk
f96563fc2b
feat: redesign taxes app with macaw-ui (#433)
* refactor: ♻️ replace material-ui with macaw-ui; remove all views

* add apps-ui

* feat: add configuration screen (#514)

* feat:  add basic layout

* refactor: 🔥 enabled field

* refactor: ♻️ move part of config to credentials

* refactor: ♻️ move address from channel to provider

* feat:  add all states for providers

* refactor: ♻️ merge redesign with refactor

* refactor: ♻️ replace material-ui with macaw-ui; remove all views

* fix: 🐛 text-decoration on breadcrumb link

* feat:  add stripe icon

* feat:  add AppCard

* feat:  add AppBreadcrumbs and new provider pages

* refactor: ♻️ add gridRatio to support two app grids

* refactor: 🔥 theme-synchronizer test

* refactor: ♻️ make breadcrumbs bulletproof

* fix: 🐛 failing build

* feat:  add app-layout

* build: ⬆️ upgrade macaw-ui

* feat: redesign provider forms (#533)

* build:  add @saleor/react-hook-form-macaw

* feat: add binding for Toggle in react-hook-form-macaw

* feat:  add AppToggle component

* feat:  add create-avatax-configuration and edit-avatax-configuration

* feat:  add taxjar-validation-service with address validation

* feat:  add AvataxValidationService

* feat:  add edit/create taxjar config

* feat:  add delete configuration

* refactor: ♻️ change invalid address error message

* refactor: ♻️ throw in validation services instead of authenticated: true/false

* docs: 💡 add todo comments

* refactor: ♻️ better variable naming in parse error

* fix: 🐛 disable button when loading

* refactor: ♻️ make defaultValues required

* refactor: 🔥 remove custom fontWeights

* fix: 🐛 toggle form submission bug

* feat:  extract provider-label and use in forms

* feat:  use new Section component and change copy

* refactor: ♻️ use ProviderLabel in ProvidersTable

* build: 💚 fix lockfile

* fix: 🐛 address feedback

* feat: channel provider table (#538)

* refactor: 🔥 providers-config-input-schema

* refactor: ♻️ move providers

* feat:  add basic channel-list

* refactor: 🚚 move around

* feat:  add ChannelConfigurationService

* feat:  add select provider in channel table

* refactor: 🔥 logger traces

* refactor: 🔊 refine logs

* feat:  add avatax-config-mock-generator and use in webhooks mock generators

* refactor: ♻️ split up avatax-validation.service and add tests for response resolver

* feat:  add avatax-validation-error-resolver tests

* refactor: 🚚 move taxjar-validation.service to separate folder

* feat:  extract taxjar-validation-error-resolver and add tests

* feat:  add channel-config-mock-generator

* feat:  add ChannelFetcherMockGenerator

* test:  add tests for channel-configuration-merge

* test:  add tests for crud-settings.service

* fix: 💬 channel copy

* refactor: 🔊 remove data from logs

* refactor: 🚚 move configuration & validation to configuration folder

* fix: 🐛 imports

* fix: 🐛 showing loading & add at the same time

* refactor: ♻️ public configurations & obfuscation rework

* refactor: 🚚 extract repositories from services

* refactor: 🚚 instance -> connection (#544)

* refactor: ♻️ move creating configuration service to procedure

* fix: 🐛 some paths & names while renaming

* Update apps/taxes/src/pages/api/webhooks/order-calculate-taxes.ts

* Update apps/taxes/src/pages/api/webhooks/checkout-calculate-taxes.ts

* feat: shipping tax code (#555)

* fix: 💄 minor visual issues

* feat:  add shipping tax code

* fix: 🐛 fix toggle

* refactor: ♻️ use common table in providers-table

* docs: 💡 add comment to obfuscator

* feat:  sort countries by label not code

* Taxes 💸: Add runtime migrations to schema v2 (#545)

* build:  add dotenv

* feat: 🚧 add draft of migration scripts

* refactor: ♻️ settingsManager to accept appId

* feat:  tax-providers and channels transforms

* feat:  add migration classes

* feat: 🚧 add migration to connection getAll

* feat: 🚧 add dummy data script

* feat:  add runtime channel migration

* feat:  add migration and report scripts

* fix: 🐛 name of dummy class method

* feat:  add transform tests

* build: 💚 update lockfile

* fix: creating & updating a provider (#563)

* refactor:  improve the test for update

* docs: 💡 comment crud-settings

* refactor: 🔥 unused file

* fix: 🐛 appId bug

* refactor: 🚚 rename dummy-utils

* fix: 💄 padding in table

* refactor: 💬 change avatax texts

* build: 👷 add changeset
2023-06-15 09:01:50 +02:00
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
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
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
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
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
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
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
Lukasz Ostrowski
1fd0960562
Release 2023-05-15
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-15 17:32:04 +02:00
Adrian Pilarczyk
72adeb3b13
replace failureRetry/failureNoRetry webhook response with failure (#462)
* refactor: ♻️ replace failureRetry/failureNoRetry webhook response with failure

* build: 👷 add changeset

* refactor: ♻️ address feedback
2023-05-15 11:52:14 +02:00
Lukasz Ostrowski
842b7b9cdb
Change test script to be "test" instead "test:ci" so all tests are executed properly (#437) 2023-05-15 11:03:04 +02:00
Adrian Pilarczyk
b4ddb02efb
fix: quantity not respected (#460)
* fix:  fix failing map tests

* fix: 🐛 use totalPrice instead of unitPrice to fix quantity

* build: 👷 add changeset
2023-05-12 14:49:27 +02:00
Adrian Pilarczyk
0c039f59dc
feat: make companyCode optional (#458)
* feat:  make companyCode optional

* fix: 🐛 return empty string if no companyCode in order-fulfilled

* build: 👷 add changeset
2023-05-12 10:51:00 +02:00
Adrian Pilarczyk
9ecb6291a5
fix: 🚑 channels not showing (#455)
* fix: 🚑 get first 100 of channels

* build: 👷 add changeset
2023-05-12 10:01:12 +02:00
Lukasz Ostrowski
b0eb078eea Fix broken build in invoices 2023-05-11 12:21:12 +02:00
Lukasz Ostrowski
ee1a4afd25 Fix address form not loading 2023-05-11 12:15:01 +02:00
Lukasz Ostrowski
8b22b1c1f8
Fix logs (#452)
* Add pino and pino-pretty to every package, to fix logger failing

* Fix taxes child logger

* Fix Search child logger

* Update examples .env

* changeset
2023-05-10 16:57:20 +02:00
Lukasz Ostrowski
1b3680465f
Invoices redesign to Macaw Next (#445)
* Removed old macaw and material

* Add trpc router that fetches shop address info

* Config page layout with header and address

* display default addres

* Draft channels list

* add v2 config model

* Render address overrides

* Render address overrides ui

* connect address form

* reset address form

* implement removing conifg

* connect dashboard sites

* update webhook

* Add ConfigV1 to ConfigV2 transformer

* Cleanup v1 router, abstract v2

* Implement runtime migrations

* Implement migration service in controllers

* test for configuration service

* test for app cofnig

* draft test for router

* refactor webhook

* Unify Address schema to single one

* Extractr data fetching from form
2023-05-09 12:17:54 +02:00
Lukasz Ostrowski
a3d87be3f4
Release 2023-05-05
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-05 08:47:22 +02:00
Lukasz Ostrowski
830cfe92ce
Extract logger (#439)
* Extract logger

* Replace logger with shared one

* Replace CRM logger with shared one

* Replace E&M logger with shared one

* Replace invoices logger with shared one

* Replace Products Feed logger with shared one

* Replace Search logger with shared one

* Replace Taxes logger with shared one

* Uninstall pino from apps direct dependency

* Update docs

* Update changeset

* Bumped Klaviyo typescript version to hopefully unblock the build

* Change packageManager field to pnpm 8.2.0

* removed package manager field from klaviyo package.json
2023-05-05 08:15:47 +02:00
Lukasz Ostrowski
b56894fa14
Fix tests (#438) 2023-05-04 09:54:27 +02:00
Lukasz Ostrowski
40bed99316
Webhooks optimization (#434)
* Disable webhooks in manifest and create graphql operations

* Add webhook enabler service

* Add webhooks to subscription events

* Disable webhooks when webhok operation fail

* display webhooks status

* Display failed deliveries

* Use react query in webhooks-status, refetch it when configu updated

* Extracted main instructons

* Better webhook instructions

* Optimize webhooks fetching from subscription

* Test for WebhooksAcivityToggler

* Changeset

* Test for webhook status handler WIP

* Test wip

* Rewrite test
2023-04-29 11:30:48 +02:00
Adrian Pilarczyk
3347a305cd
feat: add shipping tax code (#424)
* feat:  add shippingTaxCode

* build: 👷 add changeset
2023-04-26 14:40:46 +02:00
Adrian Pilarczyk
9eacc88b53
feat: align avatax with plugin (#414)
* refactor: 🚚 OrderLineFragmentFragment -> OrderLineFragment

* refactor: 🚚 getLine... to getTaxBaseLine...

* refactor: ♻️ temporarily remove usage of getTaxBaseLineTaxCode

* feat:  add shipping as line to avatax-order-created

* feat:  add description to order-created lines

* feat:  add itemCode to avatax-order-created line

* feat:  add tests for avatax maps

* feat:  add basic discounts logic

* docs: 🔥 remove comment

* build: 👷 add changeset

* fix: 🐛 shipping amount
2023-04-26 13:40:51 +02:00
Lukasz Ostrowski
aa27f9d6ef
Release apps (#429)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 13:30:05 +02:00
Lukasz Ostrowski
b33da7a70a
Improve copy in Search app (#428) 2023-04-26 12:20:08 +02:00
Lukasz Ostrowski
da3da9d8b0
Release apps (#423)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 09:17:12 +02:00
Lukasz Ostrowski
112bed4a0b
Add test for CUSTOMER_CREATED webhook in CRM app (#422)
* Add test for CUSTOMER_CREATED webhook in CRM app

* remove log
2023-04-25 18:57:17 +02:00
Lukasz Ostrowski
fc7a70f598
Search redesign to Macaw 2.0 (#420)
* Redesign

* Better form

* Remove searchKey

* Update macaw

* Test setup

* fix build

* Create curly-jars-doubt.md

* Unify vitest to (hopefully) fix build

* fix lock

* update macaw and review fixes

* fix build
2023-04-25 18:20:20 +02:00
Lukasz Ostrowski
cad39760c9
Release apps (#413)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-24 11:22:18 +02:00
Dawid
fc0664885e
CMS visual fixes (#417)
* CMS visual fixes

* Create sour-deers-camp.md
2023-04-24 11:18:02 +02:00
Adrian Pilarczyk
56b27b2e21
fix: tax not calculating (#412)
* fix: 🐛 disable autocomplete on country-select

* fix: 🐛 invalid response format bug

* build: 👷 add changeset

* docs: 💡 add comment with improvement idea
2023-04-23 13:18:20 +02:00
Lukasz Ostrowski
8424989dad
Release apps (#389)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-21 12:04:30 +02:00
Adrian Pilarczyk
84e9ca5d66
feat: add country select (#410)
* feat:  add country-select

* feat:  add taxjar address-factory

* feat:  add validateAddress methods to [provider]-client

* build: 👷 add changeset
2023-04-21 07:55:43 +02:00
Krzysztof Wolski
ede7a2e808
Notify event webhook for customer emails (#408)
* Support Notify webhook for account operations

* Fix the comment

* Do not expose internal types of the event

* Remove debug message
2023-04-19 15:56:45 +02:00
Dawid
a3636f73ef
Fix CMS app issues (#386)
* Fix CMS app visual issues

* Add provider configuration instance ping status

* Skip update webhooks processing if issuing principal is this CMS app

* Fix provider configuration form validation

* Create old-dingos-hide.md
2023-04-18 18:46:28 +02:00
Lukasz Ostrowski
2c0df91351
Apply recent ESLint rules on the codebase (#404)
* Add lint:fix script

* Reformat CRM app with eslint fix

* Apply eslint fix on data importer codebase

* Apply eslint fix on Invoices codebase

* Apply eslint fix on Klaviyo codebase

* Apply eslint fix on products-feed codebase

* Apply eslint fix on monitoring codebase

* Apply eslint fix on Search codebase

* Apply eslint fix on Slack codebase

* cleanup
2023-04-18 15:10:00 +02:00
Lukasz Ostrowski
57f6d41bc4
Update manifests to contain up to date author, homepage, support and privacy fields (#399) 2023-04-18 14:04:14 +02:00
Adrian Pilarczyk
453baf78a1
feat: finalize order process (#355)
* feat:  add dummy order-created

* refactor: 🔥 unused private-providers-configuration-service

* feat:  add dummy order-fulfilled

* refactor: 🚚 move provider-config

* refactor: 🚚 crudSettingsConfigurator -> crudSettingsManager

* refactor: ♻️ [tax-provider].ts -> [tax-provider]-webhook.service.ts

* feat:  add dummy createOrder

* refactor: ♻️ distinguish between salesOrder and salesInvoice in avatax

* refactor: 🚚 [provider]-calculate.ts to [provider]-transform.ts

* refactor: 🚚 ResponseTaxPayload to tax-provider-webhook.ts

* refactor: 🚚 ResponseTaxPayload -> CalculateTaxesResponse

* refactor: ♻️ webhooks with active-tax-provider.service.ts

* feat:  add skeleton orderCreate functionality

* refactor: ♻️ [provider]-transform.ts -> [provider]-[webhook]-transform.ts

* feat:  add order-fulfilled with avatax call

* refactor: ♻️ move getActiveTaxProvider to active-tax-provider

* refactor: 🏷️ export types for [provider]-client function args

* refactor: 🚚 UpdateAppMetadata -> UpdateMetadata

* feat:  fulfill order with id from metadata

* build: ⬆️ upgrade avatax

* feat:  commit transaction on fulfill in avatax

* fix: 🐛 return of webhooks to ensure valid retry behavior

* refactor: 🚚 [provider]-[webhook]-transform -> [provider]-[webhook]-map

* refactor: 🏷️ export types of avatax-calculate-taxes mapPayload

* refactor: ♻️ extract address-map to separate function

* refactor: ♻️ remove schema.ts

* refactor: ♻️ move addressSchema to channels-config.ts

* feat:  add tests & placeholder tests for avatax & taxjar maps

* refactor: ♻️ throw error if no metadata

* refactor: ♻️ change EXTERNAL_ID_KEY to PROVIDER_ORDER_ID_KEY

add comments

* refactor: ♻️ comments -> it.todo in tests

* refactor: 💡 add comment about shipping_item_code

* refactor:  add todo items for tests

* refactor: ♻️ remove export and add sumLines to taxJarOrderCreated

* refactor: ♻️ address-map with avatarAddressFactory

* docs: 💡 add comment about MOCKED_SALEOR_PAYLOAD

* refactor: ♻️ remove export of mapLines and add to avataxCalculateTaxes

* style: 🎨 add newline-after-var warn to eslint-config-saleor

* style: 🎨 autofix newline-after-var in taxes

* test:  restructure tests according to new naming in address-map

* refactor: ♻️ add shippingItemCode to avataxCalculateTaxes wrapper object

* refactor: 🚚 payloadProps -> payloadArgs

* refactor: ♻️ add Maps suffix to map wrapper objects

* refactor: ♻️ remove data: null from ActiveTaxProviderResult

* refactor: ♻️ maintain the object hierarchy in tests

* refactor: ♻️ refactor webhook responses with WebhookResponseFactory

* build: ⬆️ vitest

* test:  add tests for get-app-config-test

* test:  add tests for getActiveTaxProvider

* refactor: ♻️ use address fragment for taxBase and order

* refactor: ♻️ rename WebhookResponseFactory -> WebhookResponse

* style: 👷 add multiline-comment-style

* fix: 🐛 dummy test in get-app-config.test.ts

* refactor: ♻️ rename AddressFragment -> Address

* refactor: ♻️ use debug instead of error in webhook-response noRetry

* refactor: ♻️ refactor as variables in mutation

* build: 👷 add changeset

* refactor: ♻️ split changesets in two

* build: ⬆️ vite

* build: ⬆️ vite && vitest in all apps
2023-04-17 13:58:21 +02:00
Lukasz Ostrowski
1fef68b49e
Improves how Saleor version is validated during installation (Invoices) (#390)
* Extract SaleorVersionCompatibilityValidator + tests

* Use SaleorVersionCompatibilityValidtor in register handler

* Replace coerce with includePrerelease in saleor version matching

* Changelogs
2023-04-17 12:39:13 +02:00
Lukasz Ostrowski
2e518906d1
Extract useDashboardNotification (#362)
* Extract useDashboardNotification

Play with config to make app-sdk working in monorepo

bump pnpm

remove local locks

unify deps

Changesets

Replace appBridge.dispatch(Notification()) with shared useDashboardNotification package

Fix build

Update klaviyo packages

update deps

update deps - root next version

* update and ix

* Restore logic in cms
2023-04-14 17:40:49 +02:00
Lukasz Ostrowski
74174c4763
Update app-sdk to 0.37.3 (#375)
* Update app-sdk to 0.37.3

* update app-sdk to 0.37.3 latest
2023-04-14 12:33:22 +02:00
Lukasz Ostrowski
e167e72408
Update next to 13.3.0 (#388)
* Update next to 13.3.0

* Fix cms next version
2023-04-14 11:27:25 +02:00
Lukasz Ostrowski
51ec11ef41
Release apps (#357) - 2023-04-13
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-13 16:24:38 +02:00
Dawid
246b94360e
Provider configurations UI fixes (#374)
* Provider configurations UI fixes

* Create .changeset/nice-donkeys-stare.md
2023-04-13 13:27:06 +02:00
Lukasz Ostrowski
7ff2d7cfa7
Change turborepo config to use local turbo.json (#353)
* Change turborepo config to use local turbo.json

* update lock to 6.0

Update turbo to 1.9.0

Move global envs to build script envs
2023-04-13 12:44:27 +02:00
Lukasz Ostrowski
8cf219308e
Add dark mode (#371) 2023-04-13 10:26:09 +02:00
Dawid
bec8d812e8
Bulk product export to CMS providers (#351)
* Add sync all channel products feature

* Implement batch create and delete product variants CMSes sync methods

* Fix pnpm-lock file

* Update UI

* Update imports

* Add fetch rate limit to Contentful provider

* Small refactor of functions

* Update logging
2023-04-12 16:10:32 +02:00
Lukasz Ostrowski
9730edb971 Add link to docs 2023-04-06 14:35:45 +02:00
Lukasz Ostrowski
1da51639fa
Improve CMS app UX & UI (#349)
* Install apps-shared, render null if app is loading in the iframe

Redesign the app

Add notification toasts and imrpve instructions

Change channels list to select

Replace lists with select

* fix build

* Fix build
2023-04-06 12:56:44 +02:00
Lukasz Ostrowski
3acc1553a8
Introduce CRM App (#292)
* Add template

Cleanup

Update queries

Basic mailchimp client

Add Oauth flow

remove next auth

* Auth flow, mailchimp button

* Basic layouts

* session saver for appbridge

* ideas drop

* basic iframe flow

* iframe flow - with post message

* saving token in backend

* saving token in backend

* Extracted settings manager

* Refactor audience router

* Remove old macaw ui

* Nav and layout

* display lists and wip add customer

* Metadata updater

* Allow iframe to NOT have app layout

* Add segment coming soon

* App layout

* Add removing config button

* Add iframe

* Fix postmessages

* Display lists

* webhook settings

* Connect webhook

* remove comment

* batch customer adding client

* Update macaw

* Fetching customers component

* Add bulk sync

* add temp ts-ignore until macaw is fixed

* Improve ui

* redesign

* Extract sections

* Redesign mailchimp login

* Refactor sections

* Extract mailchimp list picker

* Add name mapping

* WIP tags, extracted colocated queries to folders

* Wip - not working CustomerUpdated subs

* Add instructions

* Fix webhook config state

* Add external links

* envs

* Protected Oauth handler

* Fix instructions

* Squash some todos

* Instructions update with gql

* empty trygger

* Add env validation

* Fix error message

* Update macaw and remove todos

* Add metadata manager test

* Replace Mailchimp enum to lowercase

* Update oauth routes

* Fix typo

* Add loader to removing config box

* Update labeler to include CRM app

* Apply suggestions from CR

* Fix linter
2023-04-06 09:26:56 +02:00
Lukasz Ostrowski
eca52ad058
Replace export default with named exports (#352)
* Update eslint config to prevent default exports

* exlucde vitest config from banned default exports

* Remove default exports from Monitoring App

* Replace default exports with named exports

* Fix klaviyo import path

* Replace default exports in CMS
2023-04-05 20:27:23 +02:00
Lukasz Ostrowski
f387a7b28b
Release apps (#346): 2023-03-30
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-30 14:11:43 +02:00
Adrian Pilarczyk
d55b2f9b2a
fix/333 taxes not calculated (#345)
* refactor: 🔊 improve logging in taxes

* refactor: 🔥 redundant channels call

* refactor: ♻️ get app config from payload

* build: add changeset

* refactor: 🔊 routers info -> debug

* refactor: 🔊 redact logs
2023-03-30 13:12:52 +02:00
Lukasz Ostrowski
741e9104ed
Release apps 2023-03-30
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-30 09:15:15 +02:00
Lukasz Ostrowski
907e618a5e
Setup Sentry for Taxes App (#343)
* Setup Sentry for Taxes App

* Remove sample_error page from Sentry in Taxes

* Fix next.config.js that fixes a build
2023-03-29 12:32:34 +02:00
Adrian Pilarczyk
aa8a96a0ba
fix/331 no provider available (#337)
* fix: 🐛 error while reading updated provider

* build: 👷 add changeset
2023-03-28 13:40:07 +02:00
Lukasz Ostrowski
d0af8bd420
CMS, E&M - Set requiredSaleorVersion to >=3.10 (#312) 2023-03-27 15:53:07 +02:00
Krzysztof Wolski
a811d307ae
Add cache to products feed (#327)
* Add cache to products feed

* Create .changeset/clean-dragons-jump.md

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-03-27 15:49:55 +02:00
Lukasz Ostrowski
37f924ece3
[vercel deploy]
Release 2023-03-27, E&M * PF
2023-03-27 11:20:39 +02:00
Krzysztof Wolski
9d625fc405
Improve configuration instructions (#322)
* Add helper texts

* Add instruction components

* Add changeset

* Fix new tab opening

* Update and move id generation to the single location

* Remove unused code

* Apply suggestions from code review

Co-authored-by: Dawid <tarasiukdawid@gmail.com>

---------

Co-authored-by: Dawid <tarasiukdawid@gmail.com>
2023-03-24 17:12:45 +01:00
Krzysztof Wolski
14ac6144c0
Update the sendgrid support (#321)
* Update the sendgrid support

* Add changeset
2023-03-24 15:33:48 +01:00
Krzysztof Wolski
f58043f72b
Add Google Category Mapping for the feed (#325)
* Add Google Category Mapping for the feed

* Update the link href
2023-03-24 15:02:40 +01:00
Krzysztof Wolski
5fad97c6d2
Update Feed App UI (#323)
* Update the Feed App UI
2023-03-24 14:45:22 +01:00
Dawid
2f94183dc6
Product data updates in CMS variant objects (#324) 2023-03-24 13:36:59 +01:00
Dawid
84df6acf9c
CMS UI and webhook updates (#319)
* CMS UI updates

* Fix/improve verification against existing product variant in cms providers

* Mock urql client in tests

* Mark optional text with asterisk
2023-03-22 18:18:57 +01:00
Timur Carpeev
8f2d5e8960
Update README.md (#318) 2023-03-20 18:23:57 +01:00
Lukasz Ostrowski
cbc31d3c2e
[vercel deploy]
Release 2023-03-20
2023-03-20 12:36:28 +01:00
Dawid
ab0dec5814
CMS providers update (#309)
* CMS providers update

* Strapi provider update

* Add channel listing update issue note to readme

* Update provider operations logs

* Update contribution guide and fields instructions

* Fix external links opening
2023-03-20 12:21:19 +01:00
Lukasz Ostrowski
b80df176e5
CMS: Add Sentry setup (#311) 2023-03-20 10:25:36 +01:00
Adrian Pilarczyk
ba40df0a10
chore/replace taxes readme (#303)
* refactor: 📝 replace readme with link to taxes docs

* refactor: 📝 replace the root level link to taxes

* build: 👷 add changeset
2023-03-17 10:26:43 +01:00
Lukasz Ostrowski
7cb3b892c4
Author field in manifests (#299)
* Update app-sdk to 0.37.0

* Add author field to manifest handler

* Fix build by fixing AppPermission in tRPC (use Permission instead) and replace domain with saleorApiUrl (compat with 0.37.1 sdk)

* Update app-sdk to 0.37.1
2023-03-16 19:09:26 +01:00
Krzysztof Wolski
a44aaf00a5
Add SMTP server auth (#300)
* Add SMTP server auth

* Add changeset
2023-03-16 19:07:24 +01:00
Lukasz Ostrowski
c952624dd9
[vercel deploy]
Release 2023-03-16

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-16 13:00:26 +01:00
Dawid
ec067b9699
CMS setup tests fix (#294) 2023-03-16 12:13:16 +01:00
Dawid
a07f337992
Add CMS hub app (#262)
* Add CMS hub app

* Cleanup

* Refactor CMS product variants webhooks

* Test utils 1

* Remove legacy code

* Add .env example

* Update types

* Remove unused code

* Fix cms client opertions settings test

* Fix pnpm-lock file

* Bump typescript to 4.9, support satisfies expressions
2023-03-16 11:17:00 +01:00
Krzysztof Wolski
e93a4dc1c8
Update the GraphQL Code Generator version (#291)
* Add missing plugin

* Update GraphQL Code Generator
2023-03-16 10:22:33 +01:00
Krzysztof Wolski
40e2299693
Fix the blinking of the forms and wrong redirection after removing the conf (#284)
* Fix the blinking of the forms and wrong redirection after removing the configuration
2023-03-15 11:38:36 +01:00
Lukasz Ostrowski
dab0f937dd
Invoices: Add debug logs and better temp pdf location (#265)
* Invoices: Add debug logs and better temp pdf location

* Fix test

* maybe fix test

* log debug test

* set local dirname

* wip

* wip

* wip
2023-03-15 09:38:13 +01:00
Krzysztof Wolski
3b694d16bc
Improve styles and layout of the emails app (#287)
* Use whole width of the screen

* Make template editor responsive

* Use whole screen in configuration view
2023-03-15 09:31:07 +01:00
Lukasz Ostrowski
36f42a72fc
[vercel deploy]
Taxes app

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-13 11:08:47 +01:00
Adrian Pilarczyk
b46a9f3e70
fix/split providers (#271)
* refactor: ♻️ add explicit return to services

* refactor: ♻️ use provider get method

* refactor: ♻️ move obfuscation logic to router & separate public service

* build: 💚 add changeset
2023-03-13 10:57:18 +01:00
Adrian Pilarczyk
56a4dbb3a3
refactor: 🚚 split avatax & taxjar into separate services (#264)
* refactor: ♻️ split into services

* docs: 💡 add comment about joining providers

* fix: 🐛 change name from avalara to avatax

* build: 👷 add changeset

* fix: 🐛 move return into catch
2023-03-10 13:04:25 +01:00
github-actions[bot]
5e28fce12e
[vercel deploy]
Invoices

* Release apps

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-03-10 09:50:15 +01:00
Lukasz Ostrowski
639dfc33ad
Improve invoices app loading strategy (#253)
* Invoices: Remove initial loading spinner and postpone NotifyReady event

* Remove graphql provider

* Remove unused Loader component
2023-03-09 13:06:45 +01:00
Krzysztof Wolski
1af3996e39
Add emails and messages app (#236)
* Add emails and messages app
2023-03-09 09:14:29 +01:00
github-actions[bot]
56c92ef430
Release apps (#248)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-08 09:23:09 +01:00
Lukasz Ostrowski
dca82bb93c
Update app-sdk in apps to 0.34.0 and rewrite SaleorAsyncWebhook to modern api (#238)
* Data importer: disable sentry if not in env

* All packages: update app sdk to 0.34.0 version and update api
2023-03-07 16:21:46 +01:00
Adrian Pilarczyk
d136463ce6 build: ⬆️
upgrade sdk to 0.34.1
2023-03-07 13:00:39 +01:00
Adrian Pilarczyk
1c04327bd6 fix: 🐛 address pr feedback 2023-03-07 12:07:11 +01:00
Adrian Pilarczyk
d63e88bdb6 build: ⬆️ app-sdk to 0.34.0 2023-03-07 11:46:21 +01:00
Adrian Pilarczyk
9138d7debd refactor: ♻️ use app-sdk syncwebhook 2023-03-07 11:31:44 +01:00
Adrian Pilarczyk
0d75d3a311 build: ⬆️ upgrade app-sdk 2023-03-07 11:08:00 +01:00
github-actions[bot]
4b06fa17e7
[vercel deploy]
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-03 11:34:36 +01:00
Lukasz Ostrowski
2755ed2038 Improve styles 2023-03-03 10:03:56 +01:00
Adrian Pilarczyk
9f0dd813a4
feat: add taxes app (#223)
* feat:  add taxes app

* chore: 🔥 remove files, use monorepo ones instead

* chore:  add all env vars to .env.example

* refactor: 🔧 use saleor eslint config

* build: ⬆️ app-sdk, remove vercel from apl

* refactor: ♻️ remove providers/index, infer taxProviders from providerConfig

* refactor: ♻️ use tuples to use objects

* refactor: 🚚 move types to taxes module

* refactor: ♻️ tax-prepare-data -> tax-line-resolver

* refactor: get isInFrame from apps-shared

* build: ⬆️ next

* feat:  add appRegister allowlist

* Update apps/taxes/src/pages/api/manifest.ts

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Update apps/taxes/src/pages/api/manifest.ts

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* chore: 💡 improve comments

* refactor: 🔥 app-dashboard-link

* docs: 📝 add taxes to readme

* refactor: 🔥 app-main-bar

* refactor: ♻️ align saleor-app.ts with the rest

* refactor: ♻️ use defaultValues

* chore: ♻️ misc

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-03-02 12:01:17 +01:00
github-actions[bot]
62ddd41094
[vercel deploy]
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-02 11:53:58 +01:00
Lukasz Ostrowski
3e612cad1c
Add Sentry to data-importer (#226) 2023-03-01 15:24:16 +01:00
Lukasz Ostrowski
2d23480c61
Remove TitleBar from apps and shared package (#209)
* Remove TitleBar from apps and shared package

* Invoices: add manifest homepage and support urls
2023-02-28 20:18:34 +01:00
Lukasz Ostrowski
5efe136ab7
Invoices: Bump sdk to 0.33 and update register handler errors (#222) 2023-02-28 14:12:31 +01:00
Lukasz Ostrowski
55c8f1afcb
Invoices: validate Saleor version and fail if lower than declared (#220)
* Invoices: validate Saleor version and fail if lower than decalred

* Fix package lock

* Replace tiny-invariant error to custom one to get explicit error message
2023-02-28 12:56:48 +01:00