Commit Graph
100 Commits
Author SHA1 Message Date
Shahed Nasser 89735aa425 docs: fix code in digital product recipe (#5172)
* docs: fix code in digital product recipe

* eslint fixes
2023-09-21 15:20:02 +03:00
Shahed Nasser 889154c440 docs: fix card title in digital products recipe (#5147) 2023-09-19 18:43:23 +03:00
Shahed Nasser d709521826 docs: updated recipes (#5138) 2023-09-19 13:48:27 +03:00
Shahed Nasser a161f689b9 docs: fix SendGrid's dynamic_template_data property (#5112) 2023-09-18 15:06:09 +03:00
Shahed Nasser 0c467012f6 docs: fix retrieve order by display ID code block (#5106)
Fixes #5099
2023-09-18 10:50:54 +03:00
Shahed Nasser beeb0d6154 docs: added docs for multi-language support (#5026)
* docs: added docs for multi-language support

* fix sidebar

* fix sidebar ref

* added config step
2023-09-15 17:21:00 +02:00
Shahed Nasser 09bcbdaea5 docs: fix environment variable names for Railway guide (#5077)
* docs: fix environment variable names for Railway guide

* Update deploying-on-railway.md

* Update deploying-on-railway.md
2023-09-15 14:42:11 +03:00
Shahed Nasser 7d35723023 fix(medusa-react): fix useAdminAddStoreCurrency hook (#5074) 2023-09-15 12:06:12 +02:00
Shahed Nasser 5b09f816cb fix(create-medusa-app): fix command for windows OS (#5061) 2023-09-14 18:07:43 +03:00
Shahed Nasser d14966abca api-ref: fix feedback component client error (#5055) 2023-09-14 17:06:18 +03:00
Shahed Nasser 973c79bef6 docs: change usage of AbstractPaymentService with AbstractPaymentProcessor (#5038)
Fixes #5033
2023-09-13 11:19:25 +03:00
Shahed Nasser adf4903003 docs: added ecommerce recipe (#5017)
* docs: added ecommerce recipe

* fix eslint errors
2023-09-11 18:51:03 +03:00
Shahed Nasser b18b6167a7 docs: added troubleshooting for Next.js with NPX (#5016) 2023-09-11 18:09:26 +03:00
Shahed Nasser fbae7f9654 docs: fix steps in create entity documentation (#5011) 2023-09-11 12:05:25 +03:00
Shahed Nasser d971d5cf91 docs: added new recipes (#4964)
* docs: added new recipes

* added oms recipe

* address PR feedback
2023-09-11 11:31:57 +03:00
Shahed Nasser 5c9f8c7111 docs: add create-medusa-app option in Next.js starter (#5008) 2023-09-11 11:15:10 +03:00
Shahed Nasser 70701b3e8f docs: fix S3 plugin options section (#5007) 2023-09-11 10:52:43 +03:00
Shahed Nasser 7a12aa04ac docs,api-ref: fix kbd styling (#4995)
* docs: fix kbd styling

* additional fixes
2023-09-08 20:18:26 +03:00
Shahed Nasser 1a1fc6c968 docs: add documentation for remaining plugins (#4994)
* docs: add documentation for remaining plugins

* fix eslint errors
2023-09-08 19:18:48 +03:00
Shahed Nasser 1958809fa9 docs: update create-medusa-app to add details about Next.js option (#4991)
* docs: update create-medusa-app to add details about Next.js option

* fix enter
2023-09-08 15:26:39 +02:00
Shahed NasserandOli Juhl c47b7aacbd docs: updated the add fulfillment provider docs (#4986)
* docs: updated the add fulfillment provider docs

* fix eslint errors

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-08 15:12:00 +02:00
Shahed Nasser 240b038006 feat(create-medusa-app): add install Next.js storefront option (#4968)
* feat(create-medusa-app): add install Next.js storefront option

* added config for yes option

* added more instructions to exit message

* handle duplicate directories and next errors

* use next.js branch

* add line break in storefront question

* pass next.js directory name as env variable

* change question message

* address PR feedback

* fix(medusa-cli): remove .git directory in `new` command

* fix deleting a directory error
2023-09-08 12:17:48 +02:00
Shahed Nasser 9781089ca3 chore(oas): Update OAS for upload endpoints (#4953)
* chore(oas): Update OAS for upload endpoints

* added changeset

* address pr feedback
2023-09-06 17:39:19 +03:00
Shahed Nasser ddc882faac docs: added multi-region recipe (#4926)
* docs: added a multi-region recipe

* added other category to plugins list

* fix eslint errors

* fix broken link

* add link

* fix sidebar link
2023-08-31 20:38:06 +03:00
Shahed Nasser f9c064f98d docs: added a note about product module in Next.js (#4924) 2023-08-31 16:29:33 +03:00
Shahed Nasser 0627d06f72 docs: updated digitalocean deployment guide (#4923)
* docs: updated digitalocean deployment guide

* remove build from script

* fix text
2023-08-31 15:44:54 +03:00
Shahed Nasser bc4c9e0d32 docs: update admin CLI configurations (#4910)
* docs: update admin configurations

* fix in dev command name
2023-08-30 17:12:16 +03:00
Shahed Nasser b05bae1471 docs: update Create Fulfillment Provider guide (#4911) 2023-08-30 16:03:56 +03:00
Shahed Nasser 359bd290ba docs: added expected columns for imports (#4908)
* docs: added expected columns for imports

* linked from user guide to new sections
2023-08-30 12:00:43 +03:00
Shahed Nasser 33ffdaf42d docs: added B2B recipe (#4901)
* added b2b recipe

* added redirect rule

* fix build errors

* fix broken links
2023-08-29 19:50:14 +03:00
Shahed Nasser e086e3efbd docs: fix customer_id name in create endpoints docs (#4900) 2023-08-29 17:42:05 +03:00
Shahed NasserandOli Juhl f75d9806f9 docs: added rbac recipe (#4895)
* docs: added rbac recipe

* fix eslint errors

* fixed indentation causing build error

* fix build warning

* small fixes

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-29 15:11:52 +03:00
Shahed Nasser 962c907dfa docs: updated create file service guide (#4887) 2023-08-28 12:50:34 +03:00
Shahed Nasser 17c26c4f66 docs,api-ref: fixed search bugs (#4866) 2023-08-25 18:39:31 +03:00
Shahed Nasser 6d94c0c181 docs: added beta features documentation (#4859) 2023-08-25 14:59:20 +03:00
Shahed Nasser d04b9635f9 chore(oas): fix Get Variant's Inventory OAS (#4856)
* chore(oas): fix Get Variant's Inventory OAS

* fix the curl example
2023-08-25 13:03:55 +03:00
Shahed Nasser f07dc0384f docs,api-ref: added search filters (#4830)
* initial implementation of search modal

* added hit and search suggestions

* added support for multiple indices

* updated sample env

* added close when click outside dropdown

* test for mobile

* added mobile design

* added shortcut

* dark mode fixes

* added search to docs

* added plugins filter

* added React import

* moved filters to configurations

* handled error on page load

* change suggestion text

* removed hits limit

* handle select all

* open link in current tab

* change highlight colors

* added support for shortcuts + auto focus

* change header and footer

* redesigned search ui
2023-08-24 18:36:06 +03:00
Shahed Nasser c58588904c fix(medusa-telemetry): added missing babel dependencies (#4817) 2023-08-23 14:26:06 +02:00
Shahed Nasser 80d603a63d docs: improved glossary definitions (#4820)
* docs: improved glossary definitions

* Update glossary.ts
2023-08-21 13:09:59 +03:00
Shahed Nasser 740a3c6e18 docs: improved glossary feature (#4819) 2023-08-21 12:31:16 +03:00
Shahed Nasser f11375a686 docs: remove yarn create-medusa-app until a fix is out (#4818) 2023-08-21 11:49:18 +03:00
Shahed Nasser f5d8696123 docs: added glossary functionality (#4805) 2023-08-18 17:07:00 +03:00
Shahed Nasser ac25c422a3 docs: added general deployment guide for backend (#4802)
* docs: added general deployment guide for backend

* deleted qovery

* added a note to microtica

* fix icon name
2023-08-18 13:29:17 +03:00
Shahed Nasser fd2dcdf98c docs: improve create-medusa-app guide structure (#4801)
* docs: improved create-medusa-app structure

* change hash link
2023-08-18 11:19:36 +03:00
Shahed Nasser 57bb391146 docs: added new recipes (#4793)
* added new recipes

* added more recipes
2023-08-17 20:37:40 +03:00
Shahed Nasser 3b5590ccec docs: added new database options for create-medusa-app (#4777)
* docs: added new database options for create-medusa-app

* update note

* removed stable option

* add example to connect to Vercel or Supabase database

* added a note about --db-url option

* added a note about --no-migrations

* added troubleshooting guide for invalid token error with no-browser

* fix link
2023-08-17 20:21:32 +03:00
Shahed Nasser 80b1bff8cb docs: update admin extension docs (#4778)
* docs: update admin extension docs

* eslint fixes

* fix broken links

* fix broken link

* added admin upgrade guide

* fix lint errors
2023-08-17 20:04:13 +03:00
Shahed Nasser 75881a2cfe docs: added UI link to navigation bar (#4796) 2023-08-17 19:50:10 +03:00
Shahed Nasser c684d16ec0 feat(create-medusa-app): remove --stable option and change to clone default branch (#4794) 2023-08-17 14:34:36 +00:00
Shahed Nasser 26c78bbc03 docs: update stale information (#4790) 2023-08-17 14:19:51 +03:00
Shahed Nasser b08337deb7 api-ref: added syncing between code tabs (#4786)
* api-ref: added syncing between code tabs

* updated comment

* resolve metadata warning

* fix colors
2023-08-17 10:41:53 +03:00
Shahed Nasser 3140b9f140 docs: changed Next.js Image (#4784) 2023-08-16 18:17:29 +03:00
Shahed Nasser 8336e2002a docs: modified README files (#4782) 2023-08-16 17:12:42 +03:00
Shahed Nasser 320fab8aed chore(oas): add missing variant_id to AdminPostInventoryItemsReq schema (#4780)
* chore(oas): add missing variant_id to AdminPostInventoryItemsReq schema

* ran build
2023-08-16 16:42:34 +03:00
Shahed Nasser 9cc0bc6c9d docs,api-ref: design + algolia fixes (#4775)
* fix algolia results on same page

* fix navigation bar for mobile

* fix eslint configurations

* fix github action

* fix search icon on mobile

* fix code block dark mode
2023-08-16 11:38:50 +03:00
Shahed Nasser 914d773d3a api-ref: custom API reference (#4770)
* initialized next.js project

* finished markdown sections

* added operation schema component

* change page metadata

* eslint fixes

* fixes related to deployment

* added response schema

* resolve max stack issue

* support for different property types

* added support for property types

* added loading for components

* added more loading

* type fixes

* added oneOf type

* removed console

* fix replace with push

* refactored everything

* use static content for description

* fixes and improvements

* added code examples section

* fix path name

* optimizations

* fixed tag navigation

* add support for admin and store references

* general enhancements

* optimizations and fixes

* fixes and enhancements

* added search bar

* loading enhancements

* added loading

* added code blocks

* added margin top

* add empty response text

* fixed oneOf parameters

* added path and query parameters

* general fixes

* added base path env variable

* small fix for arrays

* enhancements

* design enhancements

* general enhancements

* fix isRequired

* added enum values

* enhancements

* general fixes

* general fixes

* changed oas generation script

* additions to the introduction section

* added copy button for code + other enhancements

* fix response code block

* fix metadata

* formatted store introduction

* move sidebar logic to Tags component

* added test env variables

* fix code block bug

* added loading animation

* added expand param + loading

* enhance operation loading

* made responsive + improvements

* added loading provider

* fixed loading

* adjustments for small devices

* added sidebar label for endpoints

* added feedback component

* fixed analytics

* general fixes

* listen to scroll for other headings

* added sample env file

* update api ref files + support new fields

* fix for external docs link

* added new sections

* fix last item in sidebar not showing

* move docs content to www/docs

* change redirect url

* revert change

* resolve build errors

* configure rewrites

* changed to environment variable url

* revert changing environment variable name

* add environment variable for API path

* fix links

* fix tailwind settings

* remove vercel file

* reconfigured api route

* move api page under api

* fix page metadata

* fix external link in navigation bar

* update api spec

* updated api specs

* fixed google lint error

* add max-height on request samples

* add padding before loading

* fix for one of name

* fix undefined types

* general fixes

* remove response schema example

* redesigned navigation bar

* redesigned sidebar

* fixed up paddings

* added feedback component + report issue

* fixed up typography, padding, and general styling

* redesigned code blocks

* optimization

* added error timeout

* fixes

* added indexing with algolia + fixes

* fix errors with algolia script

* redesign operation sections

* fix heading scroll

* design fixes

* fix padding

* fix padding + scroll issues

* fix scroll issues

* improve scroll performance

* fixes for safari

* optimization and fixes

* fixes to docs + details animation

* padding fixes for code block

* added tab animation

* fixed incorrect link

* added selection styling

* fix lint errors

* redesigned details component

* added detailed feedback form

* api reference fixes

* fix tabs

* upgrade + fixes

* updated documentation links

* optimizations to sidebar items

* fix spacing in sidebar item

* optimizations and fixes

* fix endpoint path styling

* remove margin

* final fixes

* change margin on small devices

* generated OAS

* fixes for mobile

* added feedback modal

* optimize dark mode button

* fixed color mode useeffect

* minimize dom size

* use new style system

* radius and spacing design system

* design fixes

* fix eslint errors

* added meta files

* change cron schedule

* fix docusaurus configurations

* added operating system to feedback data

* change content directory name

* fixes to contribution guidelines

* revert renaming content

* added api-reference to documentation workflow

* fixes for search

* added dark mode + fixes

* oas fixes

* handle bugs

* added code examples for clients

* changed tooltip text

* change authentication to card

* change page title based on selected section

* redesigned mobile navbar

* fix icon colors

* fix key colors

* fix medusa-js installation command

* change external regex in algolia

* change changeset

* fix padding on mobile

* fix hydration error

* update depedencies
2023-08-15 18:07:54 +03:00
Shahed Nasser 30ce35b163 feat(create-medusa-app): add database options (#4733)
## What

Adds new options for easier usage of the `create-medusa-app` command for regular medusa users.

The following options are added:

- `--skip-db`: Skips creating the database, running migrations, and seeding, and subsequently skips opening the browser. Useful if the developer wants to set the database URL at a later point in the configurations.
- `--db-url <url>`:  Skips database creation and sets the database URL to the provided URL. Throws an error if can't connect to the database. Will still run migrations and open the admin after project creation. Useful if the developer already has database created, locally or remotely.
- `--no-migrations`: Skips running migrations, creating admin user, and seeding. If used, it's expected that you pass the `--db-url` option with a url of a database that has all necessary migrations. Otherwise, unexpected errors will occur. Helpful only if combined with `--db-url`
- `--no-browser`: Disables opening the browser at the end of the project creation and only shows success message.
- `--directory-path <path>`: Allows specifying the directory path to install the project in. Useful for testing.
2023-08-15 08:08:54 +00:00
Shahed Nasser 324c9d62ef docs: fix method names in complete checkout code block (#4746)
Closes #4744
2023-08-11 09:47:24 +03:00
Shahed Nasser 2363a5324e docs: general fixes across docs (#4737)
* docs: general fixes across docs

* added deploy button to railway

* fix eslint errors

* fixes
2023-08-10 11:44:20 +03:00
Shahed Nasser 433914ae01 docs: revamp plugin documentation pages (#4694)
* docs: revamp plugin documentation pages

* fix eslint errors

* change order of scripts
2023-08-04 17:26:39 +03:00
Shahed Nasser 738eac63aa docs: fixes to medusa-react (#4672)
* docs: fixes to medusa-react

* fixes to admin customization pages

* fix eslint errors

* added routes and settings props

* fixes to settings page

* small fix for settings
2023-08-02 15:27:32 +03:00
Shahed Nasser 84fe2a3837 docs: add missing code in create entity doc (#4669) 2023-08-02 10:45:04 +03:00
Shahed Nasser c90191eb7e docs: revamped endpoints, services, and entities (#4660)
* revamp create endpoint docs

* docs: revamped endpoints, services, and entities

* eslint fixes

* fix metadata

* fix missing closing tag

* fixes to create migration doc

* fixes to create endpoint doc

* small fix in create service doc
2023-08-01 19:36:56 +03:00
Shahed Nasser 6c885ac2d6 docs: fixes to create entity docs (#4657) 2023-08-01 13:50:23 +03:00
Shahed Nasser 18ba749695 docs: fixes to create migrations guide (#4656) 2023-08-01 12:59:06 +03:00
Shahed Nasser 554af1abf3 docs: fix configurations link in backend install (#4634) 2023-08-01 11:11:22 +03:00
Shahed Nasser 2e42141822 docs: shorten npx commands (#4652) 2023-08-01 10:50:19 +03:00
Shahed Nasser 26a606a1bb docs: fixes to create endpoint documentation (#4650) 2023-08-01 10:14:59 +03:00
Shahed Nasser d4e7f679cc docs: fixes to entities overview page (#4651) 2023-07-31 19:42:57 +03:00
Shahed Nasser c0cf786e48 docs: improvements to storefront roadmap (#4648) 2023-07-31 19:18:05 +03:00
Shahed Nasser 14fe1f1f69 docs: fixes to implement cart docs (#4645) 2023-07-31 17:30:58 +03:00
Shahed Nasser da903fd798 docs: fixes to implement checkout (#4646) 2023-07-31 16:27:34 +03:00
Shahed Nasser 483bf2e544 docs: added admin setting page documentation (#4641)
* docs: added admin setting page documentation

* add link from routes to settings page
2023-07-31 15:09:19 +03:00
Shahed Nasser c2f4ad8378 docs: remove unnecessary typing (#4642) 2023-07-31 14:52:40 +03:00
Shahed Nasser 648eb106d6 docs: added a note in create-medusa-app (#4640)
* docs: added a note in create-medusa-app

Added a note in `create-medusa-app` guide linking to the backend quickstart as the recommended solution for an installation with more configurations.

* move stable option note
2023-07-31 12:54:37 +03:00
Shahed Nasser 8321925404 docs: added troubleshooting section for medusa-react (#4639) 2023-07-31 12:30:13 +03:00
Shahed Nasser 90dea3bfcf docs: add a link to loaders guide (#4638) 2023-07-31 11:22:24 +03:00
Shahed Nasser c8ef0c6d25 docs: added details about the stable option (#4632)
* docs: added details about the stable option

* fix link
2023-07-28 17:55:23 +03:00
Shahed Nasser 5d71a8d26f docs: added general troubleshooting error (#4625) 2023-07-28 11:42:06 +03:00
Shahed Nasser 75f2f9ad62 chore(oas): fix tag names (#4622) 2023-07-28 10:41:47 +03:00
Shahed Nasser 723f2677da docs: improved configurations documentation (#4619)
* docs: improved configurations documentation

* fix feature-flag link

* removed required section
2023-07-28 10:21:54 +03:00
Shahed Nasser 8d0ce0af06 chore(oas): add link for additional info on metadata (#4613) 2023-07-27 12:44:16 +03:00
Shahed Nasser 5fcb0d5281 docs: added directory structure documentation (#4612)
* docs: added directory structure documentation

* improvements
2023-07-27 12:18:31 +03:00
Shahed Nasser 8a1aac028e chore(oas): improvements to examples and descriptions (#4545)
* improve curl examples in OAS

* update tags

* fix oas errors

* update tags and their descriptions

* updated oas of endpoints

* improved oas of all admin endpoints

* improved store OAS comments

* improved models OAS comments

* small change
2023-07-26 20:13:44 +03:00
Shahed Nasser f4f35cdb4f docs: add troubleshooting for js client (#4597)
Add troubleshooting on possible Typescript error that can occur when importing the JS Client
2023-07-24 18:48:14 +03:00
Shahed Nasser edf93d972d docs: fixes to s3 plugin documentation (#4592) 2023-07-24 13:53:31 +03:00
Shahed Nasser 15e87a8100 feat(create-medusa-app): add stable option + add URI encoding to database string (#4567)
* feat(create-medusa-app): added stable option

* add new function

* changed open url

* switch condition

* fix open url for stable

* add URI encoding

* modified db error message
2023-07-24 13:33:14 +03:00
Shahed Nasser 9748d8b7c0 docs: added a note about db user create privilege (#4584)
* docs: added a note about db user create privilege

* added troubleshooting section
2023-07-21 17:39:43 +03:00
Shahed NasserandRares Stefan d22569f379 docs: added troubleshooting guide for beta version (#4582)
* docs: added troubleshooting guide for beta version

* Update docs/content/troubleshooting/upgrade-beta.md

Co-authored-by: Rares Stefan <rares.capilnar@gmail.com>

---------

Co-authored-by: Rares Stefan <rares.capilnar@gmail.com>
2023-07-21 15:36:08 +03:00
Shahed Nasser e1e7d8e5e4 docs: fix options details passed to endpoints (#4579)
* docs: fix options details passed to endpoints

* added access configuration sections

* added section about parsing request body
2023-07-21 12:42:21 +03:00
Shahed Nasser d766f74c14 docs: fix import of authenticate middleware (#4572)
* docs: fix import of authenticate middleware

* fix eslint errors
2023-07-20 20:00:17 +03:00
Shahed Nasser 525b34d575 docs: added new troubleshooting sections (#4571)
* docs: added troubleshooting section for EADDRINUSE

* added custom hooks troubleshooting

* fix tab issues

* fix double active items in sidebar

* Update sidebars.js
2023-07-20 19:13:59 +03:00
Shahed Nasser 3c33ca922a docs: added a user guide for prices bulk editor (#4569)
* docs: added bulk editor user guide

* fixed shortcut
2023-07-20 18:20:06 +03:00
Shahed Nasser 6bc8b40a6b docs: updated custom hooks section in Medusa React (#4566)
* docs: updated custom hooks section in Medusa React

* fix eslint errors
2023-07-20 15:20:10 +03:00
Shahed Nasser f325881227 fix(create-medusa-app): improved error messages (#4543)
* fix error messages

* format docs url based on current OS

* added changeset
2023-07-19 14:23:54 +02:00
Shahed Nasser 195ad13cba docs: added docs on how to extend a validator (#4489)
* docs: added docs on how to extend a validator

* fix eslint error
2023-07-18 18:58:43 +03:00
Shahed Nasser 761c6c80d6 docs: enable querystring option for operating systems tabs (#4542)
* docs: enable querystring option for operating systems tabs

* fix node.js version
2023-07-17 15:09:24 +03:00
Shahed Nasser f61488f105 chore(oas): remove incorrect query parameter (#4526) 2023-07-13 10:56:22 +03:00
Shahed Nasser 3ed6438486 chore(oas): fix cURL example for search product (#4520) 2023-07-12 21:01:01 +03:00
Shahed Nasser ef24fef53b docs: added create-medusa-app command within prerequisites (#4518) 2023-07-12 20:18:36 +03:00