Skip to content

Commit c33c803

Browse files
authored
Merge pull request #558 from itk-dev/feature/accordion-paragraph
Feature/accordion paragraph
2 parents 784a194 + 700e05a commit c33c803

40 files changed

Lines changed: 5296 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
* [PR-557](https://github.com/itk-dev/deltag.aarhus.dk/pull/557)
10+
* Change dialogue proposal backend
11+
* Add seperate view for dialogue proposal comments
12+
* Deny access for admin comments tab in general
13+
* Update user permissions
14+
* Add access restrictions on unpublished comments
15+
916
* [PR-555](https://github.com/itk-dev/deltag.aarhus.dk/pull/555)
1017
* Add underline to active navigation.
1118
* Adjust header witdt
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
uuid: 221573ae-885d-4830-a4ab-a4aea8d830e4
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.accordion.field_accordion_items
7+
- paragraphs.paragraphs_type.accordion
8+
module:
9+
- paragraphs
10+
id: paragraph.accordion.default
11+
targetEntityType: paragraph
12+
bundle: accordion
13+
mode: default
14+
content:
15+
field_accordion_items:
16+
type: paragraphs
17+
weight: 0
18+
region: content
19+
settings:
20+
title: Paragraph
21+
title_plural: Paragraphs
22+
edit_mode: open
23+
closed_mode: summary
24+
autocollapse: none
25+
closed_mode_threshold: 0
26+
add_mode: dropdown
27+
form_display_mode: default
28+
default_paragraph_type: ''
29+
features:
30+
collapse_edit_all: collapse_edit_all
31+
duplicate: duplicate
32+
third_party_settings: { }
33+
hidden:
34+
created: true
35+
status: true
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
uuid: 439cd0ad-44d2-49a6-a77e-a54dd7d90030
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.accordion_item.field_accordion_content
7+
- field.field.paragraph.accordion_item.field_accordion_item_header
8+
- paragraphs.paragraphs_type.accordion_item
9+
module:
10+
- text
11+
id: paragraph.accordion_item.default
12+
targetEntityType: paragraph
13+
bundle: accordion_item
14+
mode: default
15+
content:
16+
field_accordion_content:
17+
type: text_textarea
18+
weight: 1
19+
region: content
20+
settings:
21+
rows: 5
22+
placeholder: ''
23+
third_party_settings: { }
24+
field_accordion_item_header:
25+
type: string_textfield
26+
weight: 0
27+
region: content
28+
settings:
29+
size: 60
30+
placeholder: ''
31+
third_party_settings: { }
32+
hidden:
33+
created: true
34+
status: true
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
uuid: 6f7878fd-ddd5-4af9-8b85-1833361524b1
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.accordion.field_accordion_items
7+
- paragraphs.paragraphs_type.accordion
8+
module:
9+
- entity_reference_revisions
10+
id: paragraph.accordion.default
11+
targetEntityType: paragraph
12+
bundle: accordion
13+
mode: default
14+
content:
15+
field_accordion_items:
16+
type: entity_reference_revisions_entity_view
17+
label: hidden
18+
settings:
19+
view_mode: default
20+
link: ''
21+
third_party_settings: { }
22+
weight: 0
23+
region: content
24+
hidden:
25+
search_api_excerpt: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
uuid: b3276a51-82c4-428e-8ae2-c38f78e0393c
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- field.field.paragraph.accordion_item.field_accordion_content
7+
- field.field.paragraph.accordion_item.field_accordion_item_header
8+
- paragraphs.paragraphs_type.accordion_item
9+
module:
10+
- text
11+
id: paragraph.accordion_item.default
12+
targetEntityType: paragraph
13+
bundle: accordion_item
14+
mode: default
15+
content:
16+
field_accordion_content:
17+
type: text_default
18+
label: hidden
19+
settings: { }
20+
third_party_settings: { }
21+
weight: 1
22+
region: content
23+
field_accordion_item_header:
24+
type: string
25+
label: hidden
26+
settings:
27+
link_to_entity: false
28+
third_party_settings: { }
29+
weight: 0
30+
region: content
31+
hidden:
32+
search_api_excerpt: true

config/sync/field.field.node.dialogue.field_content_sections.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
config:
66
- field.storage.node.field_content_sections
77
- node.type.dialogue
8+
- paragraphs.paragraphs_type.accordion
89
- paragraphs.paragraphs_type.content_block
910
- paragraphs.paragraphs_type.files
1011
- paragraphs.paragraphs_type.image
@@ -38,9 +39,13 @@ settings:
3839
introduction: introduction
3940
teaser_row: teaser_row
4041
files: files
42+
accordion: accordion
4143
video: video
4244
negate: 0
4345
target_bundles_drag_drop:
46+
accordion:
47+
weight: 18
48+
enabled: true
4449
content_block:
4550
weight: -21
4651
enabled: true

config/sync/field.field.node.landing_page.field_section.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
config:
66
- field.storage.node.field_section
77
- node.type.landing_page
8+
- paragraphs.paragraphs_type.accordion
89
- paragraphs.paragraphs_type.content_block
910
- paragraphs.paragraphs_type.content_list
1011
- paragraphs.paragraphs_type.content_promotion
@@ -32,9 +33,13 @@ settings:
3233
content_list: content_list
3334
teaser_row: teaser_row
3435
content_promotion: content_promotion
36+
accordion: accordion
3537
links_on_a_background_image: links_on_a_background_image
3638
negate: 0
3739
target_bundles_drag_drop:
40+
accordion:
41+
weight: 18
42+
enabled: true
3843
content_block:
3944
weight: 5
4045
enabled: true
@@ -80,4 +85,7 @@ settings:
8085
timeline_period:
8186
weight: 26
8287
enabled: false
88+
video:
89+
weight: 34
90+
enabled: false
8391
field_type: entity_reference_revisions

config/sync/field.field.node.project_page.field_content_sections.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
config:
66
- field.storage.node.field_content_sections
77
- node.type.project_page
8+
- paragraphs.paragraphs_type.accordion
89
- paragraphs.paragraphs_type.content_block
910
- paragraphs.paragraphs_type.files
1011
- paragraphs.paragraphs_type.image
@@ -36,15 +37,22 @@ settings:
3637
introduction: introduction
3738
teaser_row: teaser_row
3839
files: files
40+
accordion: accordion
3941
text_aside_blocks_2_column: text_aside_blocks_2_column
4042
negate: 0
4143
target_bundles_drag_drop:
44+
accordion:
45+
weight: 18
46+
enabled: true
4247
content_block:
4348
weight: -19
4449
enabled: true
4550
content_list:
4651
weight: -18
4752
enabled: false
53+
content_promotion:
54+
weight: 21
55+
enabled: false
4856
files:
4957
weight: 13
5058
enabled: true
@@ -57,6 +65,12 @@ settings:
5765
introduction:
5866
weight: -16
5967
enabled: true
68+
link:
69+
weight: 26
70+
enabled: false
71+
links_on_a_background_image:
72+
weight: 27
73+
enabled: false
6074
projekt_billede_galleri:
6175
weight: -15
6276
enabled: false
@@ -75,4 +89,7 @@ settings:
7589
timeline_period:
7690
weight: -12
7791
enabled: false
92+
video:
93+
weight: 34
94+
enabled: false
7895
field_type: entity_reference_revisions

config/sync/field.field.node.public_meeting.field_section.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
config:
66
- field.storage.node.field_section
77
- node.type.public_meeting
8+
- paragraphs.paragraphs_type.accordion
89
- paragraphs.paragraphs_type.content_block
910
- paragraphs.paragraphs_type.info_box
1011
module:
@@ -25,14 +26,24 @@ settings:
2526
target_bundles:
2627
content_block: content_block
2728
info_box: info_box
29+
accordion: accordion
2830
negate: 0
2931
target_bundles_drag_drop:
32+
accordion:
33+
weight: 18
34+
enabled: true
3035
content_block:
3136
weight: 9
3237
enabled: true
3338
content_list:
3439
weight: 10
3540
enabled: false
41+
content_promotion:
42+
weight: 21
43+
enabled: false
44+
files:
45+
weight: 22
46+
enabled: false
3647
image:
3748
weight: 11
3849
enabled: false
@@ -42,6 +53,12 @@ settings:
4253
introduction:
4354
weight: 12
4455
enabled: false
56+
link:
57+
weight: 26
58+
enabled: false
59+
links_on_a_background_image:
60+
weight: 27
61+
enabled: false
4562
projekt_billede_galleri:
4663
weight: 13
4764
enabled: false
@@ -51,7 +68,16 @@ settings:
5168
text:
5269
weight: 15
5370
enabled: false
71+
text_aside_blocks_2_column:
72+
weight: 31
73+
enabled: false
5474
timeline_items:
5575
weight: 16
5676
enabled: false
77+
timeline_period:
78+
weight: 33
79+
enabled: false
80+
video:
81+
weight: 34
82+
enabled: false
5783
field_type: entity_reference_revisions

config/sync/field.field.node.static_page.field_section.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
config:
66
- field.storage.node.field_section
77
- node.type.static_page
8+
- paragraphs.paragraphs_type.accordion
89
- paragraphs.paragraphs_type.image
910
- paragraphs.paragraphs_type.introduction
1011
- paragraphs.paragraphs_type.text
@@ -27,24 +28,58 @@ settings:
2728
image: image
2829
introduction: introduction
2930
text: text
31+
accordion: accordion
3032
negate: 0
3133
target_bundles_drag_drop:
34+
accordion:
35+
weight: 18
36+
enabled: true
3237
content_block:
3338
weight: 8
3439
enabled: false
3540
content_list:
3641
weight: 9
3742
enabled: false
43+
content_promotion:
44+
weight: 21
45+
enabled: false
46+
files:
47+
weight: 22
48+
enabled: false
3849
image:
3950
weight: 7
4051
enabled: true
52+
info_box:
53+
weight: 24
54+
enabled: false
4155
introduction:
4256
weight: 10
4357
enabled: true
58+
link:
59+
weight: 26
60+
enabled: false
61+
links_on_a_background_image:
62+
weight: 27
63+
enabled: false
64+
projekt_billede_galleri:
65+
weight: 28
66+
enabled: false
4467
teaser_row:
4568
weight: 11
4669
enabled: false
4770
text:
4871
weight: 12
4972
enabled: true
73+
text_aside_blocks_2_column:
74+
weight: 31
75+
enabled: false
76+
timeline_items:
77+
weight: 32
78+
enabled: false
79+
timeline_period:
80+
weight: 33
81+
enabled: false
82+
video:
83+
weight: 34
84+
enabled: false
5085
field_type: entity_reference_revisions

0 commit comments

Comments
 (0)