-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add supports of filtering and sorting to iot-table #184
Conversation
- config typescript & rollup - config jest - config eslint - add unit tests for createTableItems method - updated .eslintrc.js at project root level
- remove unused variables.
- update descriptions for tests in createTableItems.spec.ts - add one test case for getting data point from aggregated datastream
- add createCellItem function - add unit tests for createCellItem - rename SC_DataStream to SynchroChartsDataStream for better consistency
- update createCellItem tests.
feat: set up table package and add createTableItems method
- iconUtils.tsx - copied from synchro-charts with changes. - iconUtils.spec.ts - copied from synchro-charts with changes: -- add one test cases, that color are provided, compared with the original. - spinner.tsx - copied from synchro-charts with adjustments for React - spinner.spec.tsx - copied from synchro-charts with adjustments for React
Add new Table component
- add new test case for default cell function - fix an issue when property if missing from tableItem. - update default cell function
* feat: Replace iot-table with new version. * Update autogenerated types * fix import * another fix for import * another fix for import * Remove unused property for Iot. * Fix a typo * Code cleanups. * Code cleanups. * update type of `ColumnDefinition.formatter` also added a few use cases in testing-ground.tsx * update type of `ColumnDefinition.formatter` also added a few use cases in testing-ground.tsx * Update asset/property IDs and table examples. * update: add formatter to filterOptions Property filtering options now has the same displayed value as table. * update formatPropertyFilterOptions function to better handle error & loading states. * update test examples for table component. * Disable Customized formatter for property filter options. * update test cases after disabled formatter for filter options * Remove unused dependency. * a few bug fixes - Split sorting and propertyFiltering - Remove formatting on property filtering options. * UI adjustment - center icon and string vertically. * Update styles and unit tests * Remove unused imports and statements. * Reformat css file * Restore testing ground
* Update docs. Add README.md for new table component.
# Conflicts: # packages/components/package.json # packages/components/src/components.d.ts # packages/components/src/components/iot-table/iot-table.tsx # packages/components/src/testing/testing-ground/siteWiseQueries.ts # packages/components/src/testing/testing-ground/testing-ground.tsx # yarn.lock
This pull request introduces 1 alert when merging edd73ee into c80bf86 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging d177e2d into c80bf86 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging ed682e9 into 4cc2786 - view on LGTM.com new alerts:
|
Should this be a major version change with documented changes in the change logs? |
are there any tests related to displaying non-latest data when there are cached more recent data (i.e. that the cells don't simply always display the latest data point, as KPI/Grid/Old table did |
What are the next steps to merge this PR in? |
Adding supports of messageOverrrides by this PR: #211. |
Updating docs and bump version by this PR: #213 |
This pull request introduces 1 alert when merging 1b54f6e into 0edf35c - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 6ae7312 into 0edf35c - view on LGTM.com new alerts:
|
- render correct data based on different viewports - render spinner when a datastream is loading - render error icon and message when a datastream in error state - render icon and apply styles when it breaches thresholds
This pull request introduces 1 alert when merging 48b92de into 0edf35c - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging ccac1c5 into 0edf35c - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 1f4bf90 into 0edf35c - view on LGTM.com new alerts:
|
Closing this PR. |
Overview
Release Table component V2. Adding supports for filtering and sorting.
Tests
[Include a link to the passing GitHub action running the test suite here.]
Legal
This project is available under the Apache 2.0 License.