Git Product home page Git Product logo

scholars-angular's Introduction

Node CI with NPM Coverage Status

scholars-angular

Scholars Angular is a frontend application for exposing VIVO content that is being served via Scholars Discovery.

Installation

Prerequisites

In addition to having Docker installed, a running Scholars Discovery is also required.

Docker Deployment

  1. Install Docker
  2. Start Scholars Discovery
  3. Build the image
     docker build -t scholars/angular .
  4. Deploy the container
  docker run -d -p 4200:4200 \
  -e HOST=localhost \
  -e PORT=4200 \
  -e BASE_HREF=/ \
  -e BROKER_URL="ws://localhost:9000" \
  -e SERVICE_URL="http://localhost:9000" \
  -e SSR_SERVICE_URL="http://127.0.0.1:9000" \
  -e EMBED_URL="http://localhost:4201" \
  -e UI_URL="http://localhost:4200" \
  -e VIVO_URL="http://localhost:8080/vivo" \
  -e VIVO_EDITOR_URL="http://localhost:8080/vivo_editor" \
  -e COLLECT_SEARCH_STATS=false \
  scholars/angular

Above environment variables passed into the container are defaults. URLs must be enclosed in double quotes. BASE_HREF must start and end with a forward slash.

Verify Installation

A successful installation should result in the Scholars Angular site at: http://localhost:4200/

scholars-angular's People

Contributors

wwelling avatar kaladay avatar jsavell avatar dependabot[bot] avatar qtamu avatar rmathew1011 avatar doug-hahn avatar jeremythuff avatar jmicah avatar rstricklin avatar

Stargazers

Ben avatar

Watchers

James Cloos avatar  avatar

Forkers

wwelling

scholars-angular's Issues

8. Word clouds of each UN SDG goal’s top keywords

After faceting by SDG goal, find the top fifty (by occurrence) keyword strings.

Once we have this visualization, where do we expose it? Perhaps as a third link from the SDG icon on the front page.

Example keywords:

  • Energy

Image

  • No poverty

Image

5. Multiple selections in one facet (Priority: low)

Required to support multiple facet entry selection

  • URL filter for facet will use comma separated
  • server side will have to split comma separated to produce facet argument for each
  • applied filter badges will have to parse and separate into individual badges

Create abstract discovery component for top level of lazy modules

There is a lot of redundancy within the top-level components of lazily loaded modules. This can be remediated by an abstract component for the common observables.

https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/%2Bdirectory/directory.component.ts#L34
https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/%2Bdiscovery/discovery.component.ts#L40
https://github.com/TAMULib/scholars-angular/blob/tamu-main/src/app/%2Bdisplay/display.component.ts#L90

Alternatively, the shared UI component could be hoisted into an additional header from the main app. However, this will be on all views and require logic to hide if not desired in a specific view.

Searchable more facets

Make the facets searchable when you click the “more” button, instead of blindly clicking through the pages

Add search tips under search window in discovery view

  1. Type keywords using AND or OR logic (AND or OR must be capitalized)
    e.g., nutrition AND protein
  2. Type your phrase with double quotation marks
    e.g., "glucose absorption" OR nutrition
  3. Use wildcard * character to search variations
    e.g., bio*

image

Implement visualization components and views for co-author and co-investigator

Initial visualizations required.

  1. Co-author Network
  2. Co-investigator Network

Visualizations should be encapsulated in a lazy loaded module and include components that can pull data and render visualizations independently.

We will start by having a new route and sub routes for the visualizations above. These will only pertain to persons and should handle ids that are not found gracefully.

visualization/n4d1ebe08/<visualization> should go to specific visualization

visualization/n4d1ebe08 should redirect to a default visualization from above. Pick one for now.

Then simply adjust the links in the Person display view.

We will want to support using visualization components in any other context as well.

Some values with highlighting are being cutoff

