Skip to content
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

Closes #3590: Change News preview layouts #3610

Merged
merged 20 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8401f6f
Change image layouts to left side
danahertzberg Aug 6, 2024
d475e3d
Add new content display and view display
danahertzberg Aug 7, 2024
4d6d530
Update modules/custom/az_news/config/install/views.view.az_news.yml
danahertzberg Aug 14, 2024
86e8578
Update modules/custom/az_news/config/install/core.entity_view_display…
danahertzberg Aug 14, 2024
24bfae5
Update modules/custom/az_news/config/install/core.entity_view_display…
danahertzberg Aug 14, 2024
325ec4b
Merge branch 'main' into issue/3590
danahertzberg Aug 14, 2024
7090d6b
Update thumbnail style and remaining content type display
danahertzberg Aug 14, 2024
5e56741
Revert "Update thumbnail style and remaining content type display"
danahertzberg Aug 14, 2024
bfe0bb7
Make thumbnail changes that actually work
danahertzberg Aug 14, 2024
e20bdfe
Update webp conversion
danahertzberg Aug 14, 2024
16cc785
Update to use thumbnail image style
danahertzberg Aug 20, 2024
0a52423
Update modules/custom/az_media/config/install/field.field.media.az_im…
danahertzberg Aug 23, 2024
87ec106
Update modules/custom/az_news/config/install/core.entity_view_display…
danahertzberg Sep 20, 2024
e76efc3
Update core.entity_view_display.media.az_image.az_thumbnail.yml
danahertzberg Sep 20, 2024
5a028bb
Update modules/custom/az_news/config/install/core.entity_view_display…
danahertzberg Sep 25, 2024
de1cc3a
Update modules/custom/az_news/config/install/core.entity_view_display…
danahertzberg Sep 25, 2024
6885355
Merge branch 'main' into issue/3590
danahertzberg Sep 25, 2024
67409a6
Remove duplicate image
danahertzberg Sep 30, 2024
0d078fe
Remove arizona.edu-specific changes
danahertzberg Sep 30, 2024
661bec9
Update modules/custom/az_finder/config/quickstart/views.view.az_news.yml
danahertzberg Oct 9, 2024
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
20 changes: 20 additions & 0 deletions config/install/image.style.thumbnail.yml
danahertzberg marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies: { }
name: thumbnail
label: 'Thumbnail (100×100)'
effects:
c4eb9942-2c9e-4a81-949f-6161a44b6559:
uuid: c4eb9942-2c9e-4a81-949f-6161a44b6559
id: image_convert
weight: -8
data:
extension: webp
0f988084-9063-4459-b19c-94adef900802:
uuid: 0f988084-9063-4459-b19c-94adef900802
id: image_scale_and_crop
weight: -9
data:
width: 100
height: 100
anchor: center-center
172 changes: 165 additions & 7 deletions modules/custom/az_finder/config/quickstart/views.view.az_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- core.entity_view_mode.node.az_media_list
- core.entity_view_mode.node.az_medium_media_list
- core.entity_view_mode.node.az_minimal_media_list
- core.entity_view_mode.node.az_small_row
- node.type.az_news
- taxonomy.vocabulary.az_enterprise_attributes
- taxonomy.vocabulary.az_news_tags
Expand Down Expand Up @@ -86,6 +87,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
Expand Down Expand Up @@ -328,7 +330,7 @@ display:
id: az_grid
display_title: 'Grid View'
display_plugin: block
position: 3
position: 4
display_options:
pager:
type: some
Expand Down Expand Up @@ -640,12 +642,13 @@ display:
id: az_grid_filter
display_title: 'Grid View with Filter'
display_plugin: block
position: 3
position: 5
display_options:
pager:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 9
total_pages: null
id: 0
Expand Down Expand Up @@ -1126,9 +1129,9 @@ display:
tags: { }
az_sidebar:
id: az_sidebar
display_title: 'Small Row View'
display_title: 'Sidebar Row View'
display_plugin: block
position: 4
position: 9
display_options:
title: News
pager:
Expand Down Expand Up @@ -1278,16 +1281,171 @@ display:
- 'user.node_grants:view'
- user.permissions
tags: { }
az_small_row:
id: az_small_row
display_title: 'Small Row View'
display_plugin: block
position: 3
display_options:
title: News
pager:
type: some
options:
offset: 0
items_per_page: 3
arguments:
term_node_tid_depth:
id: term_node_tid_depth
table: node_field_data
field: term_node_tid_depth
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: taxonomy_index_tid_depth
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:taxonomy_term'
fail: ignore
validate_options:
bundles: { }
access: false
operation: view
multiple: 1
break_phrase: true
depth: 1
use_taxonomy_term_path: false
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:node'
fail: 'not found'
validate_options:
bundles:
az_news: az_news
access: false
operation: view
multiple: 0
break_phrase: false
not: true
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
az_news: az_news
expose:
operator_limit_selection: false
operator_list: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: default
options:
row_class: media-list-row
default_row_class: false
uses_fields: false
row:
type: 'entity:node'
options:
relationship: none
view_mode: az_small_row
defaults:
title: false
pager: false
style: false
row: false
arguments: false
filters: false
filter_groups: false
display_description: ''
display_extenders: { }
block_description: 'Sidebar News Block'
danahertzberg marked this conversation as resolved.
Show resolved Hide resolved
danahertzberg marked this conversation as resolved.
Show resolved Hide resolved
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
az_teaser_grid:
id: az_teaser_grid
display_title: 'Teaser Grid Page'
display_plugin: page
position: 5
position: 6
display_options:
pager:
type: full
options:
offset: 4
pagination_heading_level: h4
items_per_page: 12
total_pages: null
id: 0
Expand Down Expand Up @@ -1346,7 +1504,7 @@ display:
id: marquee
display_title: 'Recent News Marquee'
display_plugin: block
position: 6
position: 7
display_options:
title: ''
pager:
Expand Down Expand Up @@ -1394,7 +1552,7 @@ display:
id: row_attachment
display_title: 'Row Attachment'
display_plugin: attachment
position: 7
position: 8
display_options:
title: ''
pager:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ third_party_settings:
speed: fast
group_row:
children:
- group_text_column
- group_photo_column
- group_text_column
label: Row
parent_name: group_link
region: content
Expand Down Expand Up @@ -105,10 +105,10 @@ third_party_settings:
label: 'Text column'
parent_name: group_row
region: content
weight: 5
weight: 8
format_type: html_element
format_settings:
classes: 'col order-2 order-md-1'
classes: col
show_empty_fields: false
id: ''
element: div
Expand Down Expand Up @@ -184,7 +184,7 @@ third_party_settings:
weight: 7
format_type: html_element
format_settings:
classes: 'col-12 col-md-6 col-lg-7 order-1 order-md-2'
classes: 'col-12 col-md-6 col-lg-7'
show_empty_fields: false
id: ''
element: div
Expand Down Expand Up @@ -213,6 +213,8 @@ third_party_settings:
attributes: ''
effect: none
speed: fast
_core:
default_config_hash: MEwXfSHkf_eMP78jYRqO_WGve2x7PBKfwbWJ8r5HPpQ
bberndt-uaz marked this conversation as resolved.
Show resolved Hide resolved
danahertzberg marked this conversation as resolved.
Show resolved Hide resolved
id: node.az_news.az_feature
targetEntityType: node
bundle: az_news
Expand Down Expand Up @@ -248,6 +250,7 @@ content:
time_before_date: 0
use_all_day: 0
capitalize_noon_and_midnight: 0
hide_date: 0
third_party_settings: { }
weight: 1
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ third_party_settings:
field_group:
group_row:
children:
- group_text_column
- group_media
- group_text_column
label: Row
parent_name: group_bottom_border
region: content
Expand Down Expand Up @@ -74,7 +74,7 @@ third_party_settings:
label: 'Text Column'
parent_name: group_row
region: content
weight: 4
weight: 6
format_type: html_element
format_settings:
classes: col
Expand Down Expand Up @@ -267,6 +267,7 @@ content:
time_before_date: 0
use_all_day: 0
capitalize_noon_and_midnight: 0
hide_date: 0
third_party_settings: { }
weight: 5
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ third_party_settings:
field_group:
group_row:
children:
- group_text_column
- group_media
- group_text_column
label: Row
parent_name: group_bottom_border
region: content
Expand Down Expand Up @@ -72,7 +72,7 @@ third_party_settings:
label: 'Text Column'
parent_name: group_row
region: content
weight: 4
weight: 7
format_type: html_element
format_settings:
classes: col
Expand Down Expand Up @@ -247,6 +247,7 @@ content:
time_before_date: 0
use_all_day: 0
capitalize_noon_and_midnight: 0
hide_date: 0
third_party_settings: { }
weight: 0
region: content
Expand Down
Loading