Commit Graph

8840 Commits

Author SHA1 Message Date
Frane Polić
b7fef5b7ef fix(dashboard): promotion decimal value definition (#13371)
* fix(dashboard): pormotion decimal value definition

* fix: typo

* fix: fixed value decimals

* fix: translation
2025-09-04 16:07:29 +02:00
Shahed Nasser
21c31a2ab2 docs: added a note about payload version (#13410) 2025-09-04 14:25:09 +03:00
Adrien de Peretti
2b89510df3 chore(): only execute race execution checks and publish message only for async workflows (#13396)
* chore(): only execute race execution checks for async workflows

* chore(): workflow redis publish only for async flows

* Create cyan-gorillas-poke.md

* chore(): workflow redis publish only for async flows

* fix negative check

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-09-04 09:12:09 +02:00
Shahed Nasser
28830567e7 docs: fix scrollbar not clickable (#13409) 2025-09-04 09:55:38 +03:00
Frane Polić
f69088998c fix(dashboard, ui): ensure radix deps version (#13392) 2025-09-04 08:42:51 +02:00
William Bouchard
faae150a58 fix(utils): big bumber should give numeric value of 0 for small numbers (#13394)
* fix(utils): big bumber should give numeric value of 0 for small numbers

* circular dep

* fix imports

* fix infinite loop

* fix test

* changeset
2025-09-03 13:45:41 -04:00
Oli Juhl
115a1deb49 chore: Fix scripts in CLI pipeline (#13402)
* chore: Fix scripts in CLI pipeline

* Create curly-lizards-dress.md
2025-09-03 14:07:24 +02:00
Nicklas Gellner
a2dabea6c4 docs: change text in Cloud homepage (#13401) 2025-09-03 09:32:16 +00:00
Shahed Nasser
f1149ea170 docs: show the source code link in order models reference (#13398) 2025-09-03 10:36:59 +03:00
Shahed Nasser
1578e1ad22 docs: add more examples for API route responses (#13399) 2025-09-03 10:36:24 +03:00
William Bouchard
2f6edf367a feat(dashboard,cart,types,utils): refine order details summary (#13313)
* feat(dashboard,types,utils): refine order details summary

* fix tests

* changeset

* ui corrections

* tests again

* weird tests failing

* revert update to subtotal

* revert http tests too

* comments

* move credit lines so it makes more sense

* remove currency codes and add bold prices

* add new properties in default for storefront

* minor to patch

* remove bold on things that should be

* olis comment about taxes

* remove bold from shipping
2025-09-02 20:50:37 +02:00
Pepijn
753e8081c4 fix(dashboard): promotion expired status check when limit is null (#13373)
* Fix promotion expired status

* Update .changeset/bright-spoons-float.md

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-09-02 11:46:32 +02:00
Shahed Nasser
e96c0e4d09 docs: document feature flags (#13388) 2025-09-02 12:26:54 +03:00
Adrien de Peretti
bd206cb250 chore(): improve workflow engine storage (#13345)
* chore(workflow-engines): Improve race condition management

* cleanup

* cleanup

* chore(workflow-engines): Improve race condition management

* chore(workflow-engines): Improve race condition management

* chore(workflow-engines): heartbeat extend TTL

* Refactor chore title for workflow engine improvements

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* chore(): Improve workflow execution db interaction

* update tests

* revert idempotent

* add run_id index + await deletion

* improve saving

* comment

* remove only

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-09-02 11:18:12 +02:00
Adrien de Peretti
b85a46e85b chore(): faster serialization (#13325)
* chore(): Improve serialization perf

* better optimization with monomorphic approach and consistent object shape and array operations

* cleanup

* cleanup

* fix

* Create short-birds-help.md

* ref work

* ref work

* address feedback

* save intermediary changes

* save intermediary changes
2025-09-02 10:19:59 +02:00
Frane Polić
fb71bc6405 fix(core-flows): handle cacluated shipping options on draft orders gracefully (#13353)
* fix(core-flows): handle calculated shipping options on draft orders gracefully

* fix: throw medusa error
2025-09-02 10:06:31 +02:00
Leroy Davidson Descelles
e6c394569e docs: change digial products to digital products (#13379)
Small fix for typo I noticed when reading the docs.
2025-09-02 06:29:43 +00:00
Shahed Nasser
24199fa47a docs: general updates and fixes (#13374)
* docs: general updates and fixes

* fix lint errors
2025-09-02 09:07:07 +03:00
Sebastian Rindom
c717535ca2 feat(admin): add configurable order views (#13211)
Adds support for configurable order views.

https://github.com/user-attachments/assets/ed4a5f61-1667-4ed7-9478-423894f3eba6
2025-09-01 17:04:18 +00:00
Shahed Nasser
f8d8eeace1 docs: added a section on figma mcp + workflows diagram fix (#13367) 2025-09-01 18:45:23 +03:00
Shahed Nasser
bafe110352 docs: add missing step in product builder guide (#13370) 2025-09-01 18:42:35 +03:00
Carlos R. L. Rodrigues
b4c0f131b7 chore(framework,medusa): load custom flags before medusa config (#13312)
* chore(framework,medusa): load custom flags before medusa config

* test

* test runner

* changeset

* check manager featureFlags

* discover and register flags

* rm comments

* update changeset

* changeset

* use local cli

* execute from local medusa command

---------

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
2025-09-01 16:04:43 +02:00
Sebastian Rindom
2a94dbd243 feat(ui): add column visibility and drag-and-drop reordering support (#13198) 2025-09-01 12:03:56 +00:00
Sebastian Rindom
5a46372afd Feat/datatable core enhancements (#13193)
**What**

This PR adds core DataTable enhancements to support view configurations in the admin dashboard. This is part of a set of stacked PRs to add the feature to Medusa.

- Puts handlers in place to update the visible columns in a table and the order in which they appear.
- Adds a ViewPills component for displaying and switching between saved view configurations
- Integrated view configuration hooks (useViewConfigurations) with the DataTable

Note: Column drag-and-drop reordering and the column visibility UI controls are not included in this PR as they require additional UI library updates - which will come in the next PR.

Example of what this looks like with the feature flag turned on - note the view pills with "default" in the top. This will expand when the data table behavior adds configuration.
<img width="2492" height="758" alt="CleanShot 2025-08-13 at 2  31 35@2x" src="https://github.com/user-attachments/assets/ee770f1c-dae1-49da-b255-1a6d615789de" />
2025-09-01 10:30:05 +00:00
Sebastian Rindom
fa10c78ed3 feat(admin): add view configuration client infrastructure (#13186)
This is part of stacked PRs to add a view configuration feature which will allow users to customize the columns seen in tables in the Medusa Admin dashboard.

**What**
- Adds client providers, sdk methods and hooks for interacting with the views api.
2025-09-01 09:20:37 +00:00
Shahed Nasser
72675c59ec docs: document how prices are stored in Medusa (#13362) 2025-09-01 10:10:28 +03:00
Shahed Nasser
c71ad3ff61 docs: add locking module provider to deployment guide (#13361) 2025-09-01 10:09:55 +03:00
Riqwan Thamir
ca038ff583 feat(promotion): Allow buyget promotion to apply multiple times on cart (#13305)
what:

Introduces 2 new features to promotion module:

1. Introduce max quantity limit to promotion application - This will limit the application of the promotion based on the quantity of the target products in the cart. 
2. When applying buy get promotions, we will now apply buyget promotion until eligible items are exhausted or max quantity is reached. 

```
- Buy 2 t-shirts, Get 1 sweater
- Max quantity -> 1

This means you can add two t-shirts, and get 1 sweaters for free. However, if you add four t-shirts, you only get one sweater for free.
```

```
- Buy 2 t-shirts, Get 1 sweater
- Max quantity -> 3

This means you can add six t-shirts, and get three sweaters for free. However, if you add eight t-shirts, you only get three sweaters for free
```

```
- Buy 4 t-shirts, Get 2 sweater
- Max quantity -> 1

This should throw on creation, as the max quantity should as a minimum be the same value as the target rule quantity
```

RESOLVES SUP-2357 / https://github.com/medusajs/medusa/issues/13265
2025-08-31 13:35:36 +00:00
Frane Polić
f53f027ce6 fix(dashboard): rules form operator change (#13324)
**What**
- fix condition rules form sometimes rendering multi and single selects unrelated to the attribute operator selected
- reset rule value when operator is changed
- disable selecting rule values untill operator is selected
- translate labels
2025-08-29 15:53:00 +00:00
Shahed Nasser
c603540562 docs: add troubleshooting guide for pnpm installations (#13351) 2025-08-29 18:03:03 +03:00
Shahed Nasser
f39ba53fd3 docs: document scheduled jobs interval (#13350) 2025-08-29 15:14:26 +03:00
Shahed Nasser
7b1028e5ae docs-util: fix workflows not picked for some routes + generate OAS (#13342)
* generated oas

* fixes and improvements
2025-08-29 12:51:55 +03:00
Shahed Nasser
899ac2f052 docs: generate references for 2.10.1 (#13344) 2025-08-29 12:51:43 +03:00
Shahed Nasser
cf4da02e39 docs-util: fix error in release pipeline (#13343) 2025-08-29 12:51:32 +03:00
github-actions[bot]
9069e9279e chore(docs): Generated + Updated UI Reference (automated) (#13339)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-08-29 08:33:34 +03:00
github-actions[bot]
a150b6dbba chore(docs): Update version in documentation (automated) (#13340)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-08-29 08:33:21 +03:00
olivermrbl
4ee9c67c08 chore: Release 2025-08-28 23:00:54 +02:00
github-actions[bot]
6dca59d0a5 chore: Version Packages (#13338)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 22:58:13 +02:00
Carlos R. L. Rodrigues
8176d0f684 chore(core-flows): revert idempotent cart (#13336) 2025-08-28 22:45:43 +02:00
Shahed Nasser
be9b2930fd docs: update UI docs (#13333) 2025-08-28 20:58:27 +03:00
Shahed Nasser
ad71eef38c chore: add since tag to shipping option type events (#13331) 2025-08-28 20:58:01 +03:00
Shahed Nasser
137a74c1f4 docs: added shipping option type injection zones (#13332)
* docs: added shipping option type injection zones

* added note
2025-08-28 20:09:06 +03:00
Shahed Nasser
5c6e172c61 docs: generate API reference for 2.10.0 (#13330) 2025-08-28 20:05:37 +03:00
Shahed Nasser
494d28ebe4 chore: fix release action of ui docs (#13329)
* chore: fix release action of ui docs

* fix ignore build script
2025-08-28 19:38:58 +03:00
github-actions[bot]
f239f38e58 chore(docs): Generated DML JSON files (automated) (#13328)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-08-28 18:57:18 +03:00
github-actions[bot]
76e10b1fe1 chore(docs): Update version in documentation (automated) (#13327)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-08-28 18:56:55 +03:00
Shahed Nasser
d510639193 docs: docs for next release (#13303)
* added draft order plugin docs

* fix vale error

* added note about draft order being optional

* add new shipping option - shipping method link

* update user guides

* generate

* fix github icon

* changes to shipping option type

* document logger

* reorder list

* fixes

* fixes
2025-08-28 18:49:07 +03:00
olivermrbl
94effdcda7 chore: Release 2025-08-28 17:30:44 +02:00
github-actions[bot]
08ec3ed9f2 chore: Version Packages (#13209)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 17:25:32 +02:00
William Bouchard
65dfcf9be4 chore(dashboard): move shipping option type page (#13323)
* chore(dashboard): move shipping option type page

* small issue with the toast for edit
2025-08-28 15:31:51 +02:00