-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Why these changes are being introduced: We want to provide users multiple paths to request help from the GIS team. Relevant ticket(s): https://mitlibraries.atlassian.net/browse/GDT-129 How this addresses that need: This adds an 'Ask GIS' link to all views except the index: * On the results page with reuslts, in the filter sidebar below the filters. * On the results page with no results, in a sidebar to the right. * On the full record page, in the sidebar below fact panels. There is a minor difference in placement for the results view in smaller viewports, which is accommodated with media queries. Side effects of this change: * We are using a feature flag to toggle the feature, but I wonder if a similar feature (using a general 'Ask Us' link) would be useful in other apps. * The results view is getting little unwieldly, in my opinion. I didn't see an obvious way to limit the added complexity given the requested changes, but I'm open to suggestions.
- Loading branch information
Showing
5 changed files
with
48 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<% if display == 'view-aside' %> | ||
<div class="col1qr-sidebar"> | ||
<% end %> | ||
<div class="bit ask-us <%= display %>"> | ||
<h3 class="title">Need help?</h3> | ||
<a class="btn button-secondary" href="https://libraries.mit.edu/ask-gis">Ask GIS</a> | ||
</div> | ||
<% if display == 'view-aside' %> | ||
</div> | ||
<% end %> |