-
Notifications
You must be signed in to change notification settings - Fork 5
fix(editor): added option for consuming application to add samples in… #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
akaash2512
merged 11 commits into
swisscom:main
from
akaash2512:Feature/29-add-external-path-for-sample-scripts
May 22, 2025
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
07a13b1
fix(editor): added option for consuming application to add sample in …
akaash2512 f06f9d5
fix(editor): added documentation
akaash2512 86af0b1
fix(editor): fixed issues in formatting and test
akaash2512 58ce8d6
fix(editor): changed logic for samples and moved it to backend
akaash2512 13b91a0
Merge branch 'main' into Feature/29-add-external-path-for-sample-scripts
akaash2512 b26ad4f
fix(editor): removed screenshot test and fixed review comments
akaash2512 4940e4a
fix(editor): fixed review comments
akaash2512 a61d6f2
fix(editor): resolved merge conflicts
akaash2512 a4ba8e0
fix(editor): rebase with main branch
akaash2512 3f77a7a
fix(editor): fixed issues with rebase code override
akaash2512 50261eb
fix(editor): updated Readme based on review comments
akaash2512 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <workspaceFilter version="1.0"> | ||
| <filter root="/apps/cq/core/content/nav/tools/jcr-hopper" /> | ||
| <filter root="/apps/jcr-hopper" /> | ||
| <filter root="/apps/jcr-hopper"> | ||
| <exclude pattern="/apps/jcr-hopper/script-builder/scripts(/.*)?" /> | ||
| <include pattern="/apps/jcr-hopper/script-builder/scripts/samples" /> | ||
| </filter> | ||
| <filter root="/etc/jcr-hopper" /> | ||
| </workspaceFilter> |
This file contains hidden or 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
81 changes: 81 additions & 0 deletions
81
src/main/content/jcr_root/apps/jcr-hopper/script-builder/scripts/.content.xml
sabberworm marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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,81 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <jcr:root | ||
| xmlns:sling="http://sling.apache.org/jcr/sling/1.0" | ||
| xmlns:granite="http://www.adobe.com/jcr/granite/1.0" | ||
| xmlns:cq="http://www.day.com/jcr/cq/1.0" | ||
| xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
| xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | ||
| jcr:mixinTypes="granite:PublicArea" | ||
| jcr:primaryType="nt:folder" | ||
| > | ||
| <samples jcr:primaryType="nt:folder"> | ||
| <add-node.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Add Node" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </add-node.json> | ||
| <add-or-replace-property.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Add or replace property" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </add-or-replace-property.json> | ||
| <batch-search-and-replace.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Batch search and replace" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </batch-search-and-replace.json> | ||
| <check-hardcoded-urls.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Check hardcoded URLs" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </check-hardcoded-urls.json> | ||
| <create-missing-jcr-content-nodes.json | ||
| jcr:mixinTypes="[mix:title]" | ||
| jcr:title="Sample: Create missing jcr:content nodes for pages" | ||
| jcr:primaryType="nt:file" | ||
| > | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </create-missing-jcr-content-nodes.json> | ||
| <delete-nodes.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Delete nodes" jcr:primaryType="nt:file"> | ||
akaash2512 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </delete-nodes.json> | ||
| <find-component-and-page.json | ||
| jcr:mixinTypes="[mix:title]" | ||
| jcr:title="Sample: Find component and page using JOIN" | ||
| jcr:primaryType="nt:file" | ||
| > | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </find-component-and-page.json> | ||
| <migrate-page-template.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Migrate page template" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </migrate-page-template.json> | ||
| <migrate-resource-type.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Migrate resource type" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </migrate-resource-type.json> | ||
| <remove-deprecated-legacy-urls.json | ||
| jcr:mixinTypes="[mix:title]" | ||
| jcr:title="Sample: Remove deprecated legacy URLs" | ||
| jcr:primaryType="nt:file" | ||
| > | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </remove-deprecated-legacy-urls.json> | ||
| <remove-gulp-packages.json | ||
| jcr:mixinTypes="[mix:title]" | ||
| jcr:title="Sample: Remove temporary packages created by gulp" | ||
| jcr:primaryType="nt:file" | ||
| > | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </remove-gulp-packages.json> | ||
| <remove-min-js.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Remove all minified JavaScript files" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </remove-min-js.json> | ||
| <rename-node.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Rename node" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </rename-node.json> | ||
| <rename-property.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Rename property" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </rename-property.json> | ||
| <replace-h1-with-h2.json | ||
| jcr:mixinTypes="[mix:title]" | ||
| jcr:title="Sample: Replace H1 with H2 in text components" | ||
| jcr:primaryType="nt:file" | ||
| > | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </replace-h1-with-h2.json> | ||
| <update-build-timestamp.json jcr:mixinTypes="[mix:title]" jcr:title="Sample: Update build timestamp" jcr:primaryType="nt:file"> | ||
| <jcr:content jcr:primaryType="nt:resource" /> | ||
| </update-build-timestamp.json> | ||
| </samples> | ||
| </jcr:root> | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.