Commit Graph

3832 Commits

Author SHA1 Message Date
olivermrbl e91bd9e1c1 chore(changesets): Minor bump file plugins 2023-08-25 16:36:54 +02:00
olivermrbl d7e435650a chore: Release 2023-08-25 16:24:58 +02:00
github-actions[bot] 362abdfad7 chore: Version Packages (#4826)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 16:15:33 +02:00
Oli Juhl f28fa6a7b3 chore(admin): Add caret range to peer deps (#4865) 2023-08-25 16:07:43 +02:00
Shahed Nasser 6d94c0c181 docs: added beta features documentation (#4859) 2023-08-25 14:59:20 +03:00
github-actions[bot] 7aaa332a32 chore(docs): Generated API Reference (#4857)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-08-25 13:24:26 +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
Sebastian Rindom 819d27e774 chore(tests): add integration test of canceling order with many items (#4776)
What

- Adds an integration test to check if canceling an order with many items succeeds.

Related to #4763
2023-08-25 09:00:47 +00:00
Victor Frunza 9766758e19 Fixed: Typo for should in the "Create Region" form (#4854)
closes #4853
2023-08-25 08:41:54 +00:00
Frane Polić 0c7c2eeeab feat(admin-ui): refresh products when a BatchJob is completed (#4840) 2023-08-25 07:34:48 +00: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
Rares Stefan f4bf9ee169 fix(admin-ui): Fix variant creation when no stock locations provided (#4843)
* Update check on variant creation, whether to create stock locations

* Create spicy-shoes-type.md
2023-08-24 08:51:12 +02:00
Rares Stefan 57e199ef52 fix(admin-ui): Fix sign out in admin panel not redirecting correctly (#4837) 2023-08-23 21:54:45 +02:00
Frane Polić 8b860416d2 feat(medusa): PriceListImportStrategy descriptive errors (#4842) 2023-08-23 21:39:34 +02:00
Shahed Nasser c58588904c fix(medusa-telemetry): added missing babel dependencies (#4817) 2023-08-23 14:26:06 +02:00
Frane Polić d8a6e3e0d8 feat(medusa-file-local): implement missing streaming methods (#4788) 2023-08-23 13:05:04 +02:00
github-actions[bot] 4843cc6301 chore(docs): Removed Docs Announcement Bar (automated) (#4836)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-08-23 10:01:16 +03:00
olivermrbl 8a43a6bc1d chore: Bump @medusajs/utils + @medusajs/product 2023-08-22 15:46:59 +02:00
olivermrbl e9d76fa3d7 chore(changesets): Change minor to patch 2023-08-22 15:36:10 +02:00
Carlos R. L. Rodrigues c53fa6cd3b fix(utils,product): mikro orm connection loader (#4825)
Fix shared connection property check
2023-08-22 12:35:52 +00:00
Frane Polić edf9ed4e59 fix(medusa-interfaces, medusa-file-*): flag for streaming to a private bucket (#4771)
* wip: unify file service api

* fix: flag type

* fix: update Spaces service

* fix: S3/Spaces - default to private

* fix: MinIO `isPrivate` for `getPresignedDownloadUrl`, add `isPrivate` to `GetUploadedFileType`

* chore: changeset
2023-08-22 13:05:30 +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
Kasper Fabricius Kristensen 3ad2136888 feat(api-reference): Add rewrite to UI docs (#4791)
* add rewrite to UI docs

* add base rewrite

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-17 19:31:22 +03:00
github-actions[bot] 5c2f15cfc4 chore(docs): Generated Docs Announcement Bar (automated) (#4797)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-08-17 17:29:51 +02:00
olivermrbl ecb4910312 chore: Release 2023-08-17 17:19:27 +02:00
github-actions[bot] db36258885 chore: Version Packages (#4711)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-17 17:17:41 +02:00
Kasper Fabricius Kristensen 1e8d044b16 add versions (#4795) 2023-08-17 17:10:40 +02: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
olivermrbl 5cf59a5b9c chore(changesets): Add minor bump of @medusajs/medusa 2023-08-17 14:28:04 +02:00
Kasper Fabricius Kristensen f1a05f4725 feat(admin, admin-ui, medusa-js, medusa-react, medusa): Support Admin Extensions (#4761)
Co-authored-by: Rares Stefan <948623+StephixOne@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-17 12:14:45 +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
github-actions[bot] 9165f3214b chore(docs): Generated API Reference (#4783)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-08-16 16:59:45 +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
Oli Juhl 16249ec280 fix(actions): Disable OAS unit tests + add flags to test commands (#4767)
* wip

* skip models test

* ignore plugins loader test
2023-08-15 14:32:58 +02: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
Frane Polić 4a448b68fd feat(admin-ui): bulk advanced selections + copy/paste (#4568)
* wip: bulk editor copy/paste

* feat: exit edit mode with "enter" press

* wip: arrow navigation + onEnter

* wip: 2D select + arrow navigation

* feat: arrow navigation and multiselect, tabs navigation and multiselect

* fix: region cols offset

* feat: 2d copy

* feat: 2d paste

* fix: trailing tab

* fix: borders

* feat: ensure consistent copy order

* fix: off by one col, pass `cmd` keypress

* feat: `cmd` select

* refactor: cleanup 1

* refactor: cleanup 2, utils

* fix: copy paste

* fix: copy paste indicator

* fix: reduce dashed border size

* fix: issue with leading empty cell

* feat: cp support 2 formats of content, notification on copy, remove dashed box

* fix: last empty cell case

* feat: buffer content edge cases

* refactor: remove log

* feat: past fill selected area

* feat: simplify copy-paste

* fix: throw error if textual cell is in the buffer

* Create eighty-zebras-grow.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-14 21:37:12 +02:00