-
Notifications
You must be signed in to change notification settings - Fork 14
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
Go linkbox v2 #2030
Merged
Merged
Go linkbox v2 #2030
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ced19ab
Replace `go_color` color picker with an `options_select` dropdown
kasperbirch1 67b64c9
Add "DPL Linkit with GO Options" Widget with optional `aria-label`
kasperbirch1 f7e1f6a
Refactor `go_linkbox` to Use "DPL Linkit with GO Options"
kasperbirch1 8ba3717
Required "link text" for `go_link`
kasperbirch1 a1d53ad
Replace `go_color` color picker with an `options_select` dropdown in …
kasperbirch1 044ee64
Add `go_link` paragraph due to GraphQL compatibility
kasperbirch1 086b47e
Remove unused "Content Color 5" option from `go_color` fields
kasperbirch1 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 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
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
22 changes: 0 additions & 22 deletions
22
config/sync/field.field.node.go_category.field_category_menu_color.yml
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
config/sync/field.field.node.go_category.field_go_color.yml
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,21 @@ | ||
uuid: ce1a2dde-cd99-42ac-8a67-fd1ce54dbe36 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_go_color | ||
- node.type.go_category | ||
module: | ||
- options | ||
id: node.go_category.field_go_color | ||
field_name: field_go_color | ||
entity_type: node | ||
bundle: go_category | ||
label: 'Category menu color' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: list_string |
20 changes: 0 additions & 20 deletions
20
config/sync/field.storage.node.field_category_menu_color.yml
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
uuid: c8209755-e72b-4ff6-9160-4ee174a2bc66 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
- options | ||
id: node.field_go_color | ||
field_name: field_go_color | ||
entity_type: node | ||
type: list_string | ||
settings: | ||
allowed_values: | ||
- | ||
value: content_color_1 | ||
label: 'Content Color 1' | ||
- | ||
value: content_color_2 | ||
label: 'Content Color 2' | ||
- | ||
value: content_color_3 | ||
label: 'Content Color 3' | ||
- | ||
value: content_color_4 | ||
label: 'Content Color 4' | ||
- | ||
value: content_color_5 | ||
label: 'Content Color 5' | ||
allowed_values_function: '' | ||
module: options | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only think 4 different colours are gonna be used, so we should limit the colours to 4 options.