Commit graph

21 commits

Author SHA1 Message Date
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
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
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
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
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
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
Krzysztof Wolski
1af3996e39
Add emails and messages app (#236)
* Add emails and messages app
2023-03-09 09:14:29 +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
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
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
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
Lukasz Ostrowski
72a74f1960 Try to add env to turbo 2023-02-15 18:28:55 +01:00
Lukasz Ostrowski
a58be823f4
Add NEXT_PUBLIC_VERCEL_ENV env variable to invalidate turbo-ignore (#150) 2023-02-13 18:03:38 +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
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
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
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
340a03fc76 Add valid turbo config 2023-02-07 19:16:12 +01:00
Lukasz Ostrowski
7b11e8a3d4 Setup Turborepo boilerplate 2023-02-07 18:57:26 +01:00