Skip to content

Commit

Permalink
Merge branch 'develop', SG-1378 (data story), SG-1425, SG-1422, SG-1409
Browse files Browse the repository at this point in the history
…, SG-1413, SG-1406, formio-sfds 8.1.0
  • Loading branch information
aekong committed Jun 8, 2021
2 parents 43d37b8 + ce027e3 commit 2f4236e
Show file tree
Hide file tree
Showing 80 changed files with 3,131 additions and 55 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,4 @@ lando drush cr
```

_* I'm not 100% sure, but I don't think global composer is necessary. One can use `lando composer install` instead. -ZK_

1 change: 1 addition & 0 deletions config/block.block.sfgovpl_page_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ visibility:
about: about
article: article
campaign: campaign
data_story: data_story
department: department
department_table: department_table
event: event
Expand Down
22 changes: 22 additions & 0 deletions config/core.base_field_override.node.data_story.promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 73e4e29d-7f95-4526-9bda-e624fdae9697
langcode: en
status: true
dependencies:
config:
- node.type.data_story
id: node.data_story.promote
field_name: promote
entity_type: node
bundle: data_story
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
11 changes: 5 additions & 6 deletions config/core.entity_form_display.node.campaign.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,23 +150,22 @@ content:
region: content
field_social_media_embed:
type: paragraphs
weight: 8
weight: 9
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: _none
default_paragraph_type: ''
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
region: content
field_spotlight:
weight: 7
settings:
Expand Down Expand Up @@ -260,7 +259,7 @@ content:
maxlength_js: 65
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
translation:
weight: 9
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand Down
151 changes: 151 additions & 0 deletions config/core.entity_form_display.node.data_story.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
uuid: ac8b46da-635c-443f-8e1d-215cd0d90221
langcode: en
status: true
dependencies:
config:
- field.field.node.data_story.field_content
- field.field.node.data_story.field_description
- node.type.data_story
module:
- allowed_formats
- content_moderation
- maxlength
- path
- scheduler
- scheduler_content_moderation_integration
- sfgov_admin
- text
id: node.data_story.default
targetEntityType: node
bundle: data_story
mode: default
content:
created:
type: datetime_timestamp
weight: 6
region: content
settings: { }
third_party_settings: { }
field_content:
weight: 3
settings:
title: Content
title_plural: Content
edit_mode: closed
closed_mode: summary
autocollapse: all
closed_mode_threshold: '0'
add_mode: dropdown
form_display_mode: default
default_paragraph_type: data_story_section
features:
duplicate: duplicate
collapse_edit_all: collapse_edit_all
add_above: 0
third_party_settings: { }
type: sfgov_paragraphs
region: content
field_description:
weight: 1
settings:
rows: 3
placeholder: ''
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: 110
maxlength_js_label: '<strong>@remaining</strong>/@limit'
maxlength_js_enforce: false
maxlength_js_truncate_html: false
type: text_textarea
region: content
langcode:
type: language_select
weight: 4
region: content
settings:
include_locked: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 13
settings: { }
region: content
third_party_settings: { }
path:
type: path
weight: 7
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 15
region: content
third_party_settings: { }
publish_on:
type: datetime_timestamp_no_default
weight: 8
region: content
settings: { }
third_party_settings: { }
publish_state:
type: scheduler_moderation
weight: 10
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 14
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 16
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 9
region: content
settings: { }
third_party_settings: { }
unpublish_state:
type: scheduler_moderation
weight: 11
region: content
settings: { }
third_party_settings: { }
url_redirects:
weight: 12
region: content
settings: { }
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ mode: default
content:
created:
type: datetime_timestamp
weight: 5
weight: 4
region: content
settings: { }
third_party_settings: { }
field_content:
weight: 11
weight: 10
settings:
title: Paragraph
title_plural: Paragraphs
Expand Down Expand Up @@ -73,7 +73,7 @@ content:
type: sfgov_customizable_paragraphs
region: content
field_content_bottom:
weight: 12
weight: 11
settings:
title: Paragraph
title_plural: Paragraphs
Expand Down Expand Up @@ -118,20 +118,8 @@ content:
duplicate: duplicate
third_party_settings: { }
region: content
field_sidebar:
weight: 13
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_topics:
weight: 14
weight: 12
settings:
match_operator: CONTAINS
size: 60
Expand All @@ -140,42 +128,35 @@ content:
third_party_settings: { }
type: entity_reference_autocomplete
region: content
langcode:
type: language_select
weight: 3
region: content
settings:
include_locked: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 9
weight: 8
settings: { }
region: content
third_party_settings: { }
path:
type: path
weight: 7
weight: 6
region: content
settings: { }
third_party_settings: { }
publish_on:
type: datetime_timestamp_no_default
weight: 15
weight: 13
region: content
settings: { }
third_party_settings: { }
publish_state:
type: scheduler_moderation
weight: 16
weight: 14
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 10
weight: 9
region: content
third_party_settings: { }
title:
Expand All @@ -187,13 +168,13 @@ content:
placeholder: ''
third_party_settings: { }
translation:
weight: 6
weight: 5
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 4
weight: 3
settings:
match_operator: CONTAINS
size: 60
Expand All @@ -203,21 +184,23 @@ content:
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 18
weight: 16
region: content
settings: { }
third_party_settings: { }
unpublish_state:
type: scheduler_moderation
weight: 17
weight: 15
region: content
settings: { }
third_party_settings: { }
url_redirects:
weight: 8
weight: 7
region: content
settings: { }
third_party_settings: { }
hidden:
field_sidebar: true
langcode: true
promote: true
sticky: true
Loading

1 comment on commit 2f4236e

@josh-chou
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visit Site

Created multidev environment ci-9997 for sfgov.

Please sign in to comment.