Commit Graph
6161 Commits
Author SHA1 Message Date
Shahed NasserandGitHub 1e07ab1b8d docs: fix broken pages due to remark plugin (#8694)
* docs: fix broken pages due to remark plugin

* refactor condition

* Update component-link-fixer.ts
2024-08-21 15:29:46 +03:00
Shahed NasserandGitHub 2f0166901f docs: fix response code snippet in api reference (#8689) 2024-08-21 11:52:22 +02:00
Shahed NasserandGitHub 9734ad1e51 docs: fix category not opening in api reference from algolia search (#8690) 2024-08-21 11:52:13 +02:00
Riqwan ThamirandGitHub a7d03ec562 feat(dashboard,core-flows): ability to refund payment post RMA flow (#8685) 2024-08-21 09:58:09 +02:00
github-actions[bot]andGitHub cc3e84f081 chore(docs): Updated API Reference (v2) (#8686)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-21 07:20:13 +00:00
ChristianandGitHub c999b414e7 fix: add missing typings to create provider identity (#8677)
* fix: add missing typings to create provider identity

* add app_metadata to filterable fields for auth identity
2024-08-21 07:29:31 +02:00
8bd284779e feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid (#8679)
* feat(core-flows): create or update payment collections in RMA flows

* chore: change ui to pick payment link from unpaid payment collection

* Apply suggestions from code review

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* chore: fix mathbn

* feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid

* chore: add captured bt

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-20 22:58:28 +02:00
Carlos R. L. RodriguesandGitHub 99eca64c20 chore(order): preview removed items (#8680) 2024-08-20 14:53:39 -03:00
430d9a38c4 feat(core-flows): create or update payment collections in RMA flows (#8676)
* feat(core-flows): create or update payment collections in RMA flows

* chore: change ui to pick payment link from unpaid payment collection

* Apply suggestions from code review

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* chore: fix mathbn

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-20 18:40:58 +02:00
ChristianandGitHub 29830f0077 feat: create auth provider identity (#8675) 2024-08-20 16:38:06 +02:00
Kasper Fabricius KristensenandGitHub 3706bf51af feat(dashboard): Wrap each route in an ErrorBoundary (#8674)
**What**
- Updates the copy of the different error types
- Wraps each route (+ custom routes) in an ErrorBoundary to preserve app layout on error (sidebar and topbar)

![Skærmbillede 2024-08-20 kl  12 35 53](https://github.com/user-attachments/assets/0c589fc4-b279-4b66-9d66-1b99a7406696)

**Note**
If the user goes to a route that does not exist at all, e.g. `/some-weird-url`, then we have no way of knowing if the user is inside of a context where we can render the sidebar and topbar (as they require the user to be authenticated). So in this case we still show an ErrorBoundary where the two aren't included (see second picture), and include a button that takes the user to "/", which depending on whether the user is logged in will take them to "/login" or "/orders".

![image](https://github.com/user-attachments/assets/08dde48a-3bb8-41a1-9a0e-2c41716baf0b)

Resolves CC-248
2024-08-20 13:09:30 +00:00
Shahed NasserandGitHub b4d8e265e3 docs: redesign cards (#8671)
* docs: redesign cards

* fix build error
2024-08-20 14:48:17 +02:00
Shahed NasserandGitHub 48fe819d9e docs: redesign vertical tabs (#8673) 2024-08-20 14:48:09 +02:00
Shahed NasserandGitHub 43202dde0f docs: redesign footer (#8651) 2024-08-20 14:47:53 +02:00
Shahed NasserandGitHub b8ba020cd5 docs: redesign tables (#8653)
* docs: redesign tables

* fixes
2024-08-20 14:47:36 +02:00
Shahed NasserandGitHub 73905c14b1 docs: redesign notes (#8661)
* docs: redesign notes

* fix color for warning notes

* allow optional links

* show links in a note

* allow line code in notes
2024-08-20 14:47:24 +02:00
Harminder VirkandGitHub 5f310c0a00 breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix (#8672) 2024-08-20 17:05:19 +05:30
Kasper Fabricius KristensenandGitHub cfdd056d70 fix(dashboard): Fix minor issues with Reservations and Inventroy Create forms (#8657) 2024-08-20 13:31:31 +02:00
Shahed NasserandGitHub 45f9961d19 docs: remove link to events reference (#8669) 2024-08-20 12:32:04 +02:00
Shahed NasserandGitHub 1020ab0b97 docs: improve main docs and resources sidebar (#8664) 2024-08-20 12:31:50 +02:00
bc19a9162a chore(docs): Generated References (automated) (#8667)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-20 12:31:20 +02:00
cb2ead3a1c chore(docs): Generated API Reference (v2) (#8668)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-20 12:31:06 +02:00
Riqwan ThamirandGitHub fa44e3f5a8 feat(dashboard,core-flows,js-sdk,types,link-modules,payment): ability to copy payment link (#8630)
what: 

- enables a button to create a payment link when a payment delta is present
- api to delete order payment collection
- adds a pending amount to payment collections

Note: Not the happiest with the decision on when to create a payment collection and when not to. The code should programatically create or delete payment collections currently to generate the right collection for the payment delta. Adding a more specific flow to create and manage a payment collection will help reduce this burden from the code path and onto CX/merchant.

Another issue I found is that the payment collection status doesn't get updated when payment is complete as it still gets stuck to "authorized" state

https://github.com/user-attachments/assets/037a10f9-3621-43c2-94ba-1ada4b0a041b
2024-08-20 10:30:17 +00:00
Harminder VirkandGitHub 69830ca89c fix: maintain connections pool (#8670) 2024-08-20 14:54:52 +05:30
Carlos R. L. RodriguesandGitHub eb0bfe9f33 feat(workflows-sdk): log on error (#8666) 2024-08-20 06:23:24 -03:00
Carlos R. L. RodriguesandGitHub 1be9373290 chore(core-flows): order update item quantity (#8659) 2024-08-19 18:14:57 +00:00
Carlos R. L. RodriguesandGitHub dd82a56ec5 fix(payment-stripe): fix smallest unit calculation (#8663) 2024-08-19 19:19:49 +02:00
Carlos R. L. RodriguesandGitHub aa6e504771 chore(core-flows): set packed_at when fulfillment is created (#8665) 2024-08-19 19:16:48 +02:00
Riqwan ThamirandGitHub 4791d1d775 fix(promotion): validate rules accurately when attribute is scoped by context (#8655) 2024-08-19 15:38:42 +02:00
Kasper Fabricius KristensenandGitHub a66bd3bd6b fix(dashboard): Use proper heading size (#8658) 2024-08-19 14:56:26 +02:00
Kasper Fabricius KristensenandGitHub 894db4a150 feat(dashboard): Hitting escape restores previous value (#8654)
* feat(dashboard): Hitting escape restores previous value

* update lock
2024-08-19 14:02:30 +02:00
Shahed NasserandGitHub a77c23c915 docs: redesign code highlights + add default code titles (#8628)
* docs: code highlights improvements + default titles

* spacing fixes

* fix terminal detection

* add padding for non-terminal one liners
2024-08-19 13:34:07 +03:00
Frane PolićandGitHub d571d564c3 fix(dashboard): disable RMAs if there is no shipped items (#8652) 2024-08-19 12:30:56 +02:00
Kasper Fabricius KristensenandGitHub cbdec98df1 fix check for displaying placeholder value (#8649) 2024-08-19 11:01:36 +02:00
Shahed NasserandGitHub 800d034c89 docs: update algolia (#8625)
Update algolia to fix issues with highlighting and snippets
2024-08-19 07:12:02 +00:00
Shahed NasserandGitHub c479fe8220 docs: added edit date (#8623) 2024-08-19 09:47:57 +03:00
Kasper Fabricius KristensenandGitHub 8c784a8b30 fix(dashboard): Replace react-nestable with new SortableTree component (#8599)
**What**
- Removes `react-nestable` dependency in favour of our own solution based on `@dnd-kit/core`

Resolves CC-217
2024-08-18 20:21:03 +00:00
Shahed NasserandGitHub 66c39ef876 docs: bug fixes for copy and color mode (#8626)
* docs: bug fixes for copy and color mode

* remove unused dependency
2024-08-18 17:01:15 +02:00
46310e32d0 chore(docs): Generated API Reference (v2) (#8643)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-18 16:55:04 +02:00
fb0644b8f6 chore(docs): Generated References (automated) (#8642)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-18 16:54:36 +02:00
Stevche RadevskiandGitHub 4980285317 chore: Remove create user tests that are no longer relevant (#8638) 2024-08-18 16:53:56 +02:00
Carlos R. L. RodriguesandGitHub be942ff15c fix(order): update order summary when transactions change (#8633) 2024-08-16 19:40:44 +00:00
Stevche RadevskiandGitHub 0f240137e9 fix: Remove the endpoint to create a user (#8629) 2024-08-16 16:12:32 +02:00
Carlos R. L. RodriguesandGitHub 5200e816c9 fix(order): order summary on order creation (#8624) 2024-08-16 07:52:24 -03:00
Oli JuhlandGitHub 2f62b47bff fix(pricing): Calculate price sets with amount 0 (#8622) 2024-08-16 12:49:11 +02:00
Shahed NasserandGitHub 559a6d70d9 docs: remove steps from workflows reference overview (#8595)
* docs: remove steps from workflows reference overview

* fix styling of typelist element

* fix categories with no items showing
2024-08-16 12:37:13 +03:00
Shahed NasserandGitHub f0f83afdd9 docs-util: fix update OAS schema (#8556)
* docs-util: fix update OAS schema

* fix to updating

* fix condition
2024-08-16 12:37:03 +03:00
Riqwan ThamirandGitHub adcd25650c feat(medusa,core-flows,types): API to create payment collections for order (#8617)
what:

- adds an API to create a payment collection for order
2024-08-16 08:16:40 +00:00
github-actions[bot]andGitHub bb72fda9ae chore(docs): Generated References (#8618)
Generated the following references:
- `core_flows`
- `modules`
- `types`
2024-08-16 06:46:10 +00:00
github-actions[bot]andGitHub 0f67345308 chore(docs): Updated API Reference (v2) (#8619)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-16 06:46:04 +00:00