appbaseio/reactivesearch

View on GitHub

Showing 334 of 1,376 total issues

File MultiList.jsx has 479 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { Actions, helper } from '@appbaseio/reactivecore';
import VueTypes from 'vue-types';
import Title from '../../styles/Title';
import Input from '../../styles/Input';
import Container from '../../styles/Container';
Severity: Minor
Found in packages/vue/src/components/list/MultiList.jsx - About 7 hrs to fix

    File DateRange.js has 475 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React, { Component } from 'react';
    import { View, Modal, TouchableWithoutFeedback, Platform } from 'react-native';
    import { Calendar } from 'react-native-calendars';
    import { Text, Body, Item, Header, Left, Button, Icon, Title, Right } from 'native-base';
    
    
    Severity: Minor
    Found in packages/native/src/components/date/DateRange.js - About 7 hrs to fix

      File MultiDataList.js has 445 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      import React, { Component } from 'react';
      
      import {
          addComponent,
          removeComponent,
      Severity: Minor
      Found in packages/web/src/components/list/MultiDataList.js - About 6 hrs to fix

        File DateRange.js has 436 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        import React, { Component } from 'react';
        import {
            addComponent,
            removeComponent,
            watchComponent,
        Severity: Minor
        Found in packages/web/src/components/date/DateRange.js - About 6 hrs to fix

          Function render has 161 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              render() {
                  const {
                      items,
                      selectedItem,
                      placeholder,
          Severity: Major
          Found in packages/vue/src/components/shared/DropDown.jsx - About 6 hrs to fix

            File SingleList.js has 434 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            import React, { Component } from 'react';
            
            import {
                addComponent,
                removeComponent,
            Severity: Minor
            Found in packages/web/src/components/list/SingleList.js - About 6 hrs to fix

              Function render has 160 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  render() {
                      return (
                          <ReactiveBase
                              app="good-books-ds"
                              credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
              Severity: Major
              Found in site/demos/goodbooks/src/App.js - About 6 hrs to fix

                Function render has 155 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    render() {
                        let markedDates = {};
                        const current = this.state.currentDate
                            ? this.state.currentDate.dateString
                            : this.props.initialMonth || Date();
                Severity: Major
                Found in packages/native/src/components/date/DatePicker.js - About 6 hrs to fix

                  File MultiDropdownList.js has 421 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  import React, { Component } from 'react';
                  
                  import {
                      addComponent,
                      removeComponent,
                  Severity: Minor
                  Found in packages/web/src/components/list/MultiDropdownList.js - About 6 hrs to fix

                    File MultiDropdownList.jsx has 420 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    import { Actions, helper } from '@appbaseio/reactivecore';
                    import VueTypes from 'vue-types';
                    import types from '../../utils/vueTypes';
                    import { getAggsQuery, getCompositeAggsQuery } from './utils';
                    import Title from '../../styles/Title';
                    Severity: Minor
                    Found in packages/vue/src/components/list/MultiDropdownList.jsx - About 6 hrs to fix

                      File index.js has 415 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      import styled, { css } from 'react-emotion';
                      
                      const lightFont = css`
                          font-weight: 300;
                      `;
                      Severity: Minor
                      Found in site/src/styles/index.js - About 5 hrs to fix

                        Function render has 149 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            render() {
                                let suggestionsList = [];
                                let finalSuggestionsList = [];
                                const {
                                    theme,
                        Severity: Major
                        Found in packages/web/src/components/search/CategorySearch.js - About 5 hrs to fix

                          Function componentWillReceiveProps has 147 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              componentWillReceiveProps(nextProps) {
                                  const totalPages = Math.ceil(nextProps.total / nextProps.size) || 0;
                          
                                  if (
                                      !isEqual(this.props.sortOptions, nextProps.sortOptions)
                          Severity: Major
                          Found in packages/web/src/components/result/ReactiveList.js - About 5 hrs to fix

                            Function render has 142 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                render() {
                                    const { theme } = this.$props;
                                    const renderSuggestions = this.$scopedSlots.suggestions;
                                    return (
                                        <Container class={this.$props.className}>
                            Severity: Major
                            Found in packages/vue/src/components/search/DataSearch.jsx - About 5 hrs to fix

                              Function render has 142 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  render() {
                                      const {
                                          items,
                                          selectedItem,
                                          placeholder,
                              Severity: Major
                              Found in packages/web/src/components/shared/Dropdown.js - About 5 hrs to fix

                                File SingleList.jsx has 391 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                import { Actions, helper } from '@appbaseio/reactivecore';
                                import VueTypes from 'vue-types';
                                import Title from '../../styles/Title';
                                import Input from '../../styles/Input';
                                import Container from '../../styles/Container';
                                Severity: Minor
                                Found in packages/vue/src/components/list/SingleList.jsx - About 5 hrs to fix

                                  File MultiDropdownList.js has 384 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  import React, { Component } from 'react';
                                  import { View, Modal, FlatList, TouchableWithoutFeedback } from 'react-native';
                                  import { Text, Body, Item, Header, Left, Button, Icon, Title, Right } from 'native-base';
                                  
                                  import {
                                  Severity: Minor
                                  Found in packages/native/src/components/list/MultiDropdownList.js - About 5 hrs to fix

                                    File RangeSlider.js has 381 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    import React, { Component } from 'react';
                                    import {
                                        addComponent,
                                        removeComponent,
                                        watchComponent,
                                    Severity: Minor
                                    Found in packages/web/src/components/range/RangeSlider.js - About 5 hrs to fix

                                      Function render has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          render() {
                                              const { config, theme } = this.props;
                                              const isVue = config.name === 'vue';
                                              return (
                                                  <ThemeProvider
                                      Severity: Major
                                      Found in site/src/components/Learn.js - About 5 hrs to fix

                                        File SingleDataList.js has 376 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        import React, { Component } from 'react';
                                        
                                        import {
                                            addComponent,
                                            removeComponent,
                                        Severity: Minor
                                        Found in packages/web/src/components/list/SingleDataList.js - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language