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

allow show tools to be moved to the header, closes #2316 #3277

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

dnoneill
Copy link
Contributor

@dnoneill dnoneill commented Aug 14, 2024

Add a new function called add_show_header_tools_partial. This will allow the user to add tools to the page header.

When the app is spun up nothing changes. Changes only go into effect if the user enables these settings.

Screenshot 2024-08-15 at 11 10 15 AM

add_show_header_tools_partial small screen
Screenshot 2024-08-15 at 11 06 45 AM

@dnoneill dnoneill force-pushed the 2316-show-tools branch 3 times, most recently from 574970c to 3865500 Compare August 15, 2024 15:38
@dnoneill dnoneill marked this pull request as ready for review August 15, 2024 15:38
app/helpers/blacklight/component_helper_behavior.rb Outdated Show resolved Hide resolved
app/helpers/blacklight/component_helper_behavior.rb Outdated Show resolved Hide resolved
app/views/catalog/_show_main_content.html.erb Outdated Show resolved Hide resolved
lib/blacklight/configuration.rb Outdated Show resolved Hide resolved
lib/blacklight/configuration.rb Outdated Show resolved Hide resolved
app/assets/stylesheets/blacklight/_bookmark.scss Outdated Show resolved Hide resolved
@dnoneill dnoneill force-pushed the 2316-show-tools branch 7 times, most recently from 908c52a to d48f51e Compare August 15, 2024 18:36
@dnoneill dnoneill requested a review from jcoyne August 15, 2024 18:36
@dnoneill
Copy link
Contributor Author

@jcoyne I added your suggestions except for the unresolved ones. I also added tests for the PageHeaderComponent and added a show_header_tools_component to the blacklight config.

app/assets/stylesheets/blacklight/_bookmark.scss Outdated Show resolved Hide resolved
lib/blacklight/configuration.rb Outdated Show resolved Hide resolved
@dnoneill dnoneill force-pushed the 2316-show-tools branch 2 times, most recently from 4141d67 to 2d0e806 Compare August 19, 2024 15:51
@dnoneill dnoneill requested a review from jcoyne August 19, 2024 16:00
@dnoneill dnoneill force-pushed the 2316-show-tools branch 4 times, most recently from c1d14ac to 507de60 Compare August 19, 2024 17:27
@dnoneill dnoneill requested a review from jcoyne August 19, 2024 17:42
@jcoyne jcoyne dismissed their stale review August 20, 2024 16:51

No remaining objections.

@dnoneill dnoneill force-pushed the 2316-show-tools branch 2 times, most recently from 8813204 to e881b66 Compare August 20, 2024 17:05
@dnoneill dnoneill requested a review from jcoyne August 20, 2024 17:30
@jcoyne jcoyne added this to the 8.x milestone Aug 21, 2024
@jcoyne jcoyne merged commit 66f31e0 into projectblacklight:main Aug 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants