Google Custom Search Engine and single page Angularjs application for fetching and displaying search results, directory and location information.
- node v16+
- gulp-cli
- Pull down repository using git or by downloading and unzipping.
- Install node dependencies by browsing to the root directory of the project and running
npm install. - Install typings and compile artifacts by running
gulp default. - During development, have gulp watch for file changes by running
gulp watch.
- Enhancements:
- Menu API Integration: Updated the template & confige file to fetch menus from the main website's REST API by setting the correct MENU_API_ROOT.
- Placeholder Removal: Removed the placeholder text from template and config file.
- TypeScript Type Adjustment: In locationcontroller.ts, assigned null to a variable on line 13. To accommodate this, updated its type to null | number to ensure type compatibility.
- Project Build: Successfully built the project after implementing the above changes.
- Updated the package-lock.json via "npm install" in order to have same naming and version in package.json and package-lock.json.
- Added the from_table__in: "organizations,departments" argument in the searchservice.ts file to filter the request and return results without including staff.
- Enhancements:
- Re-worked markup and styling for sidebar location results, replacing accordions with a simple heading + links + thumbnail layout.
- Implemented cache-busting for included css/js files, which utilizes the version number set in package.json.
- Tidied up various styles around the search input and search results to better utilize Athena styling where possible, and incorporate additional whitespace around elements where appropriate.
- Re-arranged scss files a bit to more discretely manage Google result styles vs sidebar results.
- Updated sidebar directory results: added department, org info; tweaked display of email + phone number links.
- Implemented various accessibility improvements, see #24 and #26.
- Updated icons and markup used in the UCF Footer to match changes made recently in the UCF Footer plugin.
- Upgraded various packages to latest versions. Locked version numbers for Typescript-related packages.
- Added linter configs and issue/PR templates to the repo.
- Resolved linter and build errors in ts and scss files.
- Upgraded front-facing dependencies (jQuery, Tether, Athena, Font Awesome). Removed usage of Cloud.Typography CSS key and unused font files from the repo.
- Bug Fixes:
- Fixed display of sidebar location results by updating expected
object_typevalues in thefilterLocationResultsfilter. - Removed Google's search input placeholder logo, which was overlapping with our placeholder text.
- Fixed display of sidebar location results by updating expected
- Enhancement:
- Added support for a search parameters Google CSE Documentation.
- Bug Fixes:
- Replaced
file_get_contentswith a curl based function for retrieving remote resources.
- Replaced
- Bug Fixes:
- Fixed issue where search results were not showing with passed in query params
- Removal:
- Removed Google Maps API
- Bug Fixes:
- Fixed search query parsing on queries that include encoded ampersands
- Enhancements:
- Upgraded to latest version of Athena Framework
- Bug Fixes:
- Fixed styling issues on search submit button
- Bug Fixes:
- Updated search to use Google Custom Search instead of the Google API.