Adrien de Peretti
a8e19faf8d
chore: use framework sub paths everywhere ( #9253 )
2024-09-26 16:38:38 +05:30
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30
Adrien de Peretti
fba78c0fb1
chore: remove direct usage from graphql ( #9316 )
...
**What**
Remove direct usage of graphql toold and instead consume it from utils to have a single entry point to graphql tooling
2024-09-26 08:18:26 +00:00
Frane Polić
f294c99c92
fix(dashboard): set/unset automatic taxes on a region ( #9315 )
...
* fix: region automatic taxes
* fix: query keys and cache issues
2024-09-26 09:55:45 +02:00
github-actions[bot]
9480deb71d
chore(docs): Generated References ( #9314 )
...
Generated the following references:
2024-09-26 06:41:01 +00:00
Shahed Nasser
2da15ba021
docs: added architecture documentation ( #9256 )
...
* docs: added architecture documentation
* update diagrams and text
* address PR comments
* sidebar + overview fixes
2024-09-26 09:29:47 +03:00
Adrien de Peretti
e096feb7d5
chore: Update modules deps ( #9286 )
2024-09-26 11:14:35 +05:30
Carlos R. L. Rodrigues
11d8264062
fix(modules-sdk): default db options ( #9313 )
2024-09-25 19:44:12 -03:00
Shahed Nasser
3533aa86e8
fix(types, medusa): fixes to HTTP types ( #9273 )
...
### types
- Remove `is_internal` and `is_active` from `StoreProductCategory`
- Add missing status, reference, and action enums from `BaseOrderChange` and `BaseOrderChangeAction`
- Remove unused totals from `BaseOrderSummary`.
- Fix references to base types from admin / store types
- Other general fixes
### medusa
- Use HTTP types for create / update return reason routes
- Remove type arguments from the calculate taxes route since it's a `POST` API route but the type argument for the select query parameters only.
- Add `metadata` to the list of cart's fields.
- Add type casting for order previews in response
2024-09-25 15:24:23 +00:00
Adrien de Peretti
ae320ac73f
fix: base tsconfig ( #9309 )
...
* fix: base tsconfig
* WIP
* wi[]
* update integration typescript version
* update lock file
* fix deps
* fix medusa tests runner
2024-09-25 16:31:57 +02:00
Adrien de Peretti
6e5d007837
fix: Generated types interface name ( #9307 )
...
**What**
Fix interface name in the output generated types
2024-09-25 12:32:07 +00:00
github-actions[bot]
16d2fdbfe6
chore(docs): Generated References ( #9293 )
...
Generated the following references:
2024-09-25 12:23:18 +00:00
Shahed Nasser
d7dd7de0fe
fix(types): remove BigNumberValue usages in http types ( #9285 )
...
remove all `BigNumberValue` usages in http types, since http requests will only receive a number.
2024-09-25 12:12:43 +00:00
Frane Polić
6d16b3294e
fix(dashboard): login alert background ( #9305 )
...
**What**
- fix login error alert bg in dark mode
2024-09-25 11:35:47 +00:00
Adrien de Peretti
74cdb9d4b6
fix(modules-sdk): Fix dynamic import usage ( #9304 )
...
* fix(modules-sdk): Fix dynamic import usage
* missing new line
2024-09-25 13:29:00 +02:00
Stevche Radevski
7c4960a4d1
fix: Add actor type to password reset event ( #9301 )
2024-09-25 12:26:45 +02:00
Adrien de Peretti
358435d715
chore: Move graphl to a single place ( #9303 )
...
* chore: Move graphl to a single place
* add new line
2024-09-25 12:04:25 +02:00
Harminder Virk
1d3a60023a
fix: add missing dependency to utils package ( #9297 )
2024-09-25 08:18:13 +02:00
Oli Juhl
9a0ae1484c
chore: Add missing changeset for index ( #9288 )
2024-09-24 20:35:36 +02:00
Riqwan Thamir
56fcec3bac
chore: notify slack on failed release ( #9289 )
2024-09-24 17:22:18 +00:00
Riqwan Thamir
2d202ae0f7
chore: notify slack on failed release ( #9287 )
2024-09-24 18:56:40 +02:00
Adrien de Peretti
802f204d31
fix(orchestration): Throw if not exists using filters ( #9275 )
2024-09-24 17:12:04 +02:00
Carlos R. L. Rodrigues
b4b1a48987
feat(utils): define read only link ( #9254 )
2024-09-24 12:00:38 -03:00
Adrien de Peretti
6937d74252
chore(): Move dependencies around ( #9278 )
...
RESOLVES FRMW-2716 [1]
**What**
First stab at re organising dependencies in the modules and their usage.
2024-09-24 14:58:04 +00:00
Stevche Radevski
bb342d46f6
fix: Add missing await when refetching region ( #9283 )
...
FIXES #9280
FIXES #9277
2024-09-24 14:28:12 +00:00
Adrien de Peretti
90d530565b
chore(): Remove default limit from the build query ( #9257 )
...
* chore(): Remove default limit from the build query
* rm take: null
* fix tests
* fix tests
* fix db usage
* fix typo
* rm unsused template arg
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
2024-09-24 16:06:45 +02:00
Harminder Virk
9e711720dd
chore: upgrade moduleResolution to Node16 ( #9269 )
2024-09-24 17:19:20 +05:30
Frane Polić
d721282600
fix(pricing): calculate pricing repository query ( #9265 )
...
**What**
- fix wrong parentheses nesting when generating calculate pricing query
- filter out deleted price lists
- use built in DB values for time comparison
---


---
TODO:
- [x] check after price list start/end_date is modified, PL prices are not retrieved properly anymore
---
FIXES CC-518
2024-09-24 10:47:40 +00:00
Riqwan Thamir
69f6645716
feat(core-flows,dashboard,types,fulfillment,medusa): uses requires shipping throughout lifecycle ( #9170 )
...
what:
- uses requires shipping throughout lifecycle
https://github.com/user-attachments/assets/d5ba89d3-5ea0-49c4-b2d5-490c4764933e
2024-09-24 08:26:22 +00:00
Carlos R. L. Rodrigues
e54b339324
fix(core-flows): line item type collection ( #9251 )
2024-09-24 08:00:18 +00:00
github-actions[bot]
657a9fb90b
chore(docs): Generated References ( #9267 )
...
Generated the following references:
- `medusa`
- `modules`
- `modules_sdk`
- `payment_provider`
- `workflows`
2024-09-24 07:02:49 +00:00
Mohmmed Aqeeb
64c4c828b6
Fix: Install command for Vercel deployment documentation ( #9270 )
...
### What
Updated the Install Command in the Vercel deployment section to `npm install` instead of `npm run build`.
Closes #9264
### Why
To ensure users have the correct installation instructions for deploying Medusa Admin on Vercel.
### How
Replaced the Install Command in the documentation.
### Testing
No formal testing was performed for this documentation update, as it addresses a minor typo.
2024-09-24 06:44:29 +00:00
Adrien de Peretti
e1fdc54a3f
chore(medusa-test-utils): Add custom link loading before syncing ( #9249 )
...
**What**
Include custom links to be loaded from the medusa integration test runner
2024-09-23 19:54:04 +00:00
Frane Polić
eb7899d05c
fix(dashboard): pagination in invite table ( #9259 )
...
**What**
- fix pagination in user invites table wasn't working because prefix was passed in a wrong place
---
FIXES CC-512
2024-09-23 16:01:10 +00:00
Frane Polić
981745e98b
fix(dashboard): customer groups fixes ( #9258 )
...
**What**
- fix add customer to customer group toast
- move modal actions to footer
---
FIXES CC-514
2024-09-23 15:59:37 +00:00
Frane Polić
d238dd0099
fix(dashboard): customer groups table fileds ( #9262 )
...
**What**
- a fix pushed this morning results in customer groups also having just id returned and other fields are omitted
2024-09-23 15:58:32 +00:00
Frane Polić
ab9051d3f5
fix(dashboard): minor collection bugs ( #9255 )
...
**What**
- toast on create
- fix delete prompt message
- fix 404 on delete
---
FIXES CC-508
2024-09-23 15:57:26 +00:00
Mohmmed Aqeeb
3320f13f5a
Fix: Correct module path and clarify config structure in Medusa v2 Docs ( #9222 )
...
### What
This PR addresses an issue in the Medusa v2 documentation regarding the module creation example. The import paths were corrected to reflect the proper directory structure, ensuring clarity for users.
Closes #9220
### Why
The previous documentation contained incorrect import paths that could lead to confusion for users attempting to create and configure modules. Clarifying the structure aims to prevent similar issues for future users.
### How
- Updated the import statements in the documentation to go two levels up instead of three.
- Added clarification in the `medusa-config.js` example to indicate that the `modules` node should be a part of `projectConfig`.
### Testing
While documentation changes do not require formal testing, I reviewed the updated paths and descriptions against the current code structure to ensure accuracy and clarity.
### Note
This is my first contribution to an open source project, and I'm excited to contribute to the Medusa community!
2024-09-23 13:55:32 +00:00
Adrien de Peretti
8ec323b1da
refactor(types): Align configuration and fixes ( #9240 )
...
RESOLVES FRMW-2712
**What**
Refactor types packages to use the latest configuration of typescript and fixes issues
2024-09-23 12:13:02 +00:00
Adrien de Peretti
94e07c8da0
refactor(framework): Align configuration and fixes ( #9246 )
...
* refactor(framework): Align configuration and fixes
* refactor(framework): Align configuration and fixes
* move framework
* rm unnecessary script
* update jest config
2024-09-23 13:07:30 +02:00
Harminder Virk
9f72fb5902
Chore: cleanup workflows SDK ( #9244 )
...
Fixes: FRMW-2712
2024-09-23 11:04:38 +00:00
Harminder Virk
97e003ef4f
chore: Cleanup utils package ( #9238 )
...
Fixes: FRMW-2712
Old PR: https://github.com/medusajs/medusa/pull/9234 Closed because of incorrect branch naming
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-09-23 10:37:58 +00:00
Adrien de Peretti
79e3578932
refactor(orchestration): Align configuration and fixes ( #9242 )
...
RESOLVES FRMW-2712
**What**
Refactor orchestration packages to use the latest configuration of typescript and fixes issues
2024-09-23 10:36:05 +00:00
Adrien de Peretti
919d19095a
refactor(modules-sdk): Align configuration and fixes ( #9239 )
...
* refactor(modules-sdk): Align configuration and fixes
* typo
* fix configuration
2024-09-23 12:12:26 +02:00
Frane Polić
d0f1028820
fix(dashboard): prices validation in PL bulk editor ( #9245 )
...
**What**
- fix validation errors in bulk editor on Price List create flow
---
FIXES CC-511
2024-09-23 09:07:51 +00:00
Frane Polić
5d16133a93
fix(dashboard): PL creation - customers table customers count ( #9237 )
...
**What**
- display the number of customers in a group in the price list create flow
---
CLOSES https://github.com/medusajs/medusa/issues/9210
FIXES CC-517
2024-09-23 08:55:37 +00:00
Frane Polić
39034e2249
fix(user): check if user account with email already exist on invite create ( #9243 )
...
**What**
- when creating an invite, validate that provided email is not already used for existing user account
---
FIXES CC-513
2024-09-23 08:53:53 +00:00
github-actions[bot]
4a68bc1334
chore(docs): Generated References ( #9232 )
...
Generated the following references:
- `modules`
- `modules_sdk`
- `types`
2024-09-23 07:33:39 +00:00
Frane Polić
89bf88ee23
feat(dashboard): login and invite redesign ( #9214 )
...
**What**
- new UI for login and invite pages
---


---
CLOSES CC-131
2024-09-23 07:12:20 +00:00
Shahed Nasser
cebffc7a11
chore(oas): [13/n] improve oas schemas ( #9201 )
...
* chore(oas): [13/n] improve oas schemas
* remove tax region name
2024-09-22 14:50:26 +02:00