blacklight-spotlight 3.0.0.alpha.3 → 3.0.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/blacklight/highlight_off.svg +1 -0
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +3 -3
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +19 -23
- data/app/assets/stylesheets/spotlight/_browse.scss +22 -13
- data/app/assets/stylesheets/spotlight/_catalog.scss +2 -2
- data/app/assets/stylesheets/spotlight/_curation.scss +5 -3
- data/app/assets/stylesheets/spotlight/_exhibits_index.scss +14 -1
- data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +5 -5
- data/app/assets/stylesheets/spotlight/_header.scss +14 -6
- data/app/assets/stylesheets/spotlight/_multi_image_selector.scss +1 -1
- data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +3 -3
- data/app/assets/stylesheets/spotlight/_pages.scss +23 -16
- data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +3 -4
- data/app/assets/stylesheets/spotlight/_slideshow_block.scss +1 -0
- data/app/assets/stylesheets/spotlight/_spotlight.scss +0 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +6 -6
- data/app/assets/stylesheets/spotlight/_utilities.scss +4 -0
- data/app/controllers/spotlight/translations_controller.rb +9 -1
- data/app/helpers/spotlight/pages_helper.rb +2 -1
- data/app/models/spotlight/field_metadata.rb +1 -2
- data/app/views/shared/_masthead.html.erb +13 -11
- data/app/views/spotlight/about_pages/_contact.html.erb +3 -3
- data/app/views/spotlight/about_pages/_contact_properties.html.erb +1 -1
- data/app/views/spotlight/admin_users/index.html.erb +77 -71
- data/app/views/spotlight/browse/_search_box.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +23 -26
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_index_compact_default.html.erb +2 -2
- data/app/views/spotlight/contacts/_form.html.erb +1 -1
- data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +2 -2
- data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
- data/app/views/spotlight/dashboards/_page.html.erb +4 -4
- data/app/views/spotlight/exhibits/_exhibit_card_back.html.erb +2 -2
- data/app/views/spotlight/feature_pages/_header.html.erb +2 -2
- data/app/views/spotlight/metadata_configurations/edit.html.erb +2 -2
- data/app/views/spotlight/pages/_form.html.erb +1 -1
- data/app/views/spotlight/pages/_page.html.erb +3 -3
- data/app/views/spotlight/roles/index.html.erb +2 -2
- data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +0 -5
- data/app/views/spotlight/search_configurations/_facets.html.erb +3 -3
- data/app/views/spotlight/search_configurations/_search_fields.html.erb +2 -2
- data/app/views/spotlight/searches/_form.html.erb +2 -2
- data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_quote_block.html.erb +4 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/translations/_search_fields.html.erb +1 -1
- data/app/views/spotlight/translations/edit.html.erb +1 -1
- data/lib/generators/spotlight/install_generator.rb +6 -2
- data/lib/generators/spotlight/templates/config/initializers/oembed.rb +4 -0
- data/lib/spotlight/engine.rb +0 -5
- data/lib/spotlight/version.rb +1 -1
- data/spec/controllers/spotlight/translations_controller_spec.rb +8 -0
- data/spec/examples.txt +6 -7
- data/spec/features/javascript/search_config_admin_spec.rb +1 -1
- data/spec/helpers/spotlight/pages_helper_spec.rb +6 -0
- data/spec/models/spotlight/field_metadata_spec.rb +0 -7
- data/spec/test_app_templates/Gemfile.extra +0 -1
- data/spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb +0 -1
- data/vendor/assets/stylesheets/sir-trevor/_variables.scss +0 -8
- data/vendor/assets/stylesheets/sir-trevor/block-controls.scss +0 -4
- metadata +4 -6
- data/app/assets/images/blacklight/remove_circle_outline.svg +0 -1
- data/app/views/spotlight/browse/_sort_and_per_page.html.erb +0 -5
- data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +0 -12
@@ -19,7 +19,6 @@ describe 'spotlight/search_configurations/_facet_metadata', type: :view do
|
|
19
19
|
it 'shows the number of unique values' do
|
20
20
|
expect(rendered).to have_content '1 item'
|
21
21
|
expect(rendered).to have_content '3 unique values'
|
22
|
-
expect(rendered).to have_selector '.btn-with-tooltip'
|
23
22
|
end
|
24
23
|
end
|
25
24
|
|
@@ -20,11 +20,3 @@ $block-controls-color:#9B9B9B;
|
|
20
20
|
$border-size: 2px;
|
21
21
|
$border-style: solid;
|
22
22
|
$default-border: $border-size $border-style $accent-color;
|
23
|
-
|
24
|
-
$padding-base-horizontal: $spacer;
|
25
|
-
$padding-large-horizontal: $spacer;
|
26
|
-
$padding-large-vertical: $spacer;
|
27
|
-
$padding-base-vertical: $spacer;
|
28
|
-
$padding-small-vertical: $spacer * 0.5;
|
29
|
-
$padding-small-horizontal: $spacer * 0.25;
|
30
|
-
$padding-xs-horizontal: $spacer * 0.1;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-spotlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.alpha.
|
4
|
+
version: 3.0.0.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-02-
|
14
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: acts-as-taggable-on
|
@@ -780,9 +780,9 @@ files:
|
|
780
780
|
- app/assets/images/blacklight/custom_fullscreen.svg
|
781
781
|
- app/assets/images/blacklight/edit.svg
|
782
782
|
- app/assets/images/blacklight/error.svg
|
783
|
+
- app/assets/images/blacklight/highlight_off.svg
|
783
784
|
- app/assets/images/blacklight/info.svg
|
784
785
|
- app/assets/images/blacklight/remove_circle.svg
|
785
|
-
- app/assets/images/blacklight/remove_circle_outline.svg
|
786
786
|
- app/assets/images/blacklight/resize_small.svg
|
787
787
|
- app/assets/images/blacklight/warning.svg
|
788
788
|
- app/assets/images/spotlight/blocks/sir-trevor-icons.svg
|
@@ -1064,7 +1064,6 @@ files:
|
|
1064
1064
|
- app/views/spotlight/browse/_search.html.erb
|
1065
1065
|
- app/views/spotlight/browse/_search_box.html.erb
|
1066
1066
|
- app/views/spotlight/browse/_search_title.html.erb
|
1067
|
-
- app/views/spotlight/browse/_sort_and_per_page.html.erb
|
1068
1067
|
- app/views/spotlight/browse/_tophat.html.erb
|
1069
1068
|
- app/views/spotlight/browse/index.html.erb
|
1070
1069
|
- app/views/spotlight/browse/show.html.erb
|
@@ -1293,6 +1292,7 @@ files:
|
|
1293
1292
|
- lib/generators/spotlight/install_generator.rb
|
1294
1293
|
- lib/generators/spotlight/scaffold_resource_generator.rb
|
1295
1294
|
- lib/generators/spotlight/templates/catalog_controller.rb
|
1295
|
+
- lib/generators/spotlight/templates/config/initializers/oembed.rb
|
1296
1296
|
- lib/generators/spotlight/templates/config/initializers/riiif.rb
|
1297
1297
|
- lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb
|
1298
1298
|
- lib/generators/spotlight/templates/config/initializers/translation.rb
|
@@ -1536,7 +1536,6 @@ files:
|
|
1536
1536
|
- spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
|
1537
1537
|
- spec/views/spotlight/about_pages/index.html.erb_spec.rb
|
1538
1538
|
- spec/views/spotlight/browse/_search.html.erb_spec.rb
|
1539
|
-
- spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
|
1540
1539
|
- spec/views/spotlight/browse/index.html.erb_spec.rb
|
1541
1540
|
- spec/views/spotlight/browse/show.html.erb_spec.rb
|
1542
1541
|
- spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
|
@@ -1883,7 +1882,6 @@ test_files:
|
|
1883
1882
|
- spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
|
1884
1883
|
- spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
|
1885
1884
|
- spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
|
1886
|
-
- spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
|
1887
1885
|
- spec/views/spotlight/browse/show.html.erb_spec.rb
|
1888
1886
|
- spec/views/spotlight/browse/_search.html.erb_spec.rb
|
1889
1887
|
- spec/views/spotlight/browse/index.html.erb_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<div id="sortAndPerPage" class="sort-pagination clearfix" role="navigation" aria-label="<%= t('blacklight.search.per_page.aria_label', default: 'Results navigation')%>">
|
2
|
-
<div class="search-widgets float-md-right">
|
3
|
-
<%= render_results_collection_tools wrapping_class: "search-widgets float-md-right" %>
|
4
|
-
</div>
|
5
|
-
</div>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
describe 'spotlight/browse/_sort_and_per_page', type: :view do
|
4
|
-
before do
|
5
|
-
allow(view).to receive_messages(render_results_collection_tools: 'collection tools')
|
6
|
-
end
|
7
|
-
|
8
|
-
it 'renders the pagination, sort, per page and view type controls' do
|
9
|
-
render
|
10
|
-
expect(rendered).to have_content 'collection tools'
|
11
|
-
end
|
12
|
-
end
|