Shahed Nasser
7a9740bad7
docs: added store how-to guide for categories ( #3690 )
2023-04-03 18:50:04 +03:00
Patrick
d06ab92994
fix(medusa-react): export product-categories store hooks ( #3689 )
2023-04-03 17:32:02 +02:00
Philip Korsholm
7f87c4f2c8
fix(medusa-react): Query key invalidation ( #3686 )
2023-04-03 17:29:48 +02:00
Oliver Windall Juhl
a0c919a8d0
chore(medusa-cli): Add missing utils dep ( #3688 )
2023-04-03 17:18:38 +02:00
Shahed Nasser
47ccb0601c
docs: added transaction orchestrator docs ( #3687 )
2023-04-03 16:32:11 +03:00
Shahed Nasser
e2322547c7
Merge doc changes
2023-04-03 15:39:27 +03:00
Shahed Nasser
c6bfad14d8
docs: add documentation for v1.8 ( #3669 )
2023-04-03 13:50:59 +02:00
Philip Korsholm
0cca13779d
Fix(medusa): stocked quantity counting when listing products ( #3684 )
...
* count stocked quantity correctly when listing products
* add integration test
* add changeset
2023-04-03 11:07:56 +02:00
Kasper Fabricius Kristensen
788ddc0f43
fix(medusa, admin-ui, medusa-react): Gift Card update fixes and admin UI cleanup ( #3676 )
...
* fix gc domain issues
* add changeset
* update changeset
* more minor fixes, remove breadcrumb
* more cleanup
* address feedback
2023-04-02 19:04:32 +02:00
Philip Korsholm
a5ad6c0542
fix(admin-ui, medusa): Require name in create stock location ( #3670 )
...
* initial fix
* add changeset
* remove company from required fields
2023-04-02 11:57:41 +02:00
Philip Korsholm
eed784d7d0
fix(admin-ui, medusa): Allocations and fulfillments for variants without inventory items ( #3660 )
...
* fix fulfillment for order lines without inventory items
* fix summary card on order for variants without inventory items
* add changeset
* minor fixes
* remove variants without inventory items from allocate modal
* naming
* Update .changeset/kind-rings-wave.md
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* remove line item indicator
* cleanup
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-31 15:53:56 +02:00
Nicklas Gellner
7625ed6c92
docs: add details about plugins page ( #3668 )
...
* Add Plugin Page
Make people aware that publishing a plugin on npm will let it be showcased on our Plugin Page.
* small changes to text
---------
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-03-31 15:46:37 +03:00
Rares Stefan
ca3b32d53c
fix(admin-ui): Make copy on manage locations modal better when no locations ( #3666 )
2023-03-31 14:38:01 +02:00
Carlos R. L. Rodrigues
bd12a95083
chore: Initialize method for modules ( #3649 )
...
What:
- Export initialize methods for all modules to be used as a package.
- Export `runMigrations` and `revertMigration` on modules that DB migrations are available
```typescript
import {
initialize as initializeInventory,
InventoryServiceInitializeOptions,
runMigrations as runMigrationsInventory,
} from "@medusajs/inventory";
import { initialize as eventBusInitialize } from "@medusajs/event-bus-redis";
import { initialize as cacheInitialize } from "@medusajs/cache-redis";
const eventBus = await eventBusInitialize({
redisUrl: "localhost",
});
const cache = await cacheInitialize({
redisUrl: "localhost",
});
const options: InventoryServiceInitializeOptions = {
database: {
type: "postgres",
url: `postgres://postgres:@localhost/inventory`,
},
};
await runMigrationsInventory({
options,
});
const inventoryService = await initializeInventory(options, {
eventBusService: eventBus,
});
const sku = "sku_123"
const item = await service.createInventoryItem({
sku,
});
cache.set(sku, { item });
```
2023-03-31 12:09:04 +00:00
olivermrbl
6f85a3d366
chore(release): v1.8.0-rc.5
2023-03-31 13:27:14 +02:00
Oliver Windall Juhl
809ab2e0eb
chore: Merge master to develop ( #3653 )
2023-03-31 13:09:57 +02:00
Oliver Windall Juhl
b2e2eddcea
chore: Update logo in README.md
2023-03-31 13:05:58 +02:00
Rares Stefan
7e1d8ef599
feat(admin-ui): Add new feature badge for categories and inventory ( #3657 )
...
* Add new feature badge for categories and inventory
* Add changeset
2023-03-31 12:29:46 +02:00
Oliver Windall Juhl
36337ef3b3
chore: Update README ( #3643 )
...
* chore: Update README
* Address feedback
* Update README.md
* Update README.md
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
---------
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-03-31 12:26:20 +02:00
Oliver Windall Juhl
45fd0fb639
fix(admin-ui): Always show categories in product page ( #3655 )
...
* fix(admin-ui): Always show categories in product page
* Create .changeset/tasty-timers-drive.md
* add disabled classes
2023-03-31 12:09:11 +02:00
Kasper Fabricius Kristensen
4342ac884b
feat(admin-ui, medusa): admin UI metadata ( #3644 )
2023-03-31 12:07:24 +02:00
Oliver Windall Juhl
4f4ccee7fb
fix(admin-ui): Collapse categories by default ( #3637 )
2023-03-31 10:43:03 +02:00
Shahed Nasser
6f1b49af03
chore: merge docs from master to develop ( #3650 )
...
* Fix issue on fixed total amount discount when using includes tax (#3472 )
The calculation of the fixed discount amount breaks when having includes_tax setting active, due to the line item totals are incorrect and returning everything as 0, thus the totalItemPercentage will be Infinitiy due to the division by a subtotal of 0
* chore: Add missing changeset for @medusajs/medusa
* feat(medusa): Improve performance of Products domain (#3417 )
* feat(medusa): Improve product update performances
* fix tests and update
* update mock repo
* improve repo
* cleanup
* fix
* cleanup + bulk emit + unit test fix
* improvements
* improve
* fix unit tests
* fix export
* fix product update handler
* enhance mock repo
* fix import integration
* fix end point tests
* revert mock repo product variant
* fix unit
* cleanup
* cleanup
* address feedback
* fix quotes in tests
* address feedback
* Create new-tips-mate.md
* use types
* chore: Remove integration-tests from changeset
* chore(release): v1.7.14
* chore(docs): Generated Docs Announcement Bar (automated) (#3489 )
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
* fix(medusa): EventBusService.emit using Redis mock (#3491 )
* Fix eventBusService.emit using redis mock
* revert gitignore
* enqueuer
* unit test add redis_url
* fix test
* chore(docs): Generated Services Reference (automated) (#3490 )
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
* docs: publish restructure (#3496 )
* docs: added features and guides overview page
* added image
* added version 2
* added version 3
* added version 4
* docs: implemented new color scheme
* docs: redesigned sidebar (#3193 )
* docs: redesigned navbar for restructure (#3199 )
* docs: redesigned footer (#3209 )
* docs: redesigned cards (#3230 )
* docs: redesigned admonitions (#3231 )
* docs: redesign announcement bar (#3236 )
* docs: redesigned large cards (#3239 )
* docs: redesigned code blocks (#3253 )
* docs: redesigned search modal and page (#3264 )
* docs: redesigned doc footer (#3268 )
* docs: added new sidebars + refactored css and assets (#3279 )
* docs: redesigned api reference sidebar
* docs: refactored css
* docs: added code tabs transition
* docs: added new sidebars
* removed unused assets
* remove unusued assets
* Fix deploy errors
* fix incorrect link
* docs: fixed code responsivity + missing icons (#3283 )
* docs: changed icons (#3296 )
* docs: design fixes to the sidebar (#3297 )
* redesign fixes
* docs: small design fixes
* docs: several design fixes after restructure (#3299 )
* docs: bordered icon fixes
* docs: desgin fixes
* fixes to code blocks and sidebar scroll
* design adjustments
* docs: restructured homepage (#3305 )
* docs: restructured homepage
* design fixes
* fixed core concepts icon
* docs: added core concepts page (#3318 )
* docs: restructured homepage
* design fixes
* docs: added core concepts page
* changed text of different components
* docs: added architecture link
* added missing prop for user guide
* docs: added regions overview page (#3327 )
* docs: added regions overview
* moved region pages to new structure
* docs: fixed description of regions architecture page
* small changes
* small fix
* docs: added customers overview page (#3331 )
* docs: added regions overview
* moved region pages to new structure
* docs: fixed description of regions architecture page
* small changes
* small fix
* docs: added customers overview page
* fix link
* resolve link issues
* docs: updated regions architecture image
* docs: second-iteration fixes (#3347 )
* docs: redesigned document
* design fixes
* docs: added products overview page (#3354 )
* docs: added carts overview page (#3363 )
* docs: added orders overview (#3364 )
* docs: added orders overview
* added links in overview
* docs: added vercel redirects
* docs: added soon badge for cards (#3389 )
* docs: resolved feedback changes + organized troubleshooting pages (#3409 )
* docs: resolved feedback changes
* added extra line
* docs: changed icons for restructure (#3421 )
* docs: added taxes overview page (#3422 )
* docs: added taxes overview page
* docs: fix sidebar label
* added link to taxes overview page
* fixed link
* docs: fixed sidebar scroll (#3429 )
* docs: added discounts overview (#3432 )
* docs: added discounts overview
* fixed links
* docs: added gift cards overview (#3433 )
* docs: added price lists overview page (#3440 )
* docs: added price lists overview page
* fixed links
* docs: added sales channels overview page (#3441 )
* docs: added sales overview page
* fixed links
* docs: added users overview (#3443 )
* docs: fixed sidebar border height (#3444 )
* docs: fixed sidebar border height
* fixed svg markup
* docs: added possible solutions to feedback component (#3449 )
* docs: added several overview pages + restructured files (#3463 )
* docs: added several overview pages
* fixed links
* docs: added feature flags + PAK overview pages (#3464 )
* docs: added feature flags + PAK overview pages
* fixed links
* fix link
* fix link
* fixed links colors
* docs: added strategies overview page (#3468 )
* docs: automated upgrade guide (#3470 )
* docs: automated upgrade guide
* fixed vercel redirect
* docs: restructured files in docs codebase (#3475 )
* docs: restructured files
* docs: fixed eslint exception
* docs: finished restructure loose-ends (#3493 )
* fixed uses of backend
* docs: finished loose ends
* eslint fixes
* fixed links
* merged master
* added update instructions for v1.7.12
* docs: fixed discount details (#3499 )
* docs: fix trailing slash causing 404 (#3508 )
* docs: fix error during navigation (#3509 )
* docs: removed the gatsby storefront guide (#3527 )
* docs: removed the gatsby storefront guide
* docs: fixed query value
* chore(docs): Removed Docs Announcement Bar (automated) (#3536 )
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
* fix(medusa): Variant update should include the id for the listeners to be able to identify the entity (#3539 )
* fix(medusa): Variant update should include the id for the listeners to be able to identify the entity
* fix unit tests
* Create brave-seahorses-film.md
* docs: fix admin redirects (#3548 )
* chore(release): v1.7.15
* chore(docs): Generated Docs Announcement Bar (automated) (#3550 )
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
* chore(docs): Generated Services Reference (automated) (#3551 )
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: updated READMEs of plugins (#3546 )
* chore: updated READMEs of plugins
* added notice to plugins
* docs: added a deploy guide for next.js storefront (#3558 )
* docs: added a deploy next.js guide
* docs: fix image zoom
* docs: fixes to next.js deployment guide to vercel (#3562 )
* chore(workflows): Enable manual workflow in pre-release mode (#3566 )
* chore(docs): Removed Docs Announcement Bar (automated) (#3598 )
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
* fix(medusa): Rounding issues on line item adjustments (#3446 )
* chores(medusa): Attempt to fix discount rounding issues
* add migration
* update entities
* apply multipler factor properly
* fix discount service
* WIP
* fix rounding issues in discounts
* fix some tests
* Exclude raw_discount_total from responses
* fix adjustments
* cleanup response
* fix
* fix draft order integration
* fix order integration
* fix order integration
* address feedback
* fix test
* Create .changeset/polite-llamas-sit.md
* remove comment
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore(workflows): Add release notification (#3629 )
---------
Co-authored-by: pepijn-vanvlaanderen <pepijn@webbers.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-31 09:34:38 +02:00
Rares Stefan
e6b5859af2
feat(admin-ui): Make number input increment/decrement buttons not tabbable-to ( #3645 )
...
* Make number input inc./dec. buttons not tabbable to
* Create changeset
2023-03-30 18:18:41 +02:00
Oliver Windall Juhl
a1ed1b6a7f
chore(workflows): Add release notification ( #3629 )
2023-03-30 17:18:31 +02:00
olivermrbl
89d4d84666
chore(release): v1.8.0-rc.4
2023-03-30 17:12:37 +02:00
Oliver Windall Juhl
ebd6ab12c9
chore(admin-ui): Update favicon ( #3640 )
...
* fix(admin-ui): Eliminate purple from most-visible components
* chore(admin-ui): Update favicon
2023-03-30 12:53:00 +02:00
Oliver Windall Juhl
851a981880
fix(admin-ui): Eliminate purple from most-visible components ( #3639 )
2023-03-30 12:50:33 +02:00
Philip Korsholm
5e405be02c
feat(medusa): Remove reservations for all line items when an order edit is accepted ( #3544 )
...
**What**
- Remove all allocations to line items once an order edit is confirmed
**Why**
- Since all line items of an order are discarded once an order edit is confirmed it will orphan the reservations causing inconsistencies with the stock
2023-03-30 09:56:10 +00:00
Philip Korsholm
999aeb116c
fix(medusa): Fix hanging inventory item migration script ( #3624 )
2023-03-30 09:29:44 +02:00
Patrick
377b9ce8c2
fix(oas:test): Augment jest timeout from 30 to 60 sec ( #3631 )
...
* fix(oas:test): fix beforeAll timeout silent failure
* fix(test): fix ts-jest scaffolding in medusa-oas-cli
* chore(changeset): patch
2023-03-30 09:17:09 +02:00
Carlos R. L. Rodrigues
0e8b3c8efb
fix stdio ( #3633 )
2023-03-29 19:19:18 +02:00
Philip Korsholm
5fd74b38ae
feat(medusa): remove created reservations on subsequent failure for cart completion ( #3554 )
...
**What**
- If cart completion fails after creating reservations, remove those reservations
**Why**
- To avoid hanging reservations if something fails at a later point
2023-03-29 17:03:53 +00:00
Philip Korsholm
a7e3f2d343
feat(admin-ui): move inventory item fields into manage inventory modal ( #3591 )
2023-03-29 18:12:38 +02:00
Rares Stefan
7428ffa300
fix(admin-ui): Fix team table filter dropdown transparency ( #3625 )
...
* Add a z-index to the dropdown content
* Create yellow-trees-rest.md
2023-03-29 16:27:59 +02:00
Philip Korsholm
0d00903385
Fix(admin-ui): delete inventory item when variant is deleted ( #3585 )
2023-03-29 16:23:22 +02:00
Oliver Windall Juhl
9ddcaf1176
chore(workflows): Add release notification ( #3629 )
2023-03-29 16:01:29 +02:00
olivermrbl
15a43c1cc0
chore(release): v1.8.0-rc.3
2023-03-29 13:42:11 +02:00
Oliver Windall Juhl
693015fde3
chore(medusa): EOL causing logging to hang ( #3622 )
...
* chore(medusa): EOL causing logging to hang
* Create .changeset/new-pans-explain.md
2023-03-29 13:34:09 +02:00
Adrien de Peretti
d886430bf8
fix(medusa): Rounding issues on line item adjustments ( #3446 )
...
* chores(medusa): Attempt to fix discount rounding issues
* add migration
* update entities
* apply multipler factor properly
* fix discount service
* WIP
* fix rounding issues in discounts
* fix some tests
* Exclude raw_discount_total from responses
* fix adjustments
* cleanup response
* fix
* fix draft order integration
* fix order integration
* fix order integration
* address feedback
* fix test
* Create .changeset/polite-llamas-sit.md
* remove comment
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-29 11:04:41 +02:00
Adrien de Peretti
7f120e576b
chore: Merge master to develop and manage conflict ( #3570 )
2023-03-29 10:11:32 +02:00
Philip Korsholm
0695ff642b
fix(medusa, admin-ui): List all inventory levels ( #3552 )
...
* ensure that all levels are listed
* add changeset
* remove count from config
* update changeset version bump
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-29 08:54:49 +02:00
Kasper Fabricius Kristensen
cd54c7dca9
fix(medusa-cli): add semver dependency ( #3603 )
...
* add direct dependency on semver to CLI
* add changeset
2023-03-29 08:48:39 +02:00
Carlos R. L. Rodrigues
55e94d0b45
fix(modules-sdk): check if dependency is registered ( #3620 )
...
* fix: check if dependency is registered
* changeset
2023-03-29 08:47:12 +02:00
olivermrbl
8ddb3952c0
chore(release): v1.8.0-rc.2
2023-03-28 21:04:57 +02:00
olivermrbl
990c79d2d5
chore(release): v1.8.0-rc.1
2023-03-28 19:32:36 +02:00
Rares Stefan
345005573a
fix(admin-ui): Update order edit variants table to fit longer content ( #3608 )
...
* Fix stock cell check, update table columns to fit longer content
* Create nine-planes-kneel.md
* Update check
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2023-03-28 19:21:40 +02:00
Adrien de Peretti
b9c6c3d059
fix(medusa-payment-paypal): Missing typescript dev dependency ( #3609 )
2023-03-28 19:20:39 +02:00
Philip Korsholm
d1a6aa5a90
fix(admin-ui): Create fulfillment ( #3607 )
...
* fix for create-fulfillment
* remove ff check
* add changeset
* Disable Create fulfillment button if no quantities fulfilled
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Rares Capilnar <rares.capilnar@gmail.com >
2023-03-28 19:04:35 +02:00
Carlos R. L. Rodrigues
bca1f80dd5
chore(medusa, modules-sdk): default module error message ( #3605 )
...
* default module error message
* changeset
* unit test
2023-03-28 17:43:20 +02:00