-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rewrite-password-field
- Loading branch information
Showing
135 changed files
with
3,884 additions
and
994 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"@shopware-ag/meteor-component-library": patch | ||
--- | ||
|
||
move mt-loader over to plain css | ||
Add translation for mt-banner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@shopware-ag/meteor-component-library": patch | ||
--- | ||
|
||
Migrate mt-select over to the custom built i18n composable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@shopware-ag/meteor-component-library": patch | ||
--- | ||
|
||
Migrate mt-data-table over to the custom built i18n composable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"@shopware-ag/meteor-component-library": patch | ||
--- | ||
|
||
Improve a11y of help text | ||
Update focus style of switch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@shopware-ag/meteor-component-library": patch | ||
--- | ||
|
||
Migrate mt-data-table-settings over to the composition api |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Meteor Admin SDK Example Plugin | ||
|
||
This package contains an example plugin. It uses the [Meteor Admin SDK](https://github.com/shopware/meteor/tree/main/packages/admin-sdk) to extend the administration. | ||
|
||
## Prerequisites | ||
We assume that you have a functioning Shopware 6 setup on your local machine. | ||
|
||
## Plugin setup | ||
|
||
1. Install all meteor dependencies: `cd <meteorRoot> && pnpm install` | ||
2. Build all meteor packages: `cd <meteorRoot> && turbo run build` | ||
3. Symlink the plugin to your Shopware 6 installation: `cd <shopwareRoot>/custom/plugins && ln -s <meteorRoot>/examples/admin-sdk-plugin TestPlugin` | ||
4. It's important that the plugin Folder is named `TestPlugin` inside `custom/plugins` | ||
5. Activate the plugin : `cd <shopwareRoot> && php bin/console plugin:refresh && php bin/console plugin:install -a -c TestPlugin` | ||
6. Built the administration Javascript: `cd <shopwareRoot> && composer run build:js:admin` | ||
|
||
Now you should see the plugin installed when opening the Shopware Admin and looking in "Extensions" -> "My Extensions". | ||
|
||
## Acceptance tests | ||
|
||
1. Create a `.env` file in `<meteorRoot>/examples/admin-sdk-plugin/tests/acceptance` | ||
2. Specify your Shopware instance app url: `APP_URL=https://dev.local/` | ||
3. Run the tests: `cd <meteorRoot> && pnpm --filter @shopware-ag/meteor-admin-sdk-example-plugin run test:ats` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "swag/sdk-test-plugin", | ||
"description": "Meteor Admin SDK Testplugin", | ||
"type": "shopware-platform-plugin", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"TestPlugin\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"shopware-plugin-class": "TestPlugin\\TestPlugin", | ||
"label": { | ||
"de-DE": "SDK Testplugin", | ||
"en-GB": "SDK Testplugin" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Resources/app/administration/node_modules/ | ||
Resources/public |
9 changes: 9 additions & 0 deletions
9
examples/admin-sdk-plugin/src/Resources/app/administration/build/webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = () => { | ||
return { | ||
resolve: { | ||
alias: { | ||
vue$: 'vue/dist/vue.esm-browser.js' | ||
} | ||
} | ||
}; | ||
}; |
13 changes: 13 additions & 0 deletions
13
examples/admin-sdk-plugin/src/Resources/app/administration/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Test plugin example</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
</body> | ||
</html> |
22 changes: 22 additions & 0 deletions
22
examples/admin-sdk-plugin/src/Resources/app/administration/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "administration", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "", | ||
"license": "MIT", | ||
"author": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"dependencies": { | ||
"@shopware-ag/meteor-admin-sdk": "workspace:*", | ||
"@shopware-ag/meteor-component-library": "workspace:*", | ||
"regenerator-runtime": "^0.14.1", | ||
"vue": "3.4.21", | ||
"vue-router": "4.4.5" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.6.2" | ||
} | ||
} |
Oops, something went wrong.