concord-consortium/rigse

View on GitHub
rails/react-components/src/library/library.tsx

Summary

Maintainability
B
6 hrs
Test Coverage

PortalComponents has 35 functions (exceeds 20 allowed). Consider refactoring.
Open

window.PortalPages = window.PortalComponents = {
  settings: {}, // default to empty, used to set flags from portal templates

  // The URL of the page will change as the user opens resource lightboxes. This
  // initialPath provides a way for the code to know the initial page loaded was
Severity: Minor
Found in rails/react-components/src/library/library.tsx - About 4 hrs to fix

    File library.tsx has 267 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React, { createElement } from "react";
    import ReactDOM from "react-dom/client";
    
    import CollectionsPage from "./components/collections-page";
    import CollectionCards from "./components/collection-cards";
    Severity: Minor
    Found in rails/react-components/src/library/library.tsx - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status