Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

ISAICP-6765: “Highlighted Solution” will become “Highlighted Content”. #2631

Open
wants to merge 19 commits into
base: ISAICP-6415
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b7bdcb4
ISAICP-6765: “Highlighted Solution” will become “Highlighted Content”.
saidatom Oct 20, 2021
c31c06e
ISAICP-6765: Fix class block_element higlight content.
saidatom Oct 20, 2021
bbe23c6
ISAICP-6765: Fix click More solutions to Related content.
saidatom Oct 20, 2021
ccdb406
Merge remote-tracking branch 'origin/ISAICP-6415' into ISAICP-6765
pfrenssen Oct 21, 2021
dcf530c
ISAICP-6765: Fix highlighted view modes.
saidatom Oct 21, 2021
3fdb29f
ISAICP-6765: Fix moderator permissions.
saidatom Oct 22, 2021
6cc43a9
ISAICP-6765: Move 3 Scenario into 1 Scenario Outline.
saidatom Oct 25, 2021
cc836a5
ISAICP-6765: Ensure all different highlighted node types can be style…
pfrenssen Oct 26, 2021
b737263
ISAICP-6765: Fix typo.
pfrenssen Oct 26, 2021
a2fc0da
Merge remote-tracking branch 'origin/ISAICP-6415' into ISAICP-6765
saidatom Oct 26, 2021
c43474a
ISAICP-6765: Rename image style and fix text style.
saidatom Oct 27, 2021
45ead57
ISAICP-6765: Allow users with permission to access the new 'Highlight…
pfrenssen Oct 28, 2021
ee5ea03
ISAICP-6765: Align tables.
pfrenssen Oct 28, 2021
039962d
ISAICP-6765: Ensure the content of solutions is adequately stripped b…
pfrenssen Oct 28, 2021
54175a3
ISAICP-6765: Maintain alphabetical ordering.
pfrenssen Oct 28, 2021
91af5ba
ISAICP-6765: Move assertion to the right context now that we are chec…
pfrenssen Oct 28, 2021
3305df9
ISAICP-6765: Update documentation.
pfrenssen Oct 28, 2021
10a68c1
ISAICP-6765: Check that highlighted content is community content.
pfrenssen Oct 28, 2021
44183ca
ISAICP-6765: Process the Highlighted Content block in a more concise …
pfrenssen Oct 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 137 additions & 0 deletions config/sync/core.entity_view_display.node.document.highlighted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
uuid: 5fbb7f17-0be8-4c70-8a5c-ceb806015a8f
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.highlighted
- field.field.node.document.body
- field.field.node.document.field_comments
- field.field.node.document.field_document_logo
- field.field.node.document.field_document_publication_date
- field.field.node.document.field_document_spatial_coverage
- field.field.node.document.field_file
- field.field.node.document.field_keywords
- field.field.node.document.field_licence
- field.field.node.document.field_shared_in
- field.field.node.document.field_short_title
- field.field.node.document.field_site_featured
- field.field.node.document.field_state
- field.field.node.document.field_topic
- field.field.node.document.field_type
- field.field.node.document.og_audience
- node.type.document
- responsive_image.styles.highlighted_content
module:
- field_delimiter
- field_formatter_range
- field_group
- joinup_html_stripper
- layout_builder
- responsive_image
- template_suggestion
- user
third_party_settings:
field_group:
group_categorisation:
children:
- field_document_publication_date
- field_licence
- field_short_title
- field_type
parent_name: ''
weight: 5
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: true
label_element: h3
attributes: ''
effect: none
speed: fast
label: Categorisation
region: hidden
group_attachment:
children:
- field_file
parent_name: ''
weight: 7
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
show_label: true
label_element: h3
attributes: ''
effect: none
speed: fast
label: Attachment
region: hidden
layout_builder:
allow_custom: false
enabled: false
_core:
default_config_hash: IBVftmfYLkfapLokxuyLrv1me4toJj5yidZu0ixGxQM
id: node.document.highlighted
targetEntityType: node
bundle: document
mode: highlighted
content:
body:
label: hidden
type: joinup_html_stripper_stripped
weight: 2
settings:
trim_length: 200
third_party_settings:
template_suggestion:
template_suggestion: ''
region: content
field_document_logo:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
responsive_image_style: highlighted_content
image_link: ''
third_party_settings:
template_suggestion:
template_suggestion: ''
field_topic:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: true
third_party_settings:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 2
offset: 0
template_suggestion:
template_suggestion: ''
hidden:
field_comments: true
field_document_publication_date: true
field_document_spatial_coverage: true
field_file: true
field_keywords: true
field_licence: true
field_shared_in: true
field_short_title: true
field_site_featured: true
field_state: true
field_type: true
langcode: true
links: true
og_audience: true
published_at: true
read_more: true
report: true
share_link: true
48 changes: 36 additions & 12 deletions config/sync/core.entity_view_display.node.event.highlighted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ dependencies:
- field.field.node.event.field_topic
- field.field.node.event.og_audience
- node.type.event
- responsive_image.styles.highlighted_content
module:
- joinup_core
- field_delimiter
- field_formatter_range
- joinup_html_stripper
- layout_builder
- responsive_image
- template_suggestion
- user
third_party_settings:
Expand All @@ -41,29 +45,50 @@ targetEntityType: node
bundle: event
mode: highlighted
content:
field_event_date:
body:
type: joinup_html_stripper_stripped
weight: 2
region: content
label: hidden
settings:
trim_length: 200
third_party_settings:
template_suggestion:
template_suggestion: ''
field_event_logo:
type: responsive_image
weight: 0
region: content
label: hidden
settings:
timezone_override: ''
separator: to
default_format: d/m/Y
day_diff_format: d
month_diff_format: d/m
year_diff_format: d/m/Y
responsive_image_style: highlighted_content
image_link: ''
third_party_settings:
template_suggestion:
template_suggestion: ''
type: daterange_condensed
field_topic:
type: entity_reference_label
weight: 1
region: content
label: hidden
settings:
link: true
third_party_settings:
field_delimiter:
delimiter: ''
field_formatter_range:
order: 0
limit: 2
offset: 0
template_suggestion:
template_suggestion: ''
hidden:
body: true
field_attachment: true
field_comments: true
field_event_agenda: true
field_event_contact_email: true
field_event_coordinates: true
field_event_logo: true
field_event_date: true
field_event_online_location: true
field_event_spatial_coverage: true
field_event_web_url: true
Expand All @@ -76,7 +101,6 @@ hidden:
field_short_title: true
field_site_featured: true
field_state: true
field_topic: true
langcode: true
links: true
og_audience: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
uuid: c8a8b7b3-2996-4276-81e9-f8ca6a274733
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.highlighted_event
- field.field.node.event.body
- field.field.node.event.field_attachment
- field.field.node.event.field_comments
- field.field.node.event.field_event_agenda
- field.field.node.event.field_event_contact_email
- field.field.node.event.field_event_coordinates
- field.field.node.event.field_event_date
- field.field.node.event.field_event_logo
- field.field.node.event.field_event_online_location
- field.field.node.event.field_event_spatial_coverage
- field.field.node.event.field_event_web_url
- field.field.node.event.field_keywords
- field.field.node.event.field_location
- field.field.node.event.field_organisation
- field.field.node.event.field_organisation_type
- field.field.node.event.field_scope
- field.field.node.event.field_shared_in
- field.field.node.event.field_short_title
- field.field.node.event.field_site_featured
- field.field.node.event.field_state
- field.field.node.event.field_topic
- field.field.node.event.og_audience
- node.type.event
module:
- joinup_core
- layout_builder
- template_suggestion
- user
third_party_settings:
layout_builder:
allow_custom: false
enabled: false
id: node.event.highlighted_event
targetEntityType: node
bundle: event
mode: highlighted_event
content:
field_event_date:
weight: 0
label: hidden
settings:
timezone_override: ''
separator: to
default_format: d/m/Y
day_diff_format: d
month_diff_format: d/m
year_diff_format: d/m/Y
third_party_settings:
template_suggestion:
template_suggestion: ''
type: daterange_condensed
region: content
hidden:
body: true
field_attachment: true
field_comments: true
field_event_agenda: true
field_event_contact_email: true
field_event_coordinates: true
field_event_logo: true
field_event_online_location: true
field_event_spatial_coverage: true
field_event_web_url: true
field_keywords: true
field_location: true
field_organisation: true
field_organisation_type: true
field_scope: true
field_shared_in: true
field_short_title: true
field_site_featured: true
field_state: true
field_topic: true
langcode: true
links: true
og_audience: true
published_at: true
read_more: true
report: true
share_link: true
Loading