Commit graph

297 commits

Author SHA1 Message Date
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
github-actions[bot]
4331708334
Release apps [2023-02-28] (#201)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-28 12:17:48 +01:00
Lukasz Ostrowski
e746cf9af4
Slack: Fallback missing user name and last name in message (#219)
* Slack: Fallback missing user name and lastname in message

* Slack: Add billing address and user email
2023-02-28 09:52:33 +01:00
Lukasz Ostrowski
4e4257d788
Safely parse first channel from the list, if no channels exist (#196) 2023-02-27 09:29:12 +01:00
Lukasz Ostrowski
63275866a1
Inverting colors dark mode in Data Importer (#202) 2023-02-27 09:28:46 +01:00
Lukasz Ostrowski
289b42f40d
Remove VercelAPL config and readmes (#203)
* Remove VercelAPL trace

* Update .changeset/curly-zoos-worry.md

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

* Update .changeset/curly-zoos-worry.md

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

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-02-23 12:42:17 +01:00
Lukasz Ostrowski
1da5be3be1
Prepare app for production (#145)
Prepare data importer for production

---------

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

Fix prod resolving

Add icon

Improve styles
2023-02-23 07:22:37 +00:00
github-actions[bot]
f628461028
Release apps 2023-02-23T16:00
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-22 16:03:26 +01:00
Przemysław Łada
b33bfd35af
Add Saleor Monitoring app (#189)
* initial commit

* Remove pre-commit-config

* Update gitignore

* Update README

* Add better config for monitoring app (#190)

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-02-22 12:23:04 +01:00
Lukasz Ostrowski
1c9b2c487a
Change apps names to be more readable by humans (#183) 2023-02-22 09:41:15 +01:00
Lukasz Ostrowski
a819acced8 Revert "fix: dark mode (#184)"
This reverts commit 3054572566.
2023-02-22 09:36:48 +01:00
Yousaf Ishaq
3054572566
fix: dark mode (#184) 2023-02-22 09:31:59 +01:00
Lukasz Ostrowski
b3178b2d56
Improve Invoices App UI (#182)
* Improve Invoices App UI

* Create clean-onions-sparkle.md

* Update apps/invoices/src/modules/app-configuration/ui/address-form.tsx

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

---------

Co-authored-by: Adrian Pilarczyk <admin@peelar.dev>
2023-02-21 15:31:52 +01:00
Lukasz Ostrowski
ea850d34ab
Improve css and remove unused search components (#181) 2023-02-21 12:24:37 +01:00
Lukasz Ostrowski
5fc88ed6b7
Update UI to match new dashboard style (#138)
* Extract macaw theme palette to shared package

* Use MacawThemeProvider from shared package

* Fix maca theme provider props

* Update invoices app ui

* Add noSSRwrapper to packages shared

* Use external theme provider in data importer

* Use external theme provider in slack

* Improve margin in TitleBar

* Update colors in Klaviyo

* revert search to use local theme provider

* revert slack to use local theme provider

* Rewrite TitleBar to css modules

* Add unique jss classes prefix for Klaviyo

* Update apps/search/src/pages/_app.tsx

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

* Update shy-gorillas-shop.md

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-02-21 11:34:30 +01:00
Lukasz Ostrowski
ca3a0305f2
Add products feed app (#161)
* Add products feed app from another repo

* Improve codebase

* Create sweet-ears-tease.md

* Apply cr changes
2023-02-17 14:27:43 +01:00
github-actions[bot]
120f2a5b28
Release apps (#155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-15 13:49:45 +01:00
Lukasz Ostrowski
b874d1065b
Update sdk (#160) 2023-02-15 13:01:19 +01:00
Krzysztof Wolski
c786483f8b
Search: Split webhook subscription query (#151)
* Split the search subscription query

* Add changeset
2023-02-15 12:32:33 +01:00
github-actions[bot]
3f16a32c53
Release invoices@1.3.0, search@1.0.2 [vercel-deploy]
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-13 17:21:58 +01:00
Krzysztof Wolski
ce17e45abe
Fix missing attribute values in products (#147)
* Fix missing attribute values in products
2023-02-13 17:08:20 +01:00
Lukasz Ostrowski
c1dab0ba18
Make content cards not sticky, for better support of smaller screens (#148)
* [Invoices] Remove sticky containers for better support of small screens

* Change loader to be circular instead linear
2023-02-13 16:17:30 +01:00
github-actions[bot]
846ad44d89
Release apps (#144)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-10 16:35:24 +01:00
Lukasz Ostrowski
0219561dd9
Remove firstName and lastName from billing address of the company and form (#143)
* [Invoices] Remove firstName and lastName from billing address of the company and form

* Fix fixtures
2023-02-10 16:29:54 +01:00
github-actions[bot]
945f69b9f7
Release apps (#136)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-10 15:08:06 +01:00
Lukasz Ostrowski
081d15e168
Add prettier on pre-commit & reformat codebase (#137)
* Run prettier on project

* Install lint-staged

* Add Husky
2023-02-10 11:13:59 +01:00
Lukasz Ostrowski
9f843b2d31
Extract TitleBar and AppIcon to shared package and implement it in apps (#134)
* Update imports from apps-shared package

* Extract main bar and app icon

* Remove graphql generated

* Implement AppIcon and MainBar in data importer and invoices

* Change name to TitleBar

* Use TitleBar and AppIcon from shared package

* Use title bar from shared in search

* Refactor slack to use TitleBar from shared package

* Make TitleBar sticky

* Run codegen before cicd tests

* Add generate script
2023-02-09 18:41:23 +01:00
Lukasz Ostrowski
260a57c6fc Change Klaviyo icon to K 2023-02-09 15:57:53 +01:00
Lukasz Ostrowski
96fc53d6c3 Remove vercel handling from Slack APL 2023-02-09 15:56:52 +01:00
github-actions[bot]
7ff28a2481
Release apps (#118)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-09 12:18:58 +01:00
Lukasz Ostrowski
36ea52fa4e Fix slack build 2023-02-09 12:03:28 +01:00
Lukasz Ostrowski
77538e49f7
Add slack app (#120)
* add slack app

* Update eslint

* Remove gitignore
2023-02-09 11:58:20 +01:00
Lukasz Ostrowski
4865d33d5d
Add Klaviyo (#112)
* Add Klaviyo

* Update schema

* Fix build

* Empty commit to trigger deploy
2023-02-09 10:41:54 +01:00
github-actions[bot]
8fe7238f98
Release apps (#110)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-08 13:19:55 +01:00
Lukasz Ostrowski
a641caf00f
Extract single shared package (#106)
* Extract isInIframe

* Fix SSR in trpc invoices

* Add changelog
2023-02-08 13:16:14 +01:00
github-actions[bot]
e43d5634a7
Release apps (#107)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-08 13:00:17 +01:00
Lukasz Ostrowski
21f0a60f07
Add search app (#108)
* Add Search App to apps

* Link eslint config to invoices

* Changesets
2023-02-08 09:28:14 +01:00
Lukasz Ostrowski
d13ece4b07 Fix eslint config 2023-02-07 21:14:25 +01:00
github-actions[bot]
e783e92749
saleor-app-invoices@1.1.0 (#104)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 21:02:42 +01:00
Lukasz Ostrowski
569a187890
Remove VercelAPL from SaleorApp (#103)
* Remove VercelAPL from SaleorApp

* Fix name for workflow
2023-02-07 20:54:03 +01:00
Lukasz Ostrowski
3092be00ff Update configs 2023-02-07 20:37:30 +01:00
Lukasz Ostrowski
cc0281c0ce Update deps 2023-02-07 20:28:40 +01:00
Lukasz Ostrowski
50049cd19e Add invoices app 2023-02-07 20:25:36 +01:00
github-actions[bot]
8f6098aefb
Release apps (#102)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-07 20:12:20 +01:00
Lukasz Ostrowski
7aabcdc9e3
Update deps (#101) 2023-02-07 20:09:51 +01:00
Lukasz Ostrowski
d27f7214a8 Move config files 2023-02-07 19:27:17 +01:00
Lukasz Ostrowski
340a03fc76 Add valid turbo config 2023-02-07 19:16:12 +01:00
Lukasz Ostrowski
073ce83e30 Add data-importer app 2023-02-07 19:11:39 +01:00