https://github.com/breeding-insight/bi-web

https://github.com/breeding-insight/bi-web

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: Breeding-Insight
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: develop
  • Size: 9.33 MB
Statistics
  • Stars: 7
  • Watchers: 4
  • Forks: 1
  • Open Issues: 22
  • Releases: 15
Created over 6 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

bi-web

FOSSA Status

Project setup

Install all dependencies. npm install Configure git to prepend branch names to commit messages. Master, develop, and test branch names are excluded. npm run githooks Set the path to the scripts used for task-running in package.json with the field"task_path".

Compiles and hot-reloads for development

npm run serve Set the port used by the dev server with the value of the "devport" field in package.json.

Compiles and minifies for production

npm run build At the beginning of the build an audit is performed on the npm modules listed as dependencies and dev dependencies in package.json. A message to STDOUT will notify you if any vulnerabilities are found, and the build will stop. The vulnerable packages must be patched, updated, or replaced to pass the audit in order for the production build to proceed.

Run your unit tests

npm run test:unit

Run your end-to-end tests

npm run test:e2e

Run accessibility test

TL;DR---run "npm run test:accessibility" during dev work but follow up at some point with manual testing.

To test individual pages for accessibility errors, a JSON file task/.pa11yTargets.json must be created containing an array of strings that are the relative paths to the pages to be tested: e.g. "home" or "group/info".

The results of the tests are stored as JSON in the file task/pa11yResults.json.

The test points to http://localhost, so for dev work simply start the dev server npm run serve and run the accessibility tests: npm run test:accessibility

Accessibility testing tools are far from perfect. One study found the highest accuracy among fourteen popular, free testing tools was 40%. By comparison, the pa11y tester used here performs well---it detects 47% (67 of 143) of the errors on the world's least accessible site used in the study.

The authors conclude that tools such as pa11y should be used but do not replace the need for manual testing.

