-
Notifications
You must be signed in to change notification settings - Fork 59
VariantContext #848
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
nielslyngsoe
merged 81 commits into
main
from
feature/variant-context-as-workspace-context
Sep 7, 2023
Merged
VariantContext #848
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
184bfe5
ability to set discriminator method
nielslyngsoe dac1b04
test context discriminator
nielslyngsoe a9b3034
clean up
nielslyngsoe 1743448
Merge remote-tracking branch 'origin/main' into feature/context-api-d…
nielslyngsoe d9361f3
Embed the discriminator method in ContextToken
nielslyngsoe f1df5de
main type dance, still 6 minor things to correct.
nielslyngsoe 5e682ed
temp commit, before test removing DicriminatorType
nielslyngsoe 7c568cd
one less generic type to parse around
nielslyngsoe 0566c08
implement UMB_DATA_TYPE_WORKSPACE_CONTEXT
nielslyngsoe 2b1f130
user workspace context token
nielslyngsoe be80bca
stylesheet
nielslyngsoe ce64884
media
nielslyngsoe b8770e4
member
nielslyngsoe 8882d97
document
nielslyngsoe 4ff3ddd
language
nielslyngsoe 19b6e24
template
nielslyngsoe 03b5f89
media-type
nielslyngsoe 2995880
user group
nielslyngsoe 0673f08
dictionary
nielslyngsoe f377531
member type
nielslyngsoe e1816f6
member group
nielslyngsoe b71b8ab
correct member group token
nielslyngsoe 363eea6
relation type
nielslyngsoe ef136ac
partial views
nielslyngsoe 95789d4
document-type
nielslyngsoe cae029b
remove unused prop
nielslyngsoe 8d51012
remove console.log
nielslyngsoe 49c2f89
docs
nielslyngsoe 7f1bbc7
import order
nielslyngsoe 9bfbf98
variable name update
nielslyngsoe 339b970
correct text
nielslyngsoe a3b5e1f
added implementation example
nielslyngsoe 1e791b9
minor correction
nielslyngsoe 37ce69d
Mega refactor v.1
nielslyngsoe df5b10d
fix broken story
nielslyngsoe 0a8113f
variant dataset for documents
nielslyngsoe b39f395
split-view folder name
nielslyngsoe a89e9d8
UMB_VARIANT_WORKSPACE_CONTEXT_TOKEN
nielslyngsoe 20078ea
data-type workspace using dataset
nielslyngsoe 9e73c90
datatype editor reactive corrections
nielslyngsoe 4fb3c22
restructure
nielslyngsoe abd8ff9
invariant dataset
nielslyngsoe b076104
controller aliases
nielslyngsoe 88d646a
expose registry on backoffice element
nielslyngsoe 4933306
JSDocs
nielslyngsoe 716ba3e
UmbServerExtensionRegistrator
nielslyngsoe f6e7ae0
notes
nielslyngsoe 2659e6a
clean up
nielslyngsoe e012db3
fixing todos
nielslyngsoe a4ea14c
more notes
nielslyngsoe fa00a12
Header app manifest correction
nielslyngsoe a229cab
remove custom element from ist of extensions
nielslyngsoe 6aa3524
custom bundle package
nielslyngsoe eb489c5
fix tabs bar displaying
nielslyngsoe a944bee
correction bundle section
nielslyngsoe 938380a
entry point as a controller
nielslyngsoe 2650790
correct entry point to use onInit method
nielslyngsoe 0b0f719
remove comma
nielslyngsoe 9800143
adding a line break
nielslyngsoe 8ea40ca
remove test code
nielslyngsoe 5380fa3
a bit of documentation
nielslyngsoe 52fe1e9
more docs notes
nielslyngsoe d6f394b
fix type issue
nielslyngsoe e4ca30c
remove unused file
nielslyngsoe 4279c50
improve variantID
nielslyngsoe 895c67b
rename to createVariantDatasetContext
nielslyngsoe d8d8732
rename to variant context
nielslyngsoe a208b92
Merge branch 'main' into feature/variant-context-as-workspace-context
nielslyngsoe e17f102
Merge remote-tracking branch 'origin/feature/variant-context-as-datas…
nielslyngsoe 78f56bf
rename to extensionRegistry
nielslyngsoe 2b02f43
Merge remote-tracking branch 'origin/main' into feature/variant-conte…
nielslyngsoe 6430842
rename dataset to variant
nielslyngsoe 3c0918a
Update src/apps/backoffice/backoffice.element.ts
nielslyngsoe 419070e
rename create methods
nielslyngsoe 1ee3895
Merge branch 'feature/variant-context-as-workspace-context' of https:…
nielslyngsoe 317202d
createVariantContext
nielslyngsoe 5d07dd7
isDataTypeVariantContext
nielslyngsoe b55ea27
clean up
nielslyngsoe 3bb77d3
more corrections
nielslyngsoe 2697b8a
comment for future refactor
nielslyngsoe 697a4b4
Merge remote-tracking branch 'origin/main' into feature/variant-conte…
nielslyngsoe 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const manifests = [ | ||
{ | ||
type: 'section', | ||
alias: 'MyBundle.Section.Custom', | ||
name: 'Custom Section', | ||
js: '/App_Plugins/section.js', | ||
weight: 1, | ||
meta: { | ||
label: 'My Bundle Section', | ||
pathname: 'my-custom-bundle', | ||
}, | ||
} | ||
]; |
12 changes: 12 additions & 0 deletions
12
public-assets/App_Plugins/custom-bundle-package/package-manifest.json
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,12 @@ | ||
{ | ||
"name": "My Package Name", | ||
"version": "1.0.0", | ||
"extensions": [ | ||
{ | ||
"type": "bundle", | ||
"alias": "My.Package.Bundle", | ||
"name": "My Package Bundle", | ||
"js": "/App_Plugins/custom-bundle-package/index.js" | ||
} | ||
] | ||
} |
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,4 +1,4 @@ | ||
console.log('Hello from the custom entrypoint file!'); | ||
export default function () { | ||
console.log('Hello from the custom entrypoint inside the default function!'); | ||
export function onInit() { | ||
console.log('Hello from the custom entrypoint inside the onInit function!'); | ||
} |
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
30 changes: 4 additions & 26 deletions
30
...ffice/extension-initializer.controller.ts → ...erver-extension-registrator.controller.ts
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
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.
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.