Shahed Nasser
df5ae50612
docs-util: add tool to generate mapping between JS SDK examples and routes ( #11933 )
...
* initial implementation
* finish implementation
* add js sdk key
2025-03-21 15:34:52 +02:00
Shahed Nasser
834b309037
docs: add missing ui dependency ( #11931 )
2025-03-21 14:48:44 +02:00
Shahed Nasser
5587451c92
docs: add a note to stripe customization in next.js starter ( #11929 )
2025-03-21 12:24:22 +02:00
Harminder Virk
cab6f3a8ad
feat: add support for accessing step results via context ( #11907 )
...
Fixes: FRMW-2934
This PR adds support for accessing the results of a hook using the `hook.getResult` method.
2025-03-21 10:15:38 +00:00
Shahed Nasser
a3f4560263
docs: fix sitemap of ui docs ( #11928 )
2025-03-21 12:04:18 +02:00
Shahed Nasser
4c33586946
docs: added troubleshooting guides + improvements ( #11927 )
...
* docs: added troubleshooting guides + improvements
* build fixes
2025-03-21 11:47:03 +02:00
Stevche Radevski
c4f75ecbb2
feat: Add support for generating a cloud-ready config out of the box ( #11850 )
2025-03-21 09:21:38 +01:00
Kasper Fabricius Kristensen
c40fb01d92
fix(ui): Disable select cells if the row cannot be selected ( #11442 )
2025-03-20 11:52:07 +01:00
Shahed Nasser
98e630bce5
docs: improved search results ( #11909 )
2025-03-19 15:31:01 +02:00
Shahed Nasser
ee014e063e
docs: added product review guide ( #11852 )
...
* finish guide
* fix tags not showing correctly
* revert changes in prepare
* generate changes
2025-03-19 15:19:38 +02:00
Frane Polić
8385a5e34d
feat(core-flows): revisit fulfillment flow reservations and support inventory kit ( #11790 )
...
* feat: fulfillment flow with reservations and inventory kit
* fix: account for custom line items
* chore: cleanup, changeset
* fix: revert action check
* fix: deduplicate, test item qunatities, compute line item quantity from fulfillment items
* fix:
* fix: improve types
* fix: optimize fetched fileds in cancel fulfillment workflow
* fix: add a test case
* chore: update type
2025-03-19 13:15:24 +01:00
Shahed Nasser
a73c9770fa
docs: fix request http method in wishlist guide ( #11902 )
...
* docs: fix request http method in wishlist guide
* generated llms
2025-03-19 11:40:35 +02:00
Arūnas Bandzaitis
e2ee4a1d5f
feat(dashboard): add support for Lithuanian language ( #11903 )
2025-03-19 10:32:30 +01:00
Arūnas Bandzaitis
a86b7858b5
fix(dashboard): EN language mistypes, missing words ( #11904 )
2025-03-19 10:31:56 +01:00
Shahed Nasser
4827db98f7
docs: added to workflow legend + example improvements ( #11895 )
2025-03-19 08:31:28 +02:00
Shahed Nasser
9ead47c51e
docs: add prepare script to generate sidebar ( #11894 )
2025-03-18 17:37:51 +02:00
Shahed Nasser
eb2aa8da3c
docs-util: collapse types in references ( #11888 )
...
* docs-util: collapse types in references
* improve for arrays
2025-03-18 16:49:34 +02:00
Shahed Nasser
ac24749bd3
docs: generated references after collapse types improvement ( #11889 )
2025-03-18 16:48:43 +02:00
Radek Napora
d0ca0f5ce0
fix(dashboard): repair scrollbar behavior in variant inventory form ( #11710 )
2025-03-18 12:40:36 +01:00
Shahed Nasser
2b2b65f5f7
docs: cache revalidation in next.js storefront + storefront totals ( #11887 )
...
* initial changes
* generated sidebar
2025-03-18 12:20:09 +02:00
Harminder Virk
ff3885500c
fix: hooks auto-generated types to have precise input options ( #11886 )
2025-03-18 15:41:01 +05:30
Shahed Nasser
3f2bdb59cb
docs: improved data model docs ( #11884 )
...
* docs: improved data model docs
* fix build errors
2025-03-18 11:45:21 +02:00
Harminder Virk
aa6d5aa3cf
fix: register locking provider with its unique id ( #11874 )
2025-03-18 15:04:47 +05:30
Frane Polić
63330668ed
fix(dashboard): location injection zones ( #11845 )
...
FIXES SUP-1159
2025-03-18 08:33:07 +00:00
Shahed Nasser
cb68a9e67b
docs: added how-to guides for architectural modules ( #11883 )
...
* added initial how-tos
* finished changes
* generated sidebars
2025-03-18 09:49:19 +02:00
Shahed Nasser
0099c1e2e9
chore: added / improved tsdocs to cache, event, file, and notification modules ( #11879 )
...
* chore: added / improved tsdocs to cache, event, file, and notification modules
* small fixes
2025-03-18 09:07:32 +02:00
Shahed Nasser
bc3d04dac9
docs: read-only links + other changes ( #11878 )
...
* docs: read-only links + other changes
* re-generate
* fix vale errors
2025-03-18 08:31:09 +02:00
Riqwan Thamir
c3440e5e38
feat(medusa,types): add enabled plugins route ( #11876 )
2025-03-17 20:11:46 +01:00
Riqwan Thamir
9dd62d93bd
feat(core-flows,types,utils): make payment optional when cart balance is 0 ( #11872 )
...
what:
- make payment optional when cart balance is 0
2025-03-17 19:03:22 +00:00
Riqwan Thamir
5ab15a2988
feat(dashboard,js-sdk,admin-shared): add customer addresses + layout change ( #11871 )
...
what:
- changes customer layout from 1 layout to 2
- adds ability to create and delete customer addresses
- adds 2 customer widget locations
- adds is_giftcard=false by default to products list
<img width="1663" alt="Screenshot 2025-03-08 at 21 34 02" src="https://github.com/user-attachments/assets/e66f05da-718c-4c25-81ce-67ba0a814ca3 " />
2025-03-17 16:16:27 +00:00
Kasper Fabricius Kristensen
cc4c5c86e2
chore(ui-preset,icons,dashboard) ( #11734 )
...
* update icons
* update ui-preset
* chore(ui-preset,icons): Sync with Figma 5/3/2025
* chore(ui-preset,icons): Sync with Figma
2025-03-17 16:51:57 +01:00
Shahed Nasser
1db48a4490
docs: update and improve marketplace recipe ( #11870 )
...
* docs: update and improve marketplace recipe
* fix vale error
* small fixes
2025-03-17 17:23:05 +02:00
Riqwan Thamir
cb6249320e
fix(types,order,medusa): Create credit lines + hooks ( #11569 )
...
what:
- api/workflows to create credit lines
- hooks to enable extending credit lines
2025-03-17 15:20:59 +00:00
Carlos R. L. Rodrigues
0625f76cd4
chore(workflow-engine): export cancel method ( #11844 )
...
What:
* Workflow engine exports the method `cancel` to revert a workflow.
2025-03-17 12:59:09 +00:00
Frane Polić
3db146c56e
fix(dashboard): display inventory item sku ( #11856 )
...
CLOSES SUP-1171
2025-03-17 11:48:44 +00:00
Shahed Nasser
857a26ff17
docs: improve links to other modules docs ( #11868 )
2025-03-17 12:17:39 +02:00
Harminder Virk
cae47d9e49
feat: add check for uniqueness when creating links with isList=false ( #11767 )
2025-03-17 13:23:18 +05:30
AmbroziuBaban
879c623705
Update page.mdx ( #11859 )
...
Updated the starter_url description.
2025-03-17 06:46:07 +00:00
Adrien de Peretti
c73504e0ed
fix(workflow-engine-inmemory): Fail trap for integration tests ( #11839 )
...
**What**
Jest is patching the event emitter meaning that sometimes it can lead to flacky behaviors and block the test execution if the done callback is never reached. To prevent that from happening, the fail trap will call the done callback after a given time and warn that the test could not be concluded because of jest blocking it
2025-03-15 12:42:38 +00:00
OttavioCas
5e892e2f05
add no_notification to shipment created event ( #11836 )
2025-03-14 13:05:14 -03:00
Nicklas Gellner
d24090e0bd
Update page.mdx ( #11841 )
...
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2025-03-14 06:56:34 +00:00
Riqwan Thamir
67b308c8eb
fix(promotion): percentage value is accounted for in buyget promotions ( #11799 )
...
what:
- allows percentage value to be considered for buy get percentage
FIXES https://github.com/medusajs/medusa/issues/11259
2025-03-13 17:09:46 +00:00
Kasper Fabricius Kristensen
3063d6e601
fix(dashboard): Include thumbnail in default product query ( #11825 )
...
RESOLVES CMRC-984
2025-03-13 16:26:39 +00:00
Adrien de Peretti
fc652ea51e
fix(workflow-engine-*): scheduled jobs interval ( #11800 )
...
**What**
Currently only cron pattern are supported by scheduled jobs, this can lead to issue. for example you set the pattern to execute every hours at minute 0 and second 0 (as it is expected to execute at exactly this constraint) but due to the moment it gets executed we our out of the second 0 then the job wont get executed until the next scheduled cron table execution.
With this pr we introduce the `interval` configuration which allows you the specify a delay between execution in ms (e.g every minute -> 60 * 1000 ms) which ensure that once a job is executed another one is scheduled for a minute later.
**Usage**
```ts
// jobs/job-1.ts
const thirtySeconds = 30 * 1000
export const config = {
name: "job-1",
schedule: {
interval: thirtySeconds
},
}
```
2025-03-13 15:05:13 +00:00
Saryazdi-Saman
e05491c24f
fix: preserve payment sessions during certain Stripe errors for webhook reconciliation ( #11798 )
...
* fix: preserve payment sessions during certain Stripe errors for webhook reconciliation
fix: add retry mechanism for errors that might be fixed after retry
fix: authorizePaymentSession method will update payment_session.status regardless regardless of wether or not the authorization is successful
* Refactor: improve handling structure and syntax
-Move HandledErrorType definition to the top of stripe-base
- Use timers/promises for setTimeout
- Removed data in HandledErrorType when retry is true
* refactor: improve error handling flow and logic
- Simplify return statement in initiatePayment to handle null cases
- Remove redundant if-check in handleStripeError and rely on switch
- Reorder conditional checks in executeWithRetry for clearer flow
- Update executeWithRetry to check for retry=false condition first
* clean up
* fix: improve payment error handling and traceability
- Return structured error state for StripeAPIError instead of null
- Throw error when retries are exhausted and no payment intent exists
- Update type definitions to support error state tracking
* fix formatting and naming
2025-03-13 14:46:31 +01:00
Shahed Nasser
28b0d08591
docs: add documentation for Locking Module ( #11824 )
...
* add locking docs
* fix main navbar
* added implementation example links
* generate refs
* update architecture
* fix vale error
2025-03-13 12:20:24 +02:00
Carlos R. L. Rodrigues
5cf0bf4d93
chore: admin product list transform filter ( #11821 )
2025-03-12 13:21:09 -03:00
Stevche Radevski
e0109540fa
feat: Change customer to account_holder to be one-to-many ( #11803 )
2025-03-12 16:05:38 +01:00
Carlos R. L. Rodrigues
6053ec3976
chore(workflow-engine-redis): remove repeatable jobs from old queue ( #11822 )
...
What:
* Old deployments have repeatable jobs registered in a wrong queue. When the `server` instance picks that job, the workflow doesn't exist, it calls to remove the job, which then removes the job from the new queue.
* This PR cleans up any repeatable job from the queue that is exclusive to handle workflows.
2025-03-12 14:54:10 +00:00
Shahed Nasser
76a0d8e1d8
chore(types): small fixes to locking TSDocs ( #11823 )
...
* chore(types): small fixes to locking TSDocs
* add missing return
2025-03-12 16:31:07 +02:00