Riqwan Thamir
b5662d0c6a
feat(admin-ui): adds category ui for tree/list, edit, create, delete ( #3399 )
...
* chore: adds category ui for tree/list, edit, create, delete
* fix: address feedback
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: fPolic <frane@medusajs.com >
2023-03-07 13:29:22 +01:00
Philip Korsholm
06f567f446
fix(admin-ui): table action gap ( #3386 )
...
* add gap in table actions
* add changeset
* Update .changeset/light-frogs-smoke.md
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-07 13:14:14 +01:00
Kasper Fabricius Kristensen
b4eba69911
fix(admin-ui): Resolve tailwindcss/nesting correctly ( #3404 )
...
* attempt resolving tailwind nesting
* fix import of tailwindcss/nesting plugin
* trigger pipeline
* trigger pipeline
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-07 13:12:13 +01:00
Adrien de Peretti
33c6ccf059
fix(medeusa): Transform query includes options should only be added to allowed props if there is already at least one allowed props ( #3362 )
...
**What**
when `fields` only contain includes options, it should return the entire object plus the include options. If the fields contains the included options + other fields, it should only return the requested fields + the included options
2023-03-07 11:52:14 +00:00
Philip Korsholm
15f47baf56
Fix(admin-ui, medusa): stock location fixes ( #3395 )
...
**What**
- A series of minor fixes for admin-ui relating to managing stock locations:
- make "create location" `primary`
- add delete prompt when cancelling creation if information has been input
- avoid clipping focus border on country select when creating a stock location
- allow removals of sales channels from stock locations
Fixes CORE-1191, CORE-1192, CORE-1190, CORE-1189
2023-03-07 10:54:09 +00:00
Oliver Windall Juhl
aadc1e19e9
chore: Ignore admin-ui in core pipeline ( #3381 )
2023-03-07 11:27:55 +01:00
Patrick
240d0ea7b8
fix(ci,oas) move oas ci script to a package under the oas workspace ( #3391 )
...
* feat(ci,oas) run oas ci on all PRs
* fix(ci,oas) move oas ci script to a package under the oas workspace
* chore(changeset): patch
2023-03-07 10:33:12 +01:00
Riqwan Thamir
bca731a148
chore: Product page shows list of categories associated with it ( #3400 )
2023-03-07 10:04:25 +01:00
Oliver Windall Juhl
aa0d1f3215
fix(medusa): Remove default job age option from EventBus ( #3388 )
...
* fix(medusa): Remove default job age option from EventBus
* Create .changeset/spicy-camels-invite.md
2023-03-06 19:41:12 +01:00
Shahed Nasser
6496c20800
docs: improved generation details in migrations guide ( #3396 )
2023-03-06 19:58:52 +02:00
Oliver Windall Juhl
ed0f777431
fix(admin-ui): Discount in DraftOrder create flow ( #3378 )
...
Solves #3332
2023-03-06 16:06:28 +00:00
Riqwan Thamir
0a6aa0e624
feat(medusa): categories can be ranked based on position ( #3341 )
...
* chore: categories can be ranked based on position
* chore: fix tests
* chore: sort categories by order
* chore: fix bug where mpath relationship is messed up
* chore: enable linting - lint changes
* Update packages/medusa/src/repositories/product-category.ts
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
* chore: fixed specs
* chore: cleanup repository to new typeorm interfaces + cleanup
* chore: revert repository changes due to incorrect sql
* chore: addressed pr reviews
---------
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2023-03-06 15:49:16 +01:00
Shahed Nasser
ba5d34efba
docs: migrate netlify redirects to vercel redirects ( #3387 )
...
* docs: added redirects for vercel
* fixed vercel error
2023-03-06 14:39:38 +02:00
Johannes Riedmüller
0d7725d3d3
docs: fix env variable name in sendgrid ( #3382 )
...
I think this reference is wrong.
2023-03-06 10:40:20 +02:00
Kasper Fabricius Kristensen
67ba8be02b
fix(admin): Add skus to claim menus ( #3368 )
...
**What**
- Adds SKU to all tables in claim flow, allowing admins to easily copy them to their clipboard.
2023-03-05 17:17:45 +00:00
Riqwan Thamir
d4e3e119de
feat(admin-ui): ProductCategory list page ( #3380 )
2023-03-05 16:16:53 +01:00
Philip Korsholm
5d809a7a39
fix(medusa-payment-stripe): Add typescript to dev deps ( #3371 )
...
* add typescript dev devepency
* add changeset
* update yarn.lock
2023-03-04 15:37:32 +01:00
Shahed Nasser
3086f8b016
docs: added script to ignore builds in vercel ( #3370 )
...
* docs: added script for vercel builds
* fix exit
2023-03-03 14:24:33 +02:00
olivermrbl
ad99a8bd24
chore: Fix merge conflicts with master
2023-03-03 12:01:35 +01:00
Kasper Fabricius Kristensen
40de54b010
feat(admin,admin-ui,medusa): Add Medusa Admin plugin ( #3334 )
2023-03-03 10:09:16 +01:00
Adrien de Peretti
d6b1ad1ccd
feat(medusa): Performance improvement of DraftOrder creation ( #3350 )
...
* chore(medusa): Improve draft order creation
* cleanup
* fix unit tests
* fix unit tests 2
* Create beige-ties-hunt.md
* cleanup feedback
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-02 18:03:04 +01:00
Adrien de Peretti
f033711ad6
feat(medusa): Add Lifetime support on project/plugin services ( #3349 )
...
* feat(medusa): Add Lifetime support on project/plugin services
* Create kind-dogs-argue.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-02 16:33:11 +01:00
github-actions[bot]
2507af68b5
chore(docs): Generated Services Reference (automated) ( #3360 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-03-02 13:21:33 +01:00
github-actions[bot]
ca55fd6aba
chore(docs): Generated Docs Announcement Bar (automated) ( #3359 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-03-02 12:10:22 +01:00
olivermrbl
3718f88c69
chore(release): v1.7.11
2023-03-02 12:02:35 +01:00
Riqwan Thamir
c432481319
fix(medusa): Creating Product with Sales Channels disabled ( #3357 )
2023-03-02 11:59:10 +01:00
github-actions[bot]
4e59129a31
chore(docs): Generated Docs Announcement Bar (automated) ( #3356 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-03-01 20:59:33 +02:00
olivermrbl
f5ed47053c
fix: Merge conflicts with master
2023-03-01 18:58:59 +01:00
olivermrbl
6e3b339b22
chore(release): v1.7.10
2023-03-01 18:55:21 +01:00
olivermrbl
947687d3f7
Merge branch 'master' into develop
2023-03-01 18:33:28 +01:00
Adrien de Peretti
e143a86976
fix(medusa): Plugin repository loader ( #3345 )
...
* fix(medusa): Plugin repository loader
* Create brave-goats-pay.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-01 18:14:36 +01:00
Oliver Windall Juhl
4b114cc419
feat(medusa): Use Bull jobId option to identify duplicates ( #3351 )
...
* feat(medusa): Use Bull jobId option to identify duplicates
* Create pink-emus-drum.md
2023-03-01 18:11:30 +01:00
Adrien de Peretti
b458615ed5
fix(medusa): Delete all payment sessions when cart total is 0 ( #3346 )
...
* Fix(medusa): On cart total amount at 0 the non initialised payment sessions are not delete
* fix test
* Create good-crews-pull.md
2023-03-01 13:22:25 +01:00
Philip Korsholm
8424236799
fix(medusa): Update typescript types to reflect oas and return types ( #3344 )
...
* update typescript types to reflect oas and return types
* add changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-02-28 19:19:24 +01:00
Adrien de Peretti
589d1c09b0
feat(medusa-payment-stripe): Stripe PaymentProcessor implementation ( #3257 )
2023-02-28 18:44:24 +01:00
Philip Korsholm
d61d6c7b7f
fix(medusa): Account for multiple inventory items in get-inventory ( #3094 )
...
* use pvi service method instead of inventory service method to get quantity for sales channel
* save a few invocations
* rename quantity
* omit || 0
* add changeset
* extract method for retrieving variant inventory quantity
* update pr with feedback
2023-02-28 17:09:20 +01:00
Philip Korsholm
5eb61fa0ef
fix(medusa): update create fulfillment flow ( #3172 )
...
* update create fulfillment flow
* move transaction service creation close to where it's used
* integration tests
* fix feedback
* use transformBody
* add changeset
2023-02-28 16:28:11 +01:00
olivermrbl
7738525401
fix: Merge conflicts with master
2023-02-28 11:24:46 +01:00
Philip Korsholm
a1e59313c9
feat(medusa, stock-location): Sales channel filtering when listing locations ( #3324 )
...
* only add ordering select if not already selected
* add integration test
* add changeset
* remove catch
* linting and suggestion from adrien
* add sales channel filtering when listing locations
* add changeset
* add exception back into sales channel location service
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-02-28 10:41:59 +01:00
Adrien de Peretti
cbbf3ca054
fix(medusa): Clean response data usage for admin and store fields/expand ( #3323 )
...
* fix(medusa): Clean response data usage for admin and store fields/expand
* cleanup
* Create mighty-ads-fold.md
* fix integration
* fix integration
* refactor transform query and cleanup
* fix missing re naming
* Update packages/medusa/src/api/middlewares/transform-query.ts
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-02-28 09:48:08 +01:00
github-actions[bot]
84b6fe1d93
chore(docs): Generated Docs Announcement Bar (automated) ( #3339 )
2023-02-28 09:07:21 +01:00
olivermrbl
83d70f7965
chore(release): v1.7.9
2023-02-28 08:57:57 +01:00
pepijn-vanvlaanderen
370bd472ed
fix(medusa): Fix regression in job scheduler service ( #3335 )
...
The queue registration of jobs has stopped working due to a small issue in how the jobs are added to the queue.
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-02-28 07:53:51 +00:00
Philip Korsholm
0a02b70e59
fix(medusa): Reservation routes and VariantInventory type ( #3328 )
2023-02-26 13:42:16 +01:00
Philip Korsholm
08c8aa46c5
fix(medusa): Only add ordering select if not already present ( #3319 )
2023-02-26 13:08:06 +01:00
Riqwan Thamir
6323868f65
feat(medusa) allow querying category descendants with a param in list endpoint ( #3321 )
...
What:
Allowing the list endpoint to return a full tree when requested.
Why:
When scoped with parent_category_id=null and include_descendant_tree=true, the query cost is fairly low. This allows for fast querying and prevent FE from building out the entire tree from a flat list repeatedly. By default, it is set to false, so this should be an intentional change knowing the costs of doing it for the entire result set.
How:
When include_descendants_tree is included in the request parameter or the service parameter, we do a loop on results of product categories and do a call to fetch the descendants of that product category.
RESOLVES CORE-1128
2023-02-24 08:46:52 +00:00
Carlos R. L. Rodrigues
ad7f56506f
Feat(medusa,modules-sdk): Modules SDK package ( #3294 )
2023-02-23 13:09:35 -03:00
github-actions[bot]
89ed4cd2b1
chore(docs): Generated API Reference ( #3326 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-02-23 17:49:38 +02:00
Shahed Nasser
8d453d35a9
docs: added details about expand, fields, and parameter types ( #3325 )
2023-02-23 17:12:51 +02:00
Patrick
f3bf351d21
feat(oas): pluralize OAS tags ( #3315 )
...
## What
Pluralize OAS tags
## Why
OAS tags are commonly used by code generator to group routes under a name space based on a tag.
Our JS client convention is to use plural, e.g: client.products, client.customers. In order to minimize friction when migrating to a client generated from OAS, tags should be plural as well.
## How
Match tag naming with JS client resource naming.
## Test
* Run `yarn build`
* Run `yarn openapi:generate`
* Run `yarn redocly preview-docs docs/api/admin/openapi.yaml --config=./docs-util/redocly/config.yaml`
* Expect side menu items to be plural.
* Run `yarn redocly preview-docs docs/api/store/openapi.yaml --config=./docs-util/redocly/config.yaml`
* Expect side menu items to be plural.
2023-02-23 13:31:51 +00:00