Skip to content

Commit

Permalink
Issue #215: Create search view block and added to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gurjinder12 authored and lkmorlan committed Dec 7, 2023
1 parent 554c5f3 commit 26e9a91
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ status: true
dependencies:
config:
- page_manager.page.dashboard
- views.view.saved_searches
- webform.webform.create_data_set
module:
- bc_dc
- bcbb_search
- panels
- user
- views
- webform
id: dashboard-panels_variant-1
label: 'Authenticated dashboard'
Expand Down Expand Up @@ -130,6 +132,21 @@ variant_settings:
- ''
html_id: ''
css_styles: ''
cded08d4-4a15-4114-acae-eb8639fb2215:
id: 'views_block:saved_searches-block_1'
label: 'My Saved searches'
label_display: visible
provider: views
context_mapping: { }
views_label: 'My Saved searches'
items_per_page: none
region: second_below
weight: 0
uuid: cded08d4-4a15-4114-acae-eb8639fb2215
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: 'My Dashboard'
layout: layout_twocol_bricks
layout_settings: { }
Expand Down
63 changes: 61 additions & 2 deletions config/sync/views.view.saved_searches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,70 @@ display:
footer: { }
display_extenders: { }
cache_metadata:
max-age: 0
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user
tags: { }
block_1:
id: block_1
display_title: Block
display_plugin: block
position: 1
display_options:
arguments:
uid:
id: uid
table: search_api_saved_search
field: uid
relationship: none
group_type: group
admin_label: ''
entity_type: search_api_saved_search
entity_field: uid
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: current_user
default_argument_options: { }
default_argument_skip_url: false
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: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
defaults:
relationships: false
arguments: false
relationships: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user
tags: { }
page:
id: page
Expand All @@ -489,10 +547,11 @@ display:
parent: ''
context: '0'
cache_metadata:
max-age: 0
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user
tags: { }
3 changes: 2 additions & 1 deletion html/themes/custom/dc_theme/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions html/themes/custom/dc_theme/scss/components/_dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ $colorGray100: #f8f9fa;
}
}
}
.layout__region--first-below {
border-radius: 6px;
border: 1px solid $colorGray200;
margin-top: 2.25rem;
.layout__region--first-below,
.layout__region--second-below {
border-radius: 6px;
border: 1px solid $colorGray200;
margin-top: 2.25rem;
}

@media only screen and (max-width: $md-max) {
Expand Down

0 comments on commit 26e9a91

Please sign in to comment.