Commit graph

109 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
cbc31d3c2e
[vercel deploy]
Release 2023-03-20
2023-03-20 12:36:28 +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
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
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
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
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
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
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
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
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
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
Lukasz Ostrowski
1c9b2c487a
Change apps names to be more readable by humans (#183) 2023-02-22 09:41:15 +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
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
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
77538e49f7
Add slack app (#120)
* add slack app

* Update eslint

* Remove gitignore
2023-02-09 11:58:20 +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