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
ccd8250e2f
Add changeset
2023-05-09 13:19:58 +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
fdf9423a17
Move the development docs to docs.saleor.io ( #344 )
...
* Move the development docs to docs.saleor.io
* Delete docs directory
2023-03-29 12:32:01 +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