Giter VIP home page Giter VIP logo

react-virtualized-pivot's People

Contributors

pat310 avatar scottcarol avatar turnerniles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-virtualized-pivot's Issues

Add quick pivot filtering logic

Quick pivot has filtering logic that needs to be implemented in quick pivot ui. Each dimension should be filterable. Filters should stack and have include and exclude options.

Should pivot.getUniqueValues return unique values of the current pivot or original?

When adding a filter on a certain dimension and then going back to edit that same filter, I need access to all the original unique values associated with that dimension. I am keeping track of the selected values associated with the dimension in order to filter the data using those values and could add them back into the list of values to select from; however, I would not be able to maintain the original order of values to select from unless I alphabetized strings and sorted numbers from the start. Which perhaps we should do... Other pivots seem to.

Below is an example of the current implementation, where pivot.getUniqueValues returns the unique values based on the current pivot?

const dataArray = [ ['name', 'gender', 'house', 'age'], ['Jon', 'm', 'Stark', 14], ['Arya', 'f', 'Stark', 10], ['Cersei', 'f', 'Baratheon', 38], ['Tywin', 'm', 'Lannister', 67], ['Tyrion', 'm', 'Lannister', 34], ['Joffrey', 'm', 'Baratheon', 18], ['Bran', 'm', 'Stark', 8], ['Jaime', 'm', 'Lannister', 32], ['Sansa', 'f', 'Stark', 12] ];

const pivot = new pivot(dataArray, ['gender'], [], 'age', 'sum');

pivot.getUniqueValues('gender')
-> ["m", "f"]

pivot.filter('gender', ['m'], 'exclude')
pivot.getUniqueValues('gender')
-> ["f"]

Add es6 build

As a user, I expect there to be an ES6 build in addition to UMD.

Add color schemes to Pivot component

Pivot should receive a color scheme property that is an object where each key references the part of the component and the value is a color. Then in the Pivot code all of the colors should then reference this object instead of the current hard coding. We can also create two default themes, the current color theme and another more professional theme.

Add gif to README

As a user, it would be helpful to have a gif of the library in action directly in the README so I don't have to go to the demo to see roughly what it does.

Small column resizing

As a user, when I resize the column width to be very small it causes the other columns to also resize (and may even crash the table).

EC - Add a minimum size to column width

Dark Theme - Or other theme?

Add dark theme or other theme. Get rid of funky theme?

Step 1: Add dark theme option object to the colorPack dropdown
https://github.com/turnerniles/react-virtualized-pivot/blob/master/src/app.jsx#L207-L208

Step 2: Add an additional if statement in the onColorPackSelect function. And change the colors to be in dark mode. The grid being maroon and black as current is not bad but it doesn't coordinate well with the menu colors.
https://github.com/turnerniles/react-virtualized-pivot/blob/master/src/app.jsx#L95-L119

Callback for cell display value

As a user, I expect to be able to provide a bodyCellValue prop that accepts a callback function which supplies the current cell value as a parameter. I can then adjust how the value is displayed via javascript, which may be useful for things like rounding and number formatting.

Add eslint precommit

As a developer, I expect that prior to committing eslint should run to ensure errors aren't committed to the repository.

Add CI

Add travisCI, code coverage, maybe code climate - should run automatically on PR's

Add ESLint file

Add an ESLint file, follow airbnb style guide and clean up existing code

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.