Commit Graph
8437 Commits
Author SHA1 Message Date
Shahed NasserandGitHub d4b093207a docs: add link to the Slack tutorial in the integrations page (#12721) 2025-06-12 17:10:28 +03:00
Ammar AbbasandGitHub 13092a6caa docs: fixed a typo in variable name from currnetProductPage to currentProductPage (#12719)
Corrected a typo in the variable name `currnetProductPage`, which was changed to `currentProductPage` for improved readability and consistency.
2025-06-12 13:37:06 +00:00
Shahed NasserandGitHub 0502e8bf78 docs: added slack integration guide (#12696)
* docs: added slack integration guide

* generate
2025-06-12 16:32:45 +03:00
Frane PolićandGitHub 672871b733 fix(core-flows): cart complete order address creation (#12493)
* fix(core-flows): cart complete order address creation

* fix(order): cascade delete addresses

* fix: revert
2025-06-12 15:07:50 +02:00
2621f00bb0 feat(promotion, dashboard, core-flows, cart, types, utils, medusa): tax inclusive promotions (#12412)
* feat: tax inclusive promotions

* feat: add a totals test case

* feat: add integration test

* chore: changeset

* fix: typo

* chore: refactor

* fix: tests

* fix: rest of buyget action tests

* fix: cart spec

* chore: expand integration test with item level totals

* feat: add a few more test cases

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-06-12 15:07:11 +02:00
Shahed NasserandGitHub 08de1f54e4 docs: added cloud introduction page (#12716) 2025-06-12 15:59:06 +03:00
Harminder VirkandGitHub b316924572 fix: remote query types (#12712)
* fix: remote query types

* fix: breaking types

* Create eleven-falcons-return.md
2025-06-12 15:49:26 +05:30
Shahed NasserandGitHub 8a88748982 docs: added cloud documentation project (#12711) 2025-06-12 11:29:14 +03:00
Frane PolićandGitHub bd6d9777c5 fix(promotion, types): non discountable items check (#12644)
* fix(promotions): check if item is discountable

* fix: return earl yonly if non discountable

* fix: update test

* chore: add integration test
2025-06-12 10:23:06 +02:00
Ammar AbbasandGitHub 6be5750fe8 docs: add missing export for CreateBundledProduct component (#12704)
* docs: add missing export for CreateBundledProduct component

This commit adds a missing `export` statement to the `CreateBundledProduct` component in the "Create Form Component" example.

Without the `export`, readers copying the example wouldn't be able to use the component elsewhere in their project, which could be confusing. This ensures the example is complete and ready to use as-is.

* updated to default export for CreateBundledProduct component instead
2025-06-11 17:53:19 +03:00
Shahed NasserandGitHub 774702153f fix(create-medusa-app): remove "Created admin user" message (#12707) 2025-06-11 13:53:07 +03:00
Shahed NasserandGitHub a8118fa3c3 docs: ensure files are always sorted when generating llms-full.txt (#12701) 2025-06-10 19:24:00 +03:00
Shahed NasserandGitHub e5ec907aad docs: fixes to references for draft orders and files (#12693) 2025-06-10 18:33:53 +03:00
Shahed NasserandGitHub 5ba842bfb0 chore(core-flows,types,utils): fixes to TSDocs (#12692) 2025-06-10 18:33:41 +03:00
Shahed NasserandGitHub d8b196d6b1 docs: remove databaseSchema configuration (#12699) 2025-06-10 17:00:14 +03:00
Shahed NasserandGitHub f29e21f61e docs: add options to feedback component (#12698) 2025-06-10 16:59:10 +03:00
Harminder VirkandGitHub ce202968c6 fix: update product import template (#12697)
Closes: #12688
Fixes: FRMW-2977
2025-06-10 12:38:42 +00:00
Harminder VirkandGitHub f2cb528a56 feat: wire up direct uploads with local file provider (#12643) 2025-06-10 15:07:54 +05:30
Adrien de PerettiandGitHub 1a78476608 fix(workflow-sdk): Async/nested runAsStep propagation (#12675)
FIXES CLO-524

**What**
Add hidden stepDefinition object as part of the step argument and ensure the runAsStep handlers rely on the latest definition when config is being used on the returned step in order to ensure async configuration propagation and nested configuration
2025-06-10 07:23:12 +00:00
b456044060 chore(docs): Updated API Reference (automated) (#12673)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-06-10 07:21:44 +00:00
f8c0bd887e chore(docs): Generated References (automated) (#12672)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-10 09:33:54 +03:00
e4f791ac84 chore(docs): Generated + Updated UI Reference (automated) (#12671)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-10 09:31:13 +03:00
9692068431 chore(docs): Update version in documentation (automated) (#12670)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-10 09:21:53 +03:00
olivermrbl cab00ff2b8 chore: Release 2025-06-05 20:36:32 +02:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
68a796d300 chore: Version Packages (#12583)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-05 20:33:53 +02:00
Shahed NasserandGitHub 7e1720279d docs: add an example of injecting dependencies in module providers (#12663) 2025-06-03 10:46:49 +02:00
Ammar AbbasandGitHub e078de1ab5 fix(docs): correct module reference in useQueryGraphStep tip (#12654)
Corrected an inaccurate example in the useQueryGraphStep tip within the review workflow documentation.

Updated the entity reference from "cart's promotions" to "product" to align with the actual code context.
2025-06-02 14:25:31 +00:00
4d19711d8e feat(admin): Add Bahasa Indonesia language support (#12657)
* [feat] add Indonesian json translation file

* [feat] include and export indonesian translation to index file

* [feat] export the indonesian language object to languages.ts

---------

Co-authored-by: luky <luzion1508@gmail.com>
2025-06-02 10:17:58 +02:00
Shahed NasserandGitHub 7e1d880915 docs: fix log levels list (#12648) 2025-05-30 17:20:51 +03:00
Shahed NasserandGitHub 009d00f27d docs: redesign table of content (#12647)
* implement toc

* added to projects

* fixes and adapt for references

* added product frontmatter

* remove action menu from 404 pages
2025-05-30 16:55:36 +03:00
Carlos R. L. RodriguesandGitHub 490bd7647f fix(core-flows): complete cart improvements (#12646)
* fix(core-flows): use cartId as transactionId and acquire lock to complete cart

* fix cart update compensation
2025-05-30 14:15:08 +01:00
Shahed NasserandGitHub 820965e21a fix(analytics): fix type of provider option (#12642) 2025-05-29 14:02:07 +03:00
Shahed NasserandGitHub 3d65807d99 fix(utils): export payment events in core flows events (#12636) 2025-05-29 10:10:26 +03:00
cf0297f74a feat: implement stream based processing of the files (#12574)
Fixes: FRMW-2960

This PR adds support for processing large CSV files by breaking them into chunks and processing one chunk at a time. This is how it works in nutshell.

- The CSV file is read as a stream and each chunk of the stream is one CSV row.
- We read upto 1000 rows (plus a few more to ensure product variants of a product are not split into multiple chunks).
- Each chunk is then normalized using the `CSVNormalizer` and validated using zod schemas. If there is an error, the entire process will be aborted and the existing chunks will be deleted.
- Each chunk is written to a JSON file, so that we can process them later (after user confirms) without re-processing or validating the CSV file.
- The confirmation process will start consuming one chunk at a time and create/update products using the `batchProducts` workflow.

## Resume or not to resume processing of chunks

Let's imagine during processing of chunks, we find that chunk 3 leads to a database error. However, till this time we have processed the first two chunks already. How do we deal with this situation? Options are:

- We store at which chunk we failed and then during the re-upload we ignore chunks before the failed one. In my conversation with @olivermrbl we discovered that resuming will have to work with certain assumptions if we decide to implement it.
   - What if a user updates the CSV rows which are part of the already processed chunks? These changes will be ignored and they will never notice it.
   - Resuming works if the file name is still the same. What if they made changes and saved the file with "Save as - New name". In that case we will anyways process the entire file.
   - We will have to fetch the old workflow from the workflow engine using some `ilike` search, so that we can see at which chunk the last run failed for the given file.

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-05-29 05:42:16 +00:00
Shahed NasserandGitHub 40e73c6ea2 docs: fix broken links utility + uncaught broken links (#12637)
* fix broken links

* update broken links utility

* add missing payment evens

* generate llms

* fix segment link
2025-05-28 17:13:27 +03:00
Frane PolićandGitHub 9866baa852 feat(core-flows,js-sdk,medusa,types): draft order delete (#12172) 2025-05-28 14:37:00 +02:00
Shahed NasserandGitHub 52eebcee6f docs: added segment guide (#12616)
* docs: added segment guide

* updates to segment guide

* generate

* remove og image
2025-05-28 13:18:48 +03:00
Frane PolićandGitHub c4dd290461 fix(core-flows): reservation management on order edit and draft order confirm (#12546) 2025-05-28 09:52:01 +02:00
Shahed NasserandGitHub fb6167eed2 docs: fix loading in order reference pages (#12629) 2025-05-28 10:42:13 +03:00
Frane PolićandGitHub 341a8bb7ee fix(dashboard): combobox initial item cache (#12522) 2025-05-28 09:32:01 +02:00
Shahed NasserandGitHub 9b3218885c docs: redesign search (#12628)
* docs: redesign search

* add shadow in dark mode
2025-05-28 10:01:04 +03:00
Shahed NasserandGitHub d155f492be chore(core-flows, types): change base64 comment fo files in TSDocs to binary (#12627)
* chore(core-flows, types): change base64 comment fo files in TSDocs to binary

* add in generatd
2025-05-27 18:35:39 +03:00
GuyPaikowskyandGitHub 562f6288cd feat: add hebrew admin translation (#12603) 2025-05-27 16:45:49 +02:00
Shahed NasserandGitHub 528ab9f8a8 chore(types): fix example for createProductOptionValues in TSDocs and docs (#12623) 2025-05-27 12:45:21 +03:00
Shahed NasserandGitHub 41c29ffadd docs: phone authentication + otp guide (#12544)
* initial

* docs: phone authentication guide

* small fix

* Twilio SMS -> Twilio

* vale fix

* fix

* fix to auth sidebar

* fixes

* generate
2025-05-27 12:01:04 +03:00
5b86b3b2bc update Chinese translation files (#12611)
Co-authored-by: Stevche Radevski <sradevski@live.com>
2025-05-27 09:17:17 +02:00
Ammar AbbasandGitHub fda885bb2b docs: add missing equal sign for DATABASE_URL in env example (#12620)
The DATABASE_URL variable in the .env file examples was missing an equal sign, preventing it from parsing correctly. This fix ensures the environment variable is properly loaded and available during application runtime.
2025-05-27 07:16:51 +00:00
Harminder VirkandGitHub 791276e80f feat: introduce bulkDelete method for IFileProvider (#12614)
Fixes: FRMW-2974

Currently during the product imports, we create multiple chunks that must be deleted after the import has finished (either successfully or with an error). Deleting files one by one leads to multiple network calls and slows down everything.

The `bulkDelete` method deletes multiple files (with their fileKey) in one go
2025-05-27 06:52:11 +00:00
Shahed NasserandGitHub 730cac0ed2 docs: add setup details to contribution guidelines (#12619) 2025-05-26 19:30:17 +03:00
Shahed NasserandGitHub e7cf2219b6 docs: document using env vars in plugins (#12618) 2025-05-26 18:50:05 +03:00