The Web Accessibility Evaluation Tool(https://wave.webaim.org/) is one online tool that may be a helpful starting point for manual testing. WAVE found 115 errors and warnings plus 256 structual element problems. Obviously there is some duplication here since the target site has 147 errors, so it's not clear if it's accuracy is better without evaluating the results.

Lints and fixes files

npm run lint

Dependency Cleanup

List in STDOUT all packages that are unused or need upgrading: npx npm-check or get the same information organized by type with an interactive UI by using the -u option: npx npm-check -u

Customize configuration

See Configuration Reference.

Style and layout

A guide to visual design conventions and writing style can be found at /style-guide after authentication. For example, if you are running the app locally on port 8080, the style guide URL would be http://localhost:8080/style-guide.

Layout template usage standards

General guidance for using each of the layout templates in /components/layouts: SimpleLayout is the most basic page. As inferred by the name, it draws a simple full-screen, full-width page with one content slot. Currently this layout is only used for the 401 error page and the style guide.

NoSidebarLayout provides the standard header and footer for all current pages, and a simple content container. Used for program selection, account confirmation, success pages.

BaseSidebarLayout provides the standard header and footer, a main content container, and a consistently styled sidebar container. This sidebar is not designated as a nav container and may be used for general content in the sidebar.

InfoSideBarLayout provides guest account information in the sidebar, a child of BaseSideBarLayout. This is used for the index page, allowing display of guest user account information or system instructions for our sandboxes. Some modal information was moved from Index.vue to this layout file to support the login buttons in the header and sidebar.

UserSidebarLayout provides the standard header and footer, a primary content container, and a sidebar that has nav designation and user-related menu items. This layout is used for most pages that involve being logged in.

License

FOSSA Status

Owner

  • Name: Breeding Insight
  • Login: Breeding-Insight
  • Kind: organization

Combining genomics and informatics to accelerate genetic gains.

GitHub Events

Total
  • Release event: 3
  • Delete event: 31
  • Issue comment event: 9
  • Push event: 152
  • Pull request review comment event: 21
  • Pull request review event: 82
  • Pull request event: 65
  • Create event: 42
Last Year
  • Release event: 3
  • Delete event: 31
  • Issue comment event: 9
  • Push event: 152
  • Pull request review comment event: 21
  • Pull request review event: 82
  • Pull request event: 65
  • Create event: 42

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 24
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 days
  • Total issue authors: 0
  • Total pull request authors: 5
  • Average comments per issue: 0
  • Average comments per pull request: 0.21
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 24
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 days
  • Issue authors: 0
  • Pull request authors: 5
  • Average comments per issue: 0
  • Average comments per pull request: 0.21
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dmeidlin (2)
  • jeekinlau (1)
  • mlm483 (1)
Pull Request Authors
  • davedrp (27)
  • mlm483 (21)
  • nickpalladino (15)
  • HMS17 (11)
  • dmeidlin (9)
  • timparsons (1)
Top Labels
Issue Labels
feature (2) bug (1)
Pull Request Labels
feature (30) bug (20)

Dependencies

package-lock.json npm
  • 1681 dependencies
package.json npm
  • @creativebulma/bulma-divider ^1.1.0 development
  • @types/chai ^4.2.7 development
  • @types/d3 ^7.1.0 development
  • @types/jest ^24.9.0 development
  • @types/uuid ^8.3.0 development
  • @vue/cli-plugin-babel ^4.1.0 development
  • @vue/cli-plugin-e2e-cypress ^4.1.0 development
  • @vue/cli-plugin-eslint ^4.5.9 development
  • @vue/cli-plugin-router ^4.1.0 development
  • @vue/cli-plugin-typescript ^4.4.1 development
  • @vue/cli-plugin-unit-jest ^4.5.4 development
  • @vue/cli-plugin-vuex ^4.1.0 development
  • @vue/cli-service ^4.5.13 development
  • @vue/eslint-config-typescript ^4.0.0 development
  • @vue/test-utils ^1.0.3 development
  • argparse ^1.0.10 development
  • axios ^0.21.1 development
  • babel-core ^7.0.0-bridge.0 development
  • babel-jest ^24.9.0 development
  • babel-preset-env ^1.7.0 development
  • buefy ^0.9.8 development
  • bulma ^0.9.1 development
  • bulma-divider ^0.2.0 development
  • bulma-switch ^2.0.0 development
  • chai ^4.1.2 development
  • eslint ^5.16.0 development
  • eslint-plugin-vue ^5.0.0 development
  • execa ^4.0.0 development
  • json-beautify ^1.1.1 development
  • minimist ^1.2.5 development
  • node-sass ^4.14.1 development
  • ora ^4.0.3 development
  • pa11y ^5.3.0 development
  • pa11y-reporter-json ^1.0.0 development
  • sass-loader ^8.0.0 development
  • shelljs ^0.8.3 development
  • typescript ~3.5.3 development
  • vue-cli-plugin-axios 0.0.4 development
  • vue-template-compiler ^2.6.10 development
  • @casl/ability ~4.0.0
  • @casl/vue ^1.1.1
  • @solgenomics/brapi-pedigree-viewer git+https://github.com/Breeding-Insight/BrAPI-Pedigree-Viewer#v2.0.1
  • @solgenomics/brapijs git+https://github.com/Breeding-Insight/BrAPI-js#v2.0.2
  • @solgenomics/d3-pedigree-tree git+https://github.com/solgenomics/d3-pedigree-tree#f799b499c8019cfccd550d4297196e365c208d5c
  • @types/flat ^5.0.2
  • @types/promise.allsettled ^1.0.3
  • @types/valid-url ^1.0.3
  • @types/vuelidate ^0.7.10
  • @xstate/fsm ^1.4.0
  • core-js ^3.4.3
  • d3 ^4.11.0
  • flat ^5.0.2
  • focus-trap ^5.1.0
  • focus-trap-vue 0.0.6
  • title-case ^3.0.3
  • uuid ^8.3.2
  • valid-url ^1.0.9
  • vue ^2.6.10
  • vue-breakpoint-component ^1.2.6
  • vue-class-component ^7.0.2
  • vue-click-outside ^1.1.0
  • vue-cookies ^1.7.0
  • vue-feather-icons ^5.1.0
  • vue-gtag ^1.16.1
  • vue-json-tree-view ^2.1.6
  • vue-property-decorator ^8.3.0
  • vue-qrcode-component ^2.1.1
  • vue-router ^3.1.3
  • vuejs-logger 1.5.4
  • vuelidate ^0.7.5
  • vuelidate-property-decorators ^1.0.28
  • vuex ^3.1.2
  • vuex-class ^0.3.2
.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v3 composite
.github/workflows/pr-labeler.yml actions
  • TimonVS/pr-labeler-action v3 composite
.github/workflows/release-drafter.yml actions
  • actions/checkout v2 composite
  • release-drafter/release-drafter v5 composite
.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • docker/login-action v1 composite
.github/workflows/versioner-develop.yml actions
  • actions/checkout v2 composite
  • ad-m/github-push-action v0.6.0 composite
  • docker/login-action v1 composite
Dockerfile docker
  • node 14 build