Skip to content

Commit

Permalink
NEXT-37708 - adjust admin component extension documentation (#1498)
Browse files Browse the repository at this point in the history
* NEXT-37708 - adjust admin component extension documentation

* NEXT-37708 - fix grammar mistakes

* Add content

* NEXT-37708 - update composition api extension syntax

* NEXT-37708 - Improve docs

* fix: assets

* fix: more assets

---------

Co-authored-by: su <[email protected]>
Co-authored-by: Sebastian Seggewiss <[email protected]>
Co-authored-by: Bojan Rajh <[email protected]>
  • Loading branch information
4 people authored Jan 7, 2025
1 parent 3afea6c commit 21b50c3
Show file tree
Hide file tree
Showing 43 changed files with 959 additions and 84 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea
/dictionary.dic
.DS_Store

# VSCode-Project
/.vscode/
!/.vscode/settings.json
!/.vscode/settings.json
.vscode
8 changes: 8 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ dereferenced
DESC
describeFeatures
destructuring
destructure
Deutsch
dev
devenv
Expand Down Expand Up @@ -694,6 +695,7 @@ herokuapp
hideCookieBar
hmac
HMAC
HMR
Homebrew
hono
Hono
Expand Down Expand Up @@ -1065,6 +1067,7 @@ OTEL
otlp
OTLP
oversales
overrideComponentSetup
paas
Paas
PaaS
Expand Down Expand Up @@ -1129,6 +1132,7 @@ PHPUnit
phpunit's
phpunitx
PII
Pinia
pluginlogger
PluginManager
png
Expand Down Expand Up @@ -1159,6 +1163,7 @@ prem
premapping
Premapping
PreparedPaymentHandlerInterface
prepend
preprocessor
preprocessors
preselect
Expand Down Expand Up @@ -1383,6 +1388,7 @@ setProductFixtureVisibility
setSalesChannelDomain
settingsItem
setToInitialState
SFC
SFTP
sha
SHA
Expand Down Expand Up @@ -1583,6 +1589,7 @@ truthy
tsx
TTL
TwigJS
twigjs
typeAndCheck
typeAndCheckSearchField
TypeError
Expand Down Expand Up @@ -1673,6 +1680,7 @@ viewportHeight
viewports
vimeo
VirtualHosts
Vite
Vitepress
Vitest
VM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The rule assignment configuration is available from Shopware Version 6.4.8.0

You want to create a custom card in the rule assignment, where you can add or delete assignments? This guide gets you covered on this topic. Based on an example of the configuration of the `Dynamic Access` plugin, you will see how to write your configuration.

![Rule config](../../../../assets/add-rule-assignment-configuration-0.png)
![Rule config](../../../../../assets/add-rule-assignment-configuration-0.png)

## Prerequisites

Expand Down
79 changes: 0 additions & 79 deletions guides/plugins/plugins/administration/customizing-components.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TypeScript declarations are available from Shopware Version 6.4.4.0

The Shopware Administration is written in pure JavaScript. To provide you with the benefits of TypeScript and the best possible developer experience while working in JavaScript files we're providing TypeScript declaration files within the Administration. These files are helping you to understand how the Shopware object works and what arguments you have to provide for example when you're creating a new module or registering a new component.

![TypeScript declarations example](../../../../assets/typescript-declaration-shopware-module.gif)
![TypeScript declarations example](../../../../../assets/typescript-declaration-shopware-module.gif)

In the example above you can see how the TypeScript declarations are helping you to register a module. It automatically marks your code and points out what is missing.

Expand Down
Loading

0 comments on commit 21b50c3

Please sign in to comment.