Skip to content

Commit

Permalink
Merge pull request #527 from CuBoulder/issue/266
Browse files Browse the repository at this point in the history
Adds search frontend and settings
  • Loading branch information
jcsparks authored and web-flow committed Nov 2, 2023
2 parents 392b012 + 2200062 commit 1f7d39e
Show file tree
Hide file tree
Showing 11 changed files with 952 additions and 527 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- ### Adds search frontend and settings
This update:
- Adds a search modal which appears when clicking on the search icon in the top bar.
- Adds a new "Pages and search" tab to CU Boulder site settings (`/admin/config/cu-boulder/pages`). This tab contains settings accessible to Architect, Developer, and Site Manager:
- The home page setting (moved from "General").
- Options to enable site search, all of Colorado.edu search (default), both, or neither.
- Configuration for the site search label, placeholder, and URL.
- Renames "Appearance" to "Appearance and layout" and alters the descriptions of menu items.
- Adds the [Google Programmable Search Engine](https://www.drupal.org/project/google_cse) module, which allows creating custom search pages to use with site search.

Resolves CuBoulder/tiamat-theme#266

Sister PR in: [ucb_site_configuration](https://github.com/CuBoulder/ucb_site_configuration/pull/29), [tiamat10-profile](https://github.com/CuBoulder/tiamat10-profile/pull/43), [tiamat10-project-template](https://github.com/CuBoulder/tiamat10-project-template/pull/17)
---

- ### Fixes List Indicator Alignment with Left Align Images
This change aligns the list indicators on a list element with other text elements next to a left-aligned image.

Expand Down
22 changes: 22 additions & 0 deletions boulder_base.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,28 @@ ucb-article-feature-block:
theme:
css/block/ucb-article-feature-block.css: {}

ucb-brand-bar:
version: 1.x
css:
theme:
css/ucb-brand-bar.css: {}

ucb-search-box:
version: 1.x
js:
js/ucb-search-box.js: {}
css:
theme:
css/ucb-search-box.css: {}

ucb-search-modal:
version: 1.x
js:
js/ucb-search-modal.js: {}
css:
theme:
css/ucb-search-modal.css: {}

ucb-menu-style-highlight:
version: 1.x
css:
Expand Down
Loading

0 comments on commit 1f7d39e

Please sign in to comment.