Skip to content

UCF/UCF-Search

Repository files navigation

UCF-Search

Google Custom Search Engine and single page Angularjs application for fetching and displaying search results, directory and location information.

Dependencies

  • node v16+
  • gulp-cli

Development Setup

  1. Pull down repository using git or by downloading and unzipping.
  2. Install node dependencies by browsing to the root directory of the project and running npm install.
  3. Install typings and compile artifacts by running gulp default.
  4. During development, have gulp watch for file changes by running gulp watch.

Changelog

2.1.1

  • 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.

2.1.0

  • 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_type values in the filterLocationResults filter.
    • Removed Google's search input placeholder logo, which was overlapping with our placeholder text.

2.0.5

2.0.4

  • Bug Fixes:
    • Replaced file_get_contents with a curl based function for retrieving remote resources.

2.0.3

  • Bug Fixes:
    • Fixed issue where search results were not showing with passed in query params
  • Removal:
    • Removed Google Maps API

2.0.2

  • Bug Fixes:
    • Fixed search query parsing on queries that include encoded ampersands
  • Enhancements:
    • Upgraded to latest version of Athena Framework

2.0.1

  • Bug Fixes:
    • Fixed styling issues on search submit button

2.0.0

  • Bug Fixes:
    • Updated search to use Google Custom Search instead of the Google API.

About

Single page Angular application for fetching and displaying search results.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5