Commit Graph

5160 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues
5228b14ca9 feat(medusa): complete cart create reservation (#7250) 2024-05-06 14:36:55 -03:00
Adrien de Peretti
a736e728b8 fix: package.json run test integration in packages (#7249) 2024-05-06 19:25:37 +02:00
Shahed Nasser
e7a3528367 fix(create-medusa-app): don't open browser to admin if v2 option is passed (#7253)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-05-06 18:35:32 +02:00
Oli Juhl
aff1eac91c fix(dashboard): use-backend-url-from-env in new client (#7256) 2024-05-06 18:35:18 +02:00
Kasper Fabricius Kristensen
9d0bfc2b39 chore(dashboard): Remove feature flag and always load v2 admin (#7251) 2024-05-06 18:07:44 +02:00
Oli Juhl
309c04afe8 chore: Remove remaining V1 plugins (#7255) 2024-05-06 17:31:24 +02:00
Shahed Nasser
651b953db7 fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization (#7245)
* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization

* revert change to workspaces

* change oas in workspaces

* revert change in test script
2024-05-06 16:15:38 +03:00
Stevche Radevski
4e12168dbd feat: Consolidate payment functions and handle sessions for storefront (#7231) 2024-05-06 13:14:40 +00:00
Oli Juhl
16528c57b0 chore: Introduce release notes formatting + preview release action (#7247)
### What
- Add changelog formatting file to automate pull request categorization in release notes*
- Add action to trigger preview releases
- Remove unused staging deployment action

**Add changelog formatting file to automate pull request categorization in release notes**

In order for this work, we need to be more strict about our labels usage. More specifically, we need to add one of the four different labels noted in the `release.yml` file. The labels should be self-explanatory. If your PR introduces both features and bugs, you should choose the label based on importance of the changes.
2024-05-06 12:59:37 +00:00
adrien2p
36eff7f10a wip 2024-05-06 13:52:30 +02:00
Shahed Nasser
7b2879d643 chore(docs): Fix docblock-generator OAS tool's max-stack error (#7246)
* regenerate oas to fix duplicate keys

* fix clean:oas script

* fix max-stack errors

* fix max-level condition
2024-05-06 13:41:59 +03:00
Shahed Nasser
b39de05535 chore: move docs-util to www (#7232)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs

* move docs-util to www

* remove remaining docs-util

* fixes of paths

* fix scripts

* path fixes

* fix github actions

* add build packages script
2024-05-06 09:13:50 +03:00
Oli Juhl
cf9605fe6f feat(order): Add display_id to order table (#7242)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-05-05 19:43:13 +02:00
Carlos R. L. Rodrigues
5443c69794 feat(link-module): Order Product link (#7243) 2024-05-05 17:26:16 +00:00
Carlos R. L. Rodrigues
aba194de9a chore: complete cart part 2 (#7227) 2024-05-05 10:35:09 -03:00
Carlos R. L. Rodrigues
c32a31e139 feat(inventory): check stock to create reservation (#7209) 2024-05-05 10:24:52 +02:00
Riqwan Thamir
e97b0125b5 chore: add build step to pipeline (#7219) 2024-05-05 10:08:31 +02:00
Adrien de Peretti
93f6e60c17 chore(): Modules providers reorganization (#7234)
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2024-05-05 10:08:07 +02:00
Oli Juhl
2f7b53488d fix: Accept filters in softDelete + fulfillment location clean-up (#7198) 2024-05-03 16:32:07 +00:00
Oli Juhl
1366e2efad fix: Retrieve ancestors and/or descendants on product categories (#7226) 2024-05-03 18:09:04 +02:00
Adrien de Peretti
520867b074 feat(fulfillment, core-flows): Apply correct address and context + cleanup (#7230)
The tests will be added in subsequent requests where the worklows are being worked on
2024-05-03 15:44:22 +00:00
Shahed Nasser
4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00
Adrien de Peretti
224ebb2154 chore: remove legacy plugins (#7224)
* chore(): remove more legacy plugins

* chore(): remove more legacy plugins

* rm plugins
2024-05-03 14:47:16 +02:00
Adrien de Peretti
bbccd6481d chore(): start moving some packages to the core directory (#7215) 2024-05-03 13:37:41 +02:00
Kasper Fabricius Kristensen
fdee748eed feat(dashboard): Product create from - details (#7121)
**What**
- First part of the product creation form.
- New components:
  - ChipInput - Allows users to input chips into a input field. Chips are created by hitting the `,` or `Enter / Return` keys. Deleting a chip is done by hitting `Backspace` when the cursor is next to chip, or clicking the `X` button in the chip. Used for inputting option values.
  - SortableList - A sortable drag-n-drop list that allows the user to re-arrange the order of items. Used for re-arranging the ranking of variants.
  - ChipGroup - New re-usable component that is used to render a group of values as Chips. This should be used for SplitView form items.
  - CategoryCombobox - (WIP) Nested Combobox component for selecting multiple categories a product should be associated with.
- New hooks:
  - useComboboxData - Hook for easily managing the state of comboboxes.
  - useDebouncedSearch - Hook for managing debounced search queries.
2024-05-03 10:37:36 +00:00
Frane Polić
e42308557e feat(dashboard): shipping & location (#7151) 2024-05-03 11:51:55 +02:00
Oli Juhl
c41e90fa36 chore: Remove Admin v1 (#7214)
* chore: Remove v1 admin

* update eslint
2024-05-03 10:56:38 +02:00
Adrien de Peretti
46ded00c08 chore: Remove legacy files plugins (#7216)
**What**
rm legacy file plugins
2024-05-03 08:01:40 +00:00
Shahed Nasser
5bc780a646 feat(medusa-cli): added v2 flag (#7211) 2024-05-03 08:43:54 +02:00
Adrien de Peretti
0140fd63ab chore(): rm payment plugins (#7217) 2024-05-03 08:42:03 +02:00
Riqwan Thamir
f129415650 feat(medusa,core-flows): complete cart [part-1] (#7201)
what:

- adds a very basic complete cart endpoint that creates an order
- the complete cart workflow currently does the following:
  - create tax lines
  - create order
2024-05-02 22:24:50 +00:00
Oli Juhl
e78362c000 chore: Remove legacy MWH modules (#7213)
* chore: Remove legacy MWH modules

* chore: Add stock-location deps
2024-05-02 20:07:42 +02:00
github-actions[bot]
8f776489a3 chore(docs): Generated Docs Announcement Bar (automated) (#7212)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-05-02 18:38:28 +02:00
Adrien de Peretti
4eae25e1ef chore(): Reorganize modules (#7210)
**What**
Move all modules to the modules directory
2024-05-02 15:33:34 +00:00
Adrien de Peretti
7a351eef09 feat(workflows-sdk): Execute workflows as step in other workflows (#7183) 2024-05-02 11:29:28 -03:00
Oli Juhl
b8a0a459a8 chore: Update CI to trigger for v1.x (#7207) 2024-05-02 15:11:26 +02:00
Carlos R. L. Rodrigues
9d3f495314 feat(fulfillment): shipping options context field (#7169) 2024-05-02 09:59:14 -03:00
Adrien de Peretti
25b0ccc60a fix(fulfillment): Update shipping options rules (#7204)
**What**
Fix the update shipping options to apply the rules update properly and remove unused code
2024-05-02 12:30:13 +00:00
Stevche Radevski
6487931f54 fix: Add shipping options for cart fix (#7205) 2024-05-02 10:33:58 +00:00
Oli Juhl
f430ed7040 chore: Remove deprecated plugins (#7199) 2024-05-02 09:55:50 +02:00
Frane Polić
155e276b90 feat(dashboard): metadata component (#7117)
**What**
- add new metadata component

**Note**
- _example of usage on customer edit form_
- we are not handling update metadata case in the internal module service so for now delete case doesn't work properly

---


https://github.com/medusajs/medusa/assets/16856471/b588752d-9cf5-4d96-9cf8-760a764ab03e
2024-05-02 07:51:39 +00:00
Riqwan Thamir
ea1d926dfa chore: fix promotion not found error text (#7200) 2024-05-02 08:46:10 +02:00
Shahed Nasser
b6083ce104 docs: added documentation for toast component changes (#7141)
* docs: added documentation for toast component changes

* added redirect from use-toast docs to upgrade guide

* remove unused file

* content linting fixes

* update UI package version

* updated ui preset

* fix upgrade guides main page
2024-05-01 18:12:10 +03:00
Stevche Radevski
8387d03370 fix: Correctly fetch cart when updating a line item (#7196) 2024-05-01 14:55:20 +00:00
Oli Juhl
ba71903e12 chore: Introduce bug report for 2.0 (#7194) 2024-05-01 14:14:37 +02:00
Oli Juhl
497c735ea6 chore: Update contibuting with new branching strategy (#7193) 2024-05-01 13:50:02 +02:00
github-actions[bot]
f43e8b3e73 chore(docs): Generated Docs Announcement Bar (automated) (#7190)
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>
2024-05-01 10:15:35 +00:00
github-actions[bot]
bfda7a626d chore(docs): Generated OAS (#7189)
This PR holds all generated OAS for the upcoming release.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-05-01 10:07:31 +00:00
Stevche Radevski
d930d88369 fix: Ensure passed Id filters get applied on top of maybe link filter (#7182) 2024-05-01 11:25:24 +02:00
olivermrbl
3bf6e50744 chore: Release 2024-05-01 10:06:23 +02:00