Adrian Pilarczyk
fb8aa45f4c
build: ⬆️ upgrade avatax
2023-08-03 09:25:15 +02:00
Lukasz Ostrowski
aa6fec183d
Update Macaw and bindings to pre-106 ( #791 )
...
* Bump macaw UI
* Adjust rhf-macaw binding to use new macaw API
* Adjust CRM to use new macaw api
* adjust apps to work with new macaw
* Update combo box
* fix combobox value
2023-07-24 16:45:45 +02:00
Krzysztof Wolski
2fab86b465
Update graphql codegen related packages ( #801 )
...
* Update codegen packages
* Add changeset
2023-07-24 11:50:44 +02:00
Lukasz Ostrowski
5b2976306e
remove CMS v1 app codebase ( #789 )
2023-07-19 14:01:17 +02:00
Lukasz Ostrowski
44333a6784
Remove monitoring app ( #784 )
...
* Remove monitoring app
* remove monitoring cicd
2023-07-19 10:21:39 +02:00
Lukasz Ostrowski
70cb741f88
CMS App v2 ( #721 )
...
* initial setup
* GRaphql setup
* [skip ci]
* Manifest and register endpoints
* Add config schemas
* contentful client
* contentful client
* [skip ci] trpc setup
* metadata manager and contentful router
* Configuration config
* contentful config - adding providers
* add provider page
* wip contentful form
* contentful form
* list providrs
* edit contentful form
* [skip ci]
* [skip ci] replace contentful sdk
* replace contentful lib
* Delete contetnful provider feature
* variant created webhook draft
* channel provider connection model
* Channel connections ui
* adding new connection
* connections ui (adding)
* [skip ci] wip edit conn
* removing connection
* rebuild modal
* refactor providers
* implement update product webhook
* add deleting product
* [skip ci] wip
* refactor contentful router
* refactor wip
* refactor config
* webhooks processor
* webhook delegations
* bulk sync section
* bulk sync page
* gql for imports
* [skip ci] bulk import contentful
* temp variant sync list with rate limiters
* wip
* wip
* wip
* new frontend for uploading
* update zod
* print config keys
* wip
* [skip ci] datocms init
* dato add provdier page
* dato form skeleton
* dato display content type select
* full dato form
* ButtonsBox extraction
* edit dato config form
* update product in dato
* [skip ci]
* extract bulk sync processor
* dato bulk update
* [skip ci] product updated webhook
* product webhook
* crud operations router
* update cruds
* refactor webhook operations
* refactors
* refactors
* helper texts
* [skip ci] deps
* Init
* fix macaw icon
* unify app skd
* unify nextjs
* strapi setup
* fix strapi types
* strapi upload product
* strapi delete product
* strapi product updated webhook
* processor for bulk sync strapi
* shared add provider page
* refactors
* refactors
* wrap providers into folder
* refactors
* refactors
* refactors
* pnpm lock
* add logs
* name configuration mapping name
* form configurable side notes
* remove commentns
* wip providers resolver working
* central config for providers resolving
* tests wip
* remove vscode condig
* cleanup
* provider meta extract
* some tests for contentufl
* contentful client test
* more tests for contentful
* strapi helper texts
* builderio setup
* builderio form
* builderio client draft
* validate connection modal
* Add sending product to builderio
* rename builder field
* add public api key for read access
* update products
* Builder.io - bulk sync
* Fix manifest
* cr fixes
* Make strapi to work with multiple products
* Github actions
2023-07-18 10:19:21 +02:00
Krzysztof Wolski
3c6cd4ccec
Update the app sdk package ( #754 )
2023-07-13 17:38:04 +02:00
Krzysztof Wolski
62104473b4
Update tRPC and React-query ( #748 )
...
* Update tRPC and TypeScript
* Fix return types to fix types after the update
* Add changesets
* Use an exact version
* Update react query
2023-07-11 21:32:58 +02:00
Lukasz Ostrowski
e7c2d3a877
Update TS and ESLint ( #734 )
2023-07-11 17:02:38 +02:00
Lukasz Ostrowski
2d77bca353
Update nextjs to 13.4.8 ( #720 )
...
* Update nextjs to 13.4.8
* Update .changeset/neat-queens-draw.md
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-07-04 12:43:57 +02:00
Lukasz Ostrowski
6299e064b6
Update app-sdk ( #672 )
...
* Update app-sdk to dev release and temporary display saleor versions in search app
* Update app-sdk
* add changeset
* Removed temp code
2023-06-29 14:35:57 +02:00
Lukasz Ostrowski
7c98e384fd
E2E tests ( #668 )
...
* playwright install
* Configrations
* assertions
* basic tests for apps installations
* tests for product feed
* Adjust PF assertions to use test-id
* Taxes smoke test
* moved files around
* Add smoke for Klaviyo
* More taxes tests
* remove workflow
* add example
* extract separate test for pf
* Improve PF test
* cr fixes
2023-06-28 17:08:00 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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