https://scholars.library.tamu.edu/vivo/discovery/Grants?collection=individual&fl=type,title,dateTimeIntervalStart,dateTimeIntervalEnd,awardedBy,contributors,contributors.role&facets=type,principalInvestigators,coPrincipalInvestigators,awardedBy_nested_facets,administeredBy,dateTimeIntervalStart,dateTimeIntervalEnd&type.type=STRING&type.pageSize=10&type.pageNumber=1&type.sort=COUNT,DESC&principalInvestigators.type=STRING&principalInvestigators.pageSize=10&principalInvestigators.pageNumber=1&principalInvestigators.sort=COUNT,DESC&coPrincipalInvestigators.type=STRING&coPrincipalInvestigators.pageSize=10&coPrincipalInvestigators.pageNumber=1&coPrincipalInvestigators.sort=COUNT,DESC&awardedBy_nested_facets.type=STRING&awardedBy_nested_facets.pageSize=10&awardedBy_nested_facets.pageNumber=1&awardedBy_nested_facets.sort=COUNT,DESC&administeredBy.type=STRING&administeredBy.pageSize=10&administeredBy.pageNumber=1&administeredBy.sort=INDEX,ASC&dateTimeIntervalStart.type=DATE_YEAR&dateTimeIntervalStart.pageSize=10&dateTimeIntervalStart.pageNumber=1&dateTimeIntervalStart.sort=COUNT,DESC&dateTimeIntervalEnd.type=DATE_YEAR&dateTimeIntervalEnd.pageSize=10&dateTimeIntervalEnd.pageNumber=1&dateTimeIntervalEnd.sort=COUNT,DESC&class.filter=Relationship&class.opKey=EQUALS&type.filter=Grant&type.opKey=EQUALS&filters=class,type&boost=title,2&boost=awardedBy,2&boost=contributors,2&boost=abstract,2&sort=score,DESC&sort=title_sort,ASC&hl=title&hl=awardedBy&hl=contributors&q=water

RAPID: The Impact of Increased Fresh Water Input from Hurricane Harvey to the Water Quality and

RAPID: The Impact of Increased Fresh Water Input from Hurricane Harvey to the Water Quality and Stratification of Coastal and Offshore Waters of Texas

Upgrade dependencies

Try it. It works.

Attempting to resolve

webpack version resolving 1

no resolution for 2

request@^2.88.2:

3 In progress engine.io version behind one oddly enough

engine.io@~6.4.1:

Implement visualization component and view for map of science

Initial visualizations required.

  1. Map of Science

Visualizations should be encapsulated in a lazy loaded module and include components that can pull data and render visualizations independently.

We will start by having a new route and sub routes for the visualizations above. These will only pertain to persons and should handle ids that are not found gracefully.

visualization/n4d1ebe08/<visualization> should go to specific visualization

visualization/n4d1ebe08 should redirect to a default visualization from above. Pick one for now.

Then simply adjust the links in the Person display view.

We will want to support using visualization components in any other context as well.

Optimize rehydration with state transfer

This will be for optimal performance of initial page load and attempt to reduce flicker after initial page load. Basically, any REST calls done to satisfy SSR should be transferred to browser during rehydration to avoid the browser from making the same requests.

image

Search all discovery view

Facet for All discovery tab:

  • Organization (for people and publications)
  • Year (for publications and awards)
  • Position (for people)
  • Research Area (for people)
  • Research keywords (for people and publications)
  • Published in (for publications)
  • UN Sustainable development goals (for people and publications)
  • Awarded by (for grants)
  • Conferred By (for awards)

Switch to ESLint

TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
  1. pass linting
  2. attempt to follow Angular style guide
  3. update any rule ignore comment

Implement visualization component and view for organization temporal graph

Initial visualizations required.

  1. Temporal Graph View

Visualizations should be encapsulated in a lazy loaded module and include components that can pull data and render visualizations independently.

We will start by having a new route and sub routes for the visualizations above. These will only pertain to persons and should handle ids that are not found gracefully.

visualization/n4d1ebe08/<visualization> should go to specific visualization

visualization/n4d1ebe08 should redirect to a default visualization from above. Pick one for now.

Then simply adjust the links in the Organization display view.

We will want to support using visualization components in any other context as well.

Research and document visualization features

Initial requirements to replace with feature parity

  1. Co-author Network
  2. Co-investigator Network
  3. Map of Science

Library suggestions, data required, any external data synchronization required, and component design.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.