-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe #27388
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #27388 +/- ##
==========================================
+ Coverage 67.34% 69.71% +2.37%
==========================================
Files 1909 1909
Lines 74592 74592
Branches 8320 8320
==========================================
+ Hits 50235 52003 +1768
+ Misses 22305 20537 -1768
Partials 2052 2052
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@michael-s-molina maybe a candidate for 4.0.0rc2 if there's time? It is definitely a fix IMO, but it will change how certain charts display. If people were adapted to the buggy behavior and were specifying N-1 for min periods as a workaround to actually get N to display, it could cause an unintended data point to display. So bundling with a major release would be convenient. Not critical though and IMO could be merged into master after 4.0.0 without waiting for a breaking window. |
Merging, as I think this is a fix. If people start complaining, we can revert it. If anyone disagrees, I can revert it now. CC @sadpandajoe @Vitor-Avila FYI |
…truncates dataframe (apache#27388)
…truncates dataframe (apache#27388) (cherry picked from commit d4d8625)
…truncates dataframe (apache#27388)
…truncates dataframe (apache#27388)
* fix: Catch ImportErrors for Google SDKs (#25550) (cherry picked from commit effd73f2cc5bd4afbc830ae98feca568c773e4a5) * fix: do not use lodash/memoize (#26709) (cherry picked from commit ef4878b845ea2d3de3c0ad83a4ebfc220d8f14f4) * fix(legacy-charts): Show Time Grain control for legacy charts (#26705) (cherry picked from commit 3ed70d8f53c229682027df3efa7815ca12bd1328) * fix(db2): Improving support for ibm db2 connections (#26744) (cherry picked from commit 5eb4e82d278b29f074d0530a473c54215446fbab) * fix(BigQuery): Support special characters in column/metric names used in ORDER BY (#26461) (cherry picked from commit 4592dd13fa7fdae6d8d8c153f42d47447f5319ef) * fix(logging): Filter out undefined columns (#26314) (cherry picked from commit 01fdfbee0952d88b31910237e6e8a0c652dd65b2) * fix(import): only import FORMULA annotations (#26652) * fix: helm chart comment on SECRET_KEY (#26674) Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> * feat(helm): Upgrade default Superset version to 3.1.0 (#26707) * fix: Row limit hardcoded (#26807) (cherry picked from commit 5e633d2bb0909f1cb4904c07e29a2c683f02131c) * fix(tags): Filter system tags from the tags list (#26701) (cherry picked from commit 4f56f5ee84dffc401aced7cd705a2df910072e92) * fix(time-series table): Can't compare from the beginning of the time range (#26814) (cherry picked from commit 1f6c270f15797d2929babfd84c03a59fc8a99543) * fix(sqllab): autosync fail on migrated queryEditor (#26922) * feat(sqlparse): improve table parsing (#26476) (cherry picked from commit c0b57bd1c3d487a661315a1944aca9f9ce728d51) * fix(deck.gl Multiple Layer Chart): Add Contour and Heatmap Layer as options (#25923) (cherry picked from commit 64ba5797df92d0f8067ccd2b30ba6ff58e0bd791) * fix: prevent guest user from modifying metrics (#26749) (cherry picked from commit fade4806ceebde32a775c04d86a46c7e93bc371f) * fix: Bar charts horizontal margin adjustment error (#26817) (cherry picked from commit 84c48d11d8b3bef244823643804f5fd3d6e3ca86) * fix(pinot): typo in the name for epoch_ms_to_dttm (#26906) (cherry picked from commit 484901f4832b64845931f728db3e367f7f7c562c) * fix: handle CRLF endings causing sqlglot failure (#26911) (cherry picked from commit f2bf9f72e4f17604f5db80f25815525236a7269a) * fix: dashboard import validation (#26887) (cherry picked from commit 36ce9e26f0da7893946d787488a30722bdb4d51b) * fix: Allow exporting saved queries without schema information (#26889) (cherry picked from commit 4c5176eea82e3b168c5d11f130387d5913b33efa) * fix(cache): remove unused webserver config & handle trailing slashes (#22849) (cherry picked from commit 56069b05f9cf4d0c725d1b4b0ad6038b50837cd4) * feat(embedded+async queries): support async queries to work with embedded guest user (#26332) (cherry picked from commit efdeb9df0550458363e1c84850770012f501c9fb) * fix(plugin-chart-table): Prevent misalignment of totals and headers when scrollbar is visible (#26964) (cherry picked from commit e6d2fb6fdfa4d741de16b322bdc4bd01fb559413) * fix: column values with NaN (#26946) (cherry picked from commit d8a98475036a4fba28b3d3eb508b3d1f3f5072aa) * fix(tags): Improve support for tags with colons (#26965) (cherry picked from commit e437356013adc8beb2eca39a31beca6ba56f4c23) * fix(security manager): Users should not have access to all draft dashboards (#27015) (cherry picked from commit 01e2f8ace31950ca337a6a8d7348d37c59cf8126) * fix: safer error message in alerts (#27019) (cherry picked from commit 686ce33ea5017aad4cca18a6409c00f6b366dcf4) * fix(explore): allow free-form d3 format on custom column formatting (#27023) (cherry picked from commit fd06ff3745b0ce96ef2506e18b6d5f27d3eee045) * fix(plugins): missing currency on small number format in table chart (#27041) (cherry picked from commit 6f402991e54ae6ab0c6c98613d7e831c7f847f54) * fix: Exclude header controls from dashboard PDF export (#27068) (cherry picked from commit 005cee023b7c312d51e0f10629834d53dab4c60a) * fix: Filters sidebar stretching dashboard height (#27069) (cherry picked from commit 3f91bdb40d76539e953dd9205481459f6b2ae082) * fix(drill): no rows returned (#27073) (cherry picked from commit 0950bb7b7dd4658a112cc90e2d813267836ae002) * fix(big_number): white-space: nowrap to prevent wrapping (#27096) (cherry picked from commit 4796484190010275c037595c79b01d281d09ff60) * build(deps): bump csstype from 2.6.9 to 3.1.3 in /superset-frontend (#26716) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: chart import validation (#26993) * fix: bump FAB to 4.3.11 (#27039) * fix: Drill by with GLOBAL_ASYNC_QUERIES (#27066) * chore: Adds 3.1.1 RC1 data to CHANGELOG.md * fix: Timeseries Y-axis format with contribution mode (#27106) (cherry picked from commit af577d64b17a9730e28e9021376318326fe31437) * fix: upgrade cryptography to major 42 (#27113) (cherry picked from commit 152cd70b5f77828f1f63c5c40f7a2cb2bcfa156e) * fix: bump grpcio, urllib3 and paramiko (#27124) (cherry picked from commit e43097329ff16f0661f275382f780165e4dad3ec) * fix: gevent upgrade to 23.9.1 (#27112) * fix: RLS modal overflow (#27128) (cherry picked from commit 506ea756ad858f7325adecc73e4969f4476c642d) * fix(pivot-table-v2): Added forgotten translation pivot table v2 (#22840) (cherry picked from commit 60fe58196a6e8dd1ea7a2e6aaf8401d0a718bc41) * chore: lower cryptography min version to 41.0.2 (#27129) (cherry picked from commit d2910b0b87232b88be1f8199a3501df99e108468) * fix: Plain error message when visiting a dashboard via permalink without permissions (#27132) * fix: Duplicated toast messages (#27135) * feat: bump FAB to 4.4.0 (#27159) (cherry picked from commit f7c5773a97bdea7ee767912d58a5cfdf23a5be87) * fix(ci): mypy pre-commit issues (#27161) (cherry picked from commit 8dc6cbe206b4a4e5da365f66c3d2fcfec7dd9c6b) * fix(sqllab): typeahead search is broken in db selector (#27181) (cherry picked from commit 8fbaf84f66585146c17c23ec3e530d59902efd75) * fix: Failed to execute importScripts on worker-css (#27191) (cherry picked from commit 983a1646c439116d0f65b7f2e9907ebb5046d672) * fix: no limit in SELECT * for TOP dbs (#27215) (cherry picked from commit c54fbe6e969fe57cddc69759796e4df1f603430e) * fix: setting important lower bounds versions on requirements (#27167) * fix: bump FAB to 4.4.1 (perf issue) (#27233) (cherry picked from commit 62cf0365e9176e0ac0c68c64000ae2eca2104889) * chore: Removes Chromatic workflow and dependencies (#27232) * fix(sqlglot): Address regressions introduced in #26476 (#27217) (cherry picked from commit 2c564817f1978e34770e02034a7a4c02e1bfdc9f) * fix(reports): fixing unit test (#27236) (cherry picked from commit 62783150727d5239eb7588728c941d9df8283120) * fix(trino): bumping trino to fix hudi schema fetching (#27213) * fix: Sorting charts/dashboards makes the applied filters ineffective (#27258) (cherry picked from commit 8b4dce71d6cbe3b48c8847c2f641bd7dd5de3e3c) * fix(import-datasources): Use "admin" user as default for importing datasources (#27154) * fix: Inoperable dashboard filter slider when range is <= 1 (#27271) Co-authored-by: Justin Francos <jfrancos@manifold.ai> (cherry picked from commit ce9e4b4b776ba8071aab2ede538b51828250bb2b) * fix: Navigating to an invalid page index in lists (#27273) * fix: Data zoom with horizontal orientation (#27291) (cherry picked from commit 7854b622a34c9a9674e2c916acb8acbc63714fb8) * fix: Incorrect data type on import page (#27307) (cherry picked from commit fa04eec2d5cdd2698e8a3f28926ab70d17358e86) * fix(plugin-chart-echarts): calculate Gauge Chart intervals correctly when min value is set (#27285) (cherry picked from commit d65f64d1ceacb69226fa1907343405b5571bc6a8) * fix(sqllab): invalid dump sql shown after closing tab (#27295) * chore: bump cryptography minimum to 42.0.4 (#27281) (cherry picked from commit 371f2ab851eee46cd4ab3c5428c8061430a288ad) * fix(dashboard): table chart drag preview overflowing container (#27308) (cherry picked from commit ad3995daf62984bc0652c155643e0aca3a2840a0) * fix: Heatmap numeric sorting (#27360) (cherry picked from commit fe2f5a7be9fb6218aa72ab9173481fd21fa40b20) * chore: numexpr to fix CVE-2023-39631 (2.8.4 => 2.9.0) (#27187) Co-authored-by: Stefan Arnold <stefan.st.arnold@mercedes-benz.com> * fix: Results section in Explore shows an infinite spinner (#27366) (cherry picked from commit 231e659b56617fcdefa7534e14ffcfe50a8c084c) * fix(docker): Remove race condition when building image (#26205) (cherry picked from commit f68dd8293f9c7e798756e90c154d8473d0d1cb49) * fix: improve explore REST api validations (#27395) (cherry picked from commit a3d2e0bf447fad5d4495eea97529118b562f4e3c) * fix(API): Updating assets via the API should preserve ownership configuration (#27364) (cherry picked from commit 66bf70172f2cbd24b17b503588f2edbed0a63247) * fix(sqllab): Close already removed tab (#27391) (cherry picked from commit 5107cc0fd9134886d7a8eefd51fb242e520a542e) * fix: missing shared color in mixed timeseries (#27403) (cherry picked from commit 9ced2552dbeeaf60217b385d4c40cbaf4372c787) * fix(deps): resolving canvg and html2canvas module not found (#27315) (cherry picked from commit 5915851ba308ce06a914f173fba8b0c47c4e32c0) * fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262) * fix(dashboard): Only fetch CSS templates for dashboard header menu when in edit mode (#27411) Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com> * fix(webpack): remove double-dotted file extensions in webpack config (#27471) (cherry picked from commit 47ae9d4cc3ca94332cb14359fb8a306f91c2da60) * fix: check if guest user modified query (#27484) (cherry picked from commit 735b895dd5e409bfc95406e847a82fd786d93a1d) * fix(postprocessing): resample with holes (#27487) (cherry picked from commit 7f19d296b16d8463931b42c8258600b210b56475) * fix(alerts/reports): implementing custom_width as an Antd number input (#27260) * feat: `improve _extract_tables_from_sql` (#26748) * fix: pass valid SQL to SM (#27464) (cherry picked from commit 376bfd05bdba2bbc4bde2d209324105d0d408ee4) * fix: guest queries (#27566) (cherry picked from commit 36290ce72fa806e8b6c063511ea434a97d91c3a9) * fix: Skips Hive tests that are blocking PRs (#27605) (cherry picked from commit 718cd64657248f846a03a73167d2dc32d1f9dec5) * fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567) (cherry picked from commit fcceaf081c85c501ce946a114447751d43a1f8fb) * fix: bump sqlglot to support materialized CTEs (#27576) * fix: sqlglot SQL Server (#27577) (cherry picked from commit 72a41c16424e86c92d7423aac7e9fbab505a2c37) * fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe (#27388) (cherry picked from commit d4d8625ab83168b10a5977a7cc402707b5fff2a9) * fix(Dashboard): Add editMode conditional for translate3d fix on charts to allow intended Fullscreen (#27613) (cherry picked from commit 842b0939f6a182a8f7d3c7c893200d93be3a4b0c) * fix: Volatile datasource ordering in dashboard export (#19595) Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) * fix: Persist query params appended to permalink (#27601) * fix(AlertReports): clearing custom_width when disabled (#27551) (cherry picked from commit 0f6e4041c73bcae931bac0a9daa1837beac5aaf6) * fix(AlertReports): defaulting grace period to undefined (#27552) (cherry picked from commit 4fce940a9c3566c5dded68aa5cbba26fb562ae69) * fix(Chart Annotation modal): Table and Superset annotation options will paginate, exceeding previous max limit 100 (#27022) (cherry picked from commit ce210eebdeeb374611e5b273379a889244f64288) * fix(sqllab): unable to remove table (#27636) (cherry picked from commit fa3fea9dd811d3cfdbbfe93f31d34992e603ec60) * fix: Leverage actual database for rendering Jinjarized SQL (#27646) * fix: Provide more inclusive error handling for saved queries (#27644) (cherry picked from commit 3ae74d1f2daf0399434e16145ba585045bff779f) * fix: reduce alert error to warning (#27744) (cherry picked from commit 70da454bbce107c624efda9535f50f7b3ce411b2) * fix: Select onChange is fired when the same item is selected in single mode (#27706) (cherry picked from commit d69a1870a02787381345c7e67cbb1803d708b2f6) * chore: Adds 3.1.2 RC1 data to CHANGELOG.md * updating packagelock file * post merge fixes (#290) * Fix module imports (#292) * [CLDN-2064] Fixed column header reset bug (#296) Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * removed legacy time section (#297) * removed legacy time section * removed unused import * update base image * fix/CLDN-2141 move emit filters from explore to dashboard for cccs-grid (#298) * added changes to align cccs-viz with upstream cross-filtering * fixed errors * update base image * update base image tag * Fix/cldn 2009 emiting filters resets column sorting (#299) * added changes to align cccs-viz with upstream cross-filtering * fixed column sorting being reset on emit filters * fixed errors * update base image * update base image * advanced type null fix * removed legacy time section * removed unused import * updating docker image * fixed bootstrap data * update docker file * [CLDN-2064] Fixed column header reset bug * fix column sorting not updating columns * updating base image * updating base image * fixed sorting issue with multipl columns * update base image --------- Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * fix column ordering so it persists after emitting cross filters (#324) * fix column ordering so it persists after emitting cross filters * update base image * fixed principal columns in aggregate mode in explore * update base image * allow disabling select all * fixed npm error * updating base image * fixed label names * fixed tooltip to use verbose name * fixed import error * update image tag * dont allow new values for principal column selector * update base image tag --------- Co-authored-by: cccs-RyanK <ryan.kane@cyber.gc.ca> * updating image tag (#314) * updating image tag * update image * Update Dockerfile * Feature CLDN-2249 (#340) * CLDN-2240: Added code to open the datahub link in a new window * CLDN-2249: Added referrer as per the jsx-no-target-blank rule * hogwarts-auth update to 2.0.1.13280 (#346) * tag update for hogwarts-auth update (#347) * Feature/dataset explorer chart (#348) * [cccs-2.0] updating docker file (#188) * [CLDN-1565] Fixing bugs (#189) * [CLDN-1565] Fixing bugs * removing uneeded import * Feature/cldn 1565 (#192) * [CLDN-1565] Fixing bugs * removing uneeded import * [CLDN-1565] Adding new image * Feature/cldn 1609 (#195) * Add row number option to CCCS-Grid (#181) * Add row number option to CCCS-Grid * Have row numbers show by default Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Use new build agent (#187) * Use new build agent * Remove quotes * Display datahub link for datasets with defined URN (#177) * Display datahub link for datasets with defined URN * Add datahub SVG * Reorder imports * Add datahub link to dashboards * Convert to camel case * Add tests for DatasetList * Add tests for dashboard header * Provide explanation for empty catch * [CLDN-1540] Added ability for multiple user emails to be filtered on at once * [CLDN-1540] temp update to docker image tag so that we can deploy code changes to PB-stg * [CLDN-1540] revert of temp update to docker image tag so that we can deploy code changes to PB-stg * Add path to url (#193) * [CLDN-1609] Fixing post merge build errors * Update cccs-build/superset-base/azure-pipelines.yml Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-at-a-glance-user-id/src/styles.js Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * [CLDN-1609] Updating image (#196) * [CLDN-1620] Making rendering use advanced type (#197) * updating image (#198) * [CLDN-1609] Fixing all QA bugs (#201) * [CLDN-1609] Fixing all QA bugs * [CLDN-1609] Fixing build errors * [CLDN-1609] adding additional fixes * [CLDN-1609] Removing log files * [CLDN-1609] Fixing build error Co-authored-by: reesercollins <10563996+reesercollins@users.noreply.github.com> * Feature/cldn 1541 (#200) * [CLDN-1541] Added the ability to filter on multiple user ID's and IP's at the same time in the Application Links custom viz * Temp update to image for deploying to PB-stg * Reverting change to image * [CLDN-1541] Added a tooltip to the Alfred icon * Temp update to base image * Reverting temporary change to image tag * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-application-links/src/ApplicationLinks.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-application-links/src/ApplicationLinks.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1541] Changed the logic around creating the proper links/URL * Temp update to img * Undo temp img change Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1609] Updating docker image (#202) * [cccs-2.0] Fixing case sensitivity (#203) * [cccs-2.0] Fixing case sensitivity * [cccs-2.0] Pusing temp image * [cccs-2.0] fixing two order bys * [cccs-2.0] fixing verbose names, fixing sizing, fixing ordering * [cccs-2.0] fixing build error * [cccs-2.0] updating image * [cccs-2.0] fixing time columns * [cccs-2.0] Fixing build errors * [cccs-2.0] updating docker file * [cccs-2.0] Fixing time column to populate default time col * Fixing default time col * [cccs-2.0] updating image * Fix issue where datasets without a date/datetime column would not load in the explore view * Time column dropdown list is now properly populated with either the default temporal column, or the first temporal column (if a default is not set) * Temp update to base image tag * Fixed the bug where when there are no dttm columns, the non-dttm columns were being displayed * Temp update to base image tag * Reverting changes to the img Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Fix/cccs 2.0 (#204) * [cccs-2.0] Fixing case sensitivity * [cccs-2.0] Pusing temp image * [cccs-2.0] fixing two order bys * [cccs-2.0] fixing verbose names, fixing sizing, fixing ordering * [cccs-2.0] fixing build error * [cccs-2.0] updating image * [cccs-2.0] fixing time columns * [cccs-2.0] Fixing build errors * [cccs-2.0] updating docker file * [cccs-2.0] Fixing time column to populate default time col * Fixing default time col * [cccs-2.0] updating image * Fix issue where datasets without a date/datetime column would not load in the explore view * Time column dropdown list is now properly populated with either the default temporal column, or the first temporal column (if a default is not set) * Temp update to base image tag * Fixed the bug where when there are no dttm columns, the non-dttm columns were being displayed * Temp update to base image tag * Reverting changes to the img * Updating image tag Co-authored-by: cccs-RyanS <71385290+cccs-RyanS@users.noreply.github.com> * Fixed issue with Typescript (#205) * Fix cccs 2.0 (#206) * Fixed issue with Typescript * Update image tag * Feature/cldn 1563 (#207) * Ran pre-commit hook on the front-end * Removed unused file & removed duplicate method * Made changes so that the pre-commit hook would pass all tests * Temp update to build img * revert temp change to build img * Updated image (#208) * [CLDN-1683] Added code to show column descriptions as tooltips in the… (#209) * [CLDN-1683] Added code to show column descriptions as tooltips in the Hogwarts Table custom visualisation * [CLDN-1683] Temp update to build image * [CLDN-1683] Revert update to image tag * Feature/cldn 1676 (#210) * [CLDN-1676] Added ability to search for the IPv4 rendered value of an IP address instead of the raw value * [CLDN-1676] Temp update to img for deploying to UDev * [CLDN-1676] Undo temp update to img for deploying to UDev * Updating Superset Base Image Tag (#211) * added adhoc filter plugin files * Made sure that adhoc filter uses the adhoc filter object * added adhocfiltercontrol to native adhoc filter * fixed hook that made too many requests * fixed applied filter label * removed duplicate files * Removed uneeded functions * Removed uneeded functions and variables * Removed unused props variables * modifying base image tag * Removed unused config settings * removed column for filter config form * Improved the applied filter(s) modal * Temp update to build image * fixed string formatting issue: * updating superset base image tag * added setFocused hooks to filter when hovering * Fixed the right click to emit dashboard cross-filters (#213) * Fixed the right click to emit filters through the context menu as it was not working * Temp update to build image * Revert temp update to build image * Updated superset base image (#214) * fixed unused declaration error * updating image * Prevent invalid filter values from being saved (#215) By assuming that all input is invalid until the api tells us otherwise, we can prevent the user from clicking the save button in the time between the value being entered and the api returning. * [cccs-2.0] fixing trino req (#216) * updating superset-base image tag * added option to emit a filter from a default column for a row in ag grid * Update trino python client (#219) * Updated trino python client from 0.316.0 to 0.318.0 * Temp update to base image tag * Removing temp change to build image * Updated superset's base image tag (#221) * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * changed control panel to plural * disallow columns that are not a part of the chart to be selected as default emit filters * updated image tag * updated control panel logic for agg mode * update image tag * fixed issues * updating base image * fixed refactor error * updating base image * fixed so that option disables properly * updating base image * Add users API to get and delete users (#223) * Add users API to get and delete users * Allow browser login for users api * updating image * Update cccs-build/superset/Dockerfile Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Added ability to certify entities with multiple values (#224) * Added ability to certify entities with multiple values * Update description text to reflect new feature * Add tests for multiple certified by values * Feature/cldn 1749 (#222) * [CLDN-1749] adding new viz * chanigng to work with standard filters * Adding generic filter extraction * Removing unused imports * [CLDN-1749] Cleaning up code for reusablility * [CLDN-1749] removing unused files * [CLDN-1746] fixing case * [CLDN-1749] adding parameter validation * [CLDN-1749] adding error message and prefix parameter * [CLDN-1749] removing unused files * [CLDN-1749] adding temp base image for docker deployment * [CLDN-1749] Better error handling and new icon * [CLDN-1749] remove unused imports * temp dockerfile change * [CLDN-1749] Adding the adhoc filters back in * [CLDN-1749] Updating image * [CLDN-1749] Adding new thumbnail * Updating dockerfile * [CLDN-1749] Removing uneeded control panel elements * [CLDN-1749] Fixing build errors * [CLDN-1749] New image * Change to use data from dataset * Removing unsed function * Fixing typos * renove unused import * updating image * error message and label fixes * updating image * Update cccs-build/superset/Dockerfile Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-iframe/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-iframe/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Prevent non-admins from using users api (#236) * Prevent non-admins from using users api * Add tests * added styles to highlight adhoc filter when focused and fix awkward empty header * removed suggestions from popping up * added comment * fixed unused import error * updating base image * Update Dockerfile * [CLDN-1829] fixing principle filter logic with state (#234) (#244) * [CLDN-1829] fixing principle filter logic with state * [CLDN-1829] Fixing build error * [cccs-2.0] Updating image (#245) * value set to empty list instead of undefined * updating base image * Feature/cldn 1748 (#243) * [CLDN-1748] adding base component * [CLDN-1748] changing state to use advanced data type * [CLDN-1748] add multi select for musiness type * [CLDN-1748] adding config manager * [CLDN-1748] fixing build errors * temp update of base image * [CLDN-1748] Fixing Url parameter encoding and show name of dashboard drilling to * temp update of image * Pulling extra data from dashboard endpoint * Adding more data to filters object * [CLDN-1748] passing mroe fitler information * [CLDN-1748] QA feedback * [CLDN-1748] Fixing build issues * [CLDN-1748] Updating dockerfile * [CLDN-1748] Updating dockerfile * fixing props name * update image * updating docker file * [CLDN-1748] Name changes * [CLDN-1748] updating image * [CLDN-1748] Adding icon * [CLDN-1748] fixing build errors * [CLDN-1748] update image * [CLDN-1748] fixing context menue to renderering * UPdating docker file * CLDN-1710 including schema in search columns for datasets api (#253) * Update Dockerfile * CLDN-1710 tag update (#255) * update image tag * updating image tag * Update vault image to get new CAs * update image tag * Update Dockerfile * Update Dockerfile * Feature/cldn 1773 (#269) * [CLDN-1773] Adding default group by * Updating DockerFile * Fixing Groupby * Updating base image * [CLDN-1773] Saving Group by order * Updating dockerfile * Update controlPanel.tsx * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> --------- Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Updating docker file (#270) * Feature/cldn 1968 (Display JSON data inline) (#268) * Add buttons to expand and minimize JSON data as well as ability to expand and/or collapse all rows in a certain column * [CLDN-1968] Added expand button for full row * [CLDN-1968] Resize JSON columns * [CLDN-1968] Added new array which tracks JSON cell state * Revert "[CLDN-1968] Added new array which tracks JSON cell state" This reverts commit dabc3daee96cfbe39d9615837076e54736e518b6. * [CLDN-1968] Added ability for row level expand all button to track if cells are expanded or not * [CLDN-1968] Ran pre-commit hook * [CLDN-1968] Improved UI * [CLDN-1968] Update image tag for testing * [CLDN-1968] Revert image tag for testing * [CLDN-1968] Added multiple UI/UX changes based on QA feedback * [CLDN-1968] Added more UI/UX changes based on QA feedback * [CLDN-1968] Temp change to image * Revert "[CLDN-1968] Temp change to image" This reverts commit 57490bd71dbf14499f08e21e691933d6bbaf914d. * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1968] Remove 'TODO's as they are no longer needed * [CLDN-1968] Changed a variable name, and condensed a few lines * [CLDN-1968] Modified a setState so that only one is needed instead of 2 --------- Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Feature/cldn 1968 (#272) * Add buttons to expand and minimize JSON data as well as ability to expand and/or collapse all rows in a certain column * [CLDN-1968] Added expand button for full row * [CLDN-1968] Resize JSON columns * [CLDN-1968] Added new array which tracks JSON cell state * Revert "[CLDN-1968] Added new array which tracks JSON cell state" This reverts commit dabc3daee96cfbe39d9615837076e54736e518b6. * [CLDN-1968] Added ability for row level expand all button to track if cells are expanded or not * [CLDN-1968] Ran pre-commit hook * [CLDN-1968] Improved UI * [CLDN-1968] Update image tag for testing * [CLDN-1968] Revert image tag for testing * [CLDN-1968] Added multiple UI/UX changes based on QA feedback * [CLDN-1968] Added more UI/UX changes based on QA feedback * [CLDN-1968] Temp change to image * Revert "[CLDN-1968] Temp change to image" This reverts commit 57490bd71dbf14499f08e21e691933d6bbaf914d. * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1968] Remove 'TODO's as they are no longer needed * [CLDN-1968] Changed a variable name, and condensed a few lines * [CLDN-1968] Modified a setState so that only one is needed instead of 2 * Update superset base image --------- Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Adding componenets * [CLDN-2142] Finish Dateetime Picker and reorg control panael * added changes to align cccs-viz with upstream cross-filtering * fixed column sorting being reset on emit filters * fixed errors * [CLDN-2142] Adding validation for advanced type input * update base image * update base image * advanced type null fix * removed legacy time section * removed unused import * updating docker image * fixed bootstrap data * update docker file * [CLDN-2064] Fixed column header reset bug * fix column sorting not updating columns * updating base image * updating base image * [expore++] Fixing bugs with page reload * fixing build errors * Dockerfile update * CLDN-2198 updated formatting and removed change dataset button from cccs-grid * CLDN-2202 updated formatting and fixed time range validation errors * CLDN-2195 prevent running an emtpy query aggregate mode * CLDN-2203 make wording in date errors consistent with labels * CLDN-2205 make time range invisible when no time column is selected * CLDN-2206 Fixed formatting, labelling, classname, and disable selector values when there is no selector * CLDN-2207 show advanced type labels and not ids in selector dropdown * CLDN-2208 clear values when selector is changed * CLDN-2210 change button name to Swap Dataset * CLDN-2211 fix query builder to use actual values rather than strings * fixed npm errors * update image tag * merge fixes and tool tip update * CLDN-2209 fix incorrect dimensions after swapping datasets * Select All not working on swap datasets, default to no selection * fixed npm build errros * update base image * CLDN-2208 Mandatory to have a value if selector is selected and invalid entries disable run query button * disable time range when no time column is selected * change selector to advanced data type and values now saved in form data properly * fix refactor mistake and allow querying ranges of advanced types * added comments and removed debugging lines * remove unecessary tool tip and fix npm issues * validation in progress to prevent running query on bad values * update base image * fix for temporarily caching form data * readded tooltip * fixed tooltip, added order by * npm error fix * update base image * removed changes from hogwarts table viz * fix error in tooltip for adt value * update image tag * removed unused adhoc time filter * fixed import order * update docker file * [dataset explorer] pr feedback --------- Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> Co-authored-by: GITHUB_USERNAME <EMAIL> Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com> Co-authored-by: cccs-RyanK <ryan.kane@cyber.gc.ca> Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * Feature/cldn 2170 (#353) * CLDN-2170 Encoding parameter prefix and parameter value * CLDN-2170 Refactoring to ensure 'undefined' value doesn't appear for paremeter_prefix if = is not included in parameter_name * Feature/dataset explorer chart update chart (#355) * [cccs-2.0] updating docker file (#188) * [CLDN-1565] Fixing bugs (#189) * [CLDN-1565] Fixing bugs * removing uneeded import * Feature/cldn 1565 (#192) * [CLDN-1565] Fixing bugs * removing uneeded import * [CLDN-1565] Adding new image * Feature/cldn 1609 (#195) * Add row number option to CCCS-Grid (#181) * Add row number option to CCCS-Grid * Have row numbers show by default Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Use new build agent (#187) * Use new build agent * Remove quotes * Display datahub link for datasets with defined URN (#177) * Display datahub link for datasets with defined URN * Add datahub SVG * Reorder imports * Add datahub link to dashboards * Convert to camel case * Add tests for DatasetList * Add tests for dashboard header * Provide explanation for empty catch * [CLDN-1540] Added ability for multiple user emails to be filtered on at once * [CLDN-1540] temp update to docker image tag so that we can deploy code changes to PB-stg * [CLDN-1540] revert of temp update to docker image tag so that we can deploy code changes to PB-stg * Add path to url (#193) * [CLDN-1609] Fixing post merge build errors * Update cccs-build/superset-base/azure-pipelines.yml Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-at-a-glance-user-id/src/styles.js Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * [CLDN-1609] Updating image (#196) * [CLDN-1620] Making rendering use advanced type (#197) * updating image (#198) * [CLDN-1609] Fixing all QA bugs (#201) * [CLDN-1609] Fixing all QA bugs * [CLDN-1609] Fixing build errors * [CLDN-1609] adding additional fixes * [CLDN-1609] Removing log files * [CLDN-1609] Fixing build error Co-authored-by: reesercollins <10563996+reesercollins@users.noreply.github.com> * Feature/cldn 1541 (#200) * [CLDN-1541] Added the ability to filter on multiple user ID's and IP's at the same time in the Application Links custom viz * Temp update to image for deploying to PB-stg * Reverting change to image * [CLDN-1541] Added a tooltip to the Alfred icon * Temp update to base image * Reverting temporary change to image tag * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-application-links/src/ApplicationLinks.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-application-links/src/ApplicationLinks.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1541] Changed the logic around creating the proper links/URL * Temp update to img * Undo temp img change Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1609] Updating docker image (#202) * [cccs-2.0] Fixing case sensitivity (#203) * [cccs-2.0] Fixing case sensitivity * [cccs-2.0] Pusing temp image * [cccs-2.0] fixing two order bys * [cccs-2.0] fixing verbose names, fixing sizing, fixing ordering * [cccs-2.0] fixing build error * [cccs-2.0] updating image * [cccs-2.0] fixing time columns * [cccs-2.0] Fixing build errors * [cccs-2.0] updating docker file * [cccs-2.0] Fixing time column to populate default time col * Fixing default time col * [cccs-2.0] updating image * Fix issue where datasets without a date/datetime column would not load in the explore view * Time column dropdown list is now properly populated with either the default temporal column, or the first temporal column (if a default is not set) * Temp update to base image tag * Fixed the bug where when there are no dttm columns, the non-dttm columns were being displayed * Temp update to base image tag * Reverting changes to the img Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Fix/cccs 2.0 (#204) * [cccs-2.0] Fixing case sensitivity * [cccs-2.0] Pusing temp image * [cccs-2.0] fixing two order bys * [cccs-2.0] fixing verbose names, fixing sizing, fixing ordering * [cccs-2.0] fixing build error * [cccs-2.0] updating image * [cccs-2.0] fixing time columns * [cccs-2.0] Fixing build errors * [cccs-2.0] updating docker file * [cccs-2.0] Fixing time column to populate default time col * Fixing default time col * [cccs-2.0] updating image * Fix issue where datasets without a date/datetime column would not load in the explore view * Time column dropdown list is now properly populated with either the default temporal column, or the first temporal column (if a default is not set) * Temp update to base image tag * Fixed the bug where when there are no dttm columns, the non-dttm columns were being displayed * Temp update to base image tag * Reverting changes to the img * Updating image tag Co-authored-by: cccs-RyanS <71385290+cccs-RyanS@users.noreply.github.com> * Fixed issue with Typescript (#205) * Fix cccs 2.0 (#206) * Fixed issue with Typescript * Update image tag * Feature/cldn 1563 (#207) * Ran pre-commit hook on the front-end * Removed unused file & removed duplicate method * Made changes so that the pre-commit hook would pass all tests * Temp update to build img * revert temp change to build img * Updated image (#208) * [CLDN-1683] Added code to show column descriptions as tooltips in the… (#209) * [CLDN-1683] Added code to show column descriptions as tooltips in the Hogwarts Table custom visualisation * [CLDN-1683] Temp update to build image * [CLDN-1683] Revert update to image tag * Feature/cldn 1676 (#210) * [CLDN-1676] Added ability to search for the IPv4 rendered value of an IP address instead of the raw value * [CLDN-1676] Temp update to img for deploying to UDev * [CLDN-1676] Undo temp update to img for deploying to UDev * Updating Superset Base Image Tag (#211) * added adhoc filter plugin files * Made sure that adhoc filter uses the adhoc filter object * added adhocfiltercontrol to native adhoc filter * fixed hook that made too many requests * fixed applied filter label * removed duplicate files * Removed uneeded functions * Removed uneeded functions and variables * Removed unused props variables * modifying base image tag * Removed unused config settings * removed column for filter config form * Improved the applied filter(s) modal * Temp update to build image * fixed string formatting issue: * updating superset base image tag * added setFocused hooks to filter when hovering * Fixed the right click to emit dashboard cross-filters (#213) * Fixed the right click to emit filters through the context menu as it was not working * Temp update to build image * Revert temp update to build image * Updated superset base image (#214) * fixed unused declaration error * updating image * Prevent invalid filter values from being saved (#215) By assuming that all input is invalid until the api tells us otherwise, we can prevent the user from clicking the save button in the time between the value being entered and the api returning. * [cccs-2.0] fixing trino req (#216) * updating superset-base image tag * added option to emit a filter from a default column for a row in ag grid * Update trino python client (#219) * Updated trino python client from 0.316.0 to 0.318.0 * Temp update to base image tag * Removing temp change to build image * Updated superset's base image tag (#221) * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * changed control panel to plural * disallow columns that are not a part of the chart to be selected as default emit filters * updated image tag * updated control panel logic for agg mode * update image tag * fixed issues * updating base image * fixed refactor error * updating base image * fixed so that option disables properly * updating base image * Add users API to get and delete users (#223) * Add users API to get and delete users * Allow browser login for users api * updating image * Update cccs-build/superset/Dockerfile Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Added ability to certify entities with multiple values (#224) * Added ability to certify entities with multiple values * Update description text to reflect new feature * Add tests for multiple certified by values * Feature/cldn 1749 (#222) * [CLDN-1749] adding new viz * chanigng to work with standard filters * Adding generic filter extraction * Removing unused imports * [CLDN-1749] Cleaning up code for reusablility * [CLDN-1749] removing unused files * [CLDN-1746] fixing case * [CLDN-1749] adding parameter validation * [CLDN-1749] adding error message and prefix parameter * [CLDN-1749] removing unused files * [CLDN-1749] adding temp base image for docker deployment * [CLDN-1749] Better error handling and new icon * [CLDN-1749] remove unused imports * temp dockerfile change * [CLDN-1749] Adding the adhoc filters back in * [CLDN-1749] Updating image * [CLDN-1749] Adding new thumbnail * Updating dockerfile * [CLDN-1749] Removing uneeded control panel elements * [CLDN-1749] Fixing build errors * [CLDN-1749] New image * Change to use data from dataset * Removing unsed function * Fixing typos * renove unused import * updating image * error message and label fixes * updating image * Update cccs-build/superset/Dockerfile Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-iframe/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-iframe/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Prevent non-admins from using users api (#236) * Prevent non-admins from using users api * Add tests * added styles to highlight adhoc filter when focused and fix awkward empty header * removed suggestions from popping up * added comment * fixed unused import error * updating base image * Update Dockerfile * [CLDN-1829] fixing principle filter logic with state (#234) (#244) * [CLDN-1829] fixing principle filter logic with state * [CLDN-1829] Fixing build error * [cccs-2.0] Updating image (#245) * value set to empty list instead of undefined * updating base image * Feature/cldn 1748 (#243) * [CLDN-1748] adding base component * [CLDN-1748] changing state to use advanced data type * [CLDN-1748] add multi select for musiness type * [CLDN-1748] adding config manager * [CLDN-1748] fixing build errors * temp update of base image * [CLDN-1748] Fixing Url parameter encoding and show name of dashboard drilling to * temp update of image * Pulling extra data from dashboard endpoint * Adding more data to filters object * [CLDN-1748] passing mroe fitler information * [CLDN-1748] QA feedback * [CLDN-1748] Fixing build issues * [CLDN-1748] Updating dockerfile * [CLDN-1748] Updating dockerfile * fixing props name * update image * updating docker file * [CLDN-1748] Name changes * [CLDN-1748] updating image * [CLDN-1748] Adding icon * [CLDN-1748] fixing build errors * [CLDN-1748] update image * [CLDN-1748] fixing context menue to renderering * UPdating docker file * CLDN-1710 including schema in search columns for datasets api (#253) * Update Dockerfile * CLDN-1710 tag update (#255) * update image tag * updating image tag * Update vault image to get new CAs * update image tag * Update Dockerfile * Update Dockerfile * Feature/cldn 1773 (#269) * [CLDN-1773] Adding default group by * Updating DockerFile * Fixing Groupby * Updating base image * [CLDN-1773] Saving Group by order * Updating dockerfile * Update controlPanel.tsx * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/plugin/transformProps.ts Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> --------- Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> * Updating docker file (#270) * Feature/cldn 1968 (Display JSON data inline) (#268) * Add buttons to expand and minimize JSON data as well as ability to expand and/or collapse all rows in a certain column * [CLDN-1968] Added expand button for full row * [CLDN-1968] Resize JSON columns * [CLDN-1968] Added new array which tracks JSON cell state * Revert "[CLDN-1968] Added new array which tracks JSON cell state" This reverts commit dabc3daee96cfbe39d9615837076e54736e518b6. * [CLDN-1968] Added ability for row level expand all button to track if cells are expanded or not * [CLDN-1968] Ran pre-commit hook * [CLDN-1968] Improved UI * [CLDN-1968] Update image tag for testing * [CLDN-1968] Revert image tag for testing * [CLDN-1968] Added multiple UI/UX changes based on QA feedback * [CLDN-1968] Added more UI/UX changes based on QA feedback * [CLDN-1968] Temp change to image * Revert "[CLDN-1968] Temp change to image" This reverts commit 57490bd71dbf14499f08e21e691933d6bbaf914d. * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1968] Remove 'TODO's as they are no longer needed * [CLDN-1968] Changed a variable name, and condensed a few lines * [CLDN-1968] Modified a setState so that only one is needed instead of 2 --------- Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Feature/cldn 1968 (#272) * Add buttons to expand and minimize JSON data as well as ability to expand and/or collapse all rows in a certain column * [CLDN-1968] Added expand button for full row * [CLDN-1968] Resize JSON columns * [CLDN-1968] Added new array which tracks JSON cell state * Revert "[CLDN-1968] Added new array which tracks JSON cell state" This reverts commit dabc3daee96cfbe39d9615837076e54736e518b6. * [CLDN-1968] Added ability for row level expand all button to track if cells are expanded or not * [CLDN-1968] Ran pre-commit hook * [CLDN-1968] Improved UI * [CLDN-1968] Update image tag for testing * [CLDN-1968] Revert image tag for testing * [CLDN-1968] Added multiple UI/UX changes based on QA feedback * [CLDN-1968] Added more UI/UX changes based on QA feedback * [CLDN-1968] Temp change to image * Revert "[CLDN-1968] Temp change to image" This reverts commit 57490bd71dbf14499f08e21e691933d6bbaf914d. * Update superset-frontend/src/cccs-viz/plugins/plugin-chart-cccs-grid/src/CccsGrid.tsx Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * [CLDN-1968] Remove 'TODO's as they are no longer needed * [CLDN-1968] Changed a variable name, and condensed a few lines * [CLDN-1968] Modified a setState so that only one is needed instead of 2 * Update superset base image --------- Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> * Adding componenets * [CLDN-2142] Finish Dateetime Picker and reorg control panael * added changes to align cccs-viz with upstream cross-filtering * fixed column sorting being reset on emit filters * fixed errors * [CLDN-2142] Adding validation for advanced type input * update base image * update base image * advanced type null fix * removed legacy time section * removed unused import * updating docker image * fixed bootstrap data * update docker file * [CLDN-2064] Fixed column header reset bug * fix column sorting not updating columns * updating base image * updating base image * [expore++] Fixing bugs with page reload * fixing build errors * Dockerfile update * CLDN-2198 updated formatting and removed change dataset button from cccs-grid * CLDN-2202 updated formatting and fixed time range validation errors * CLDN-2195 prevent running an emtpy query aggregate mode * CLDN-2203 make wording in date errors consistent with labels * CLDN-2205 make time range invisible when no time column is selected * CLDN-2206 Fixed formatting, labelling, classname, and disable selector values when there is no selector * CLDN-2207 show advanced type labels and not ids in selector dropdown * CLDN-2208 clear values when selector is changed * CLDN-2210 change button name to Swap Dataset * CLDN-2211 fix query builder to use actual values rather than strings * fixed npm errors * update image tag * merge fixes and tool tip update * CLDN-2209 fix incorrect dimensions after swapping datasets * Select All not working on swap datasets, default to no selection * fixed npm build errros * update base image * CLDN-2208 Mandatory to have a value if selector is selected and invalid entries disable run query button * disable time range when no time column is selected * change selector to advanced data type and values now saved in form data properly * fix refactor mistake and allow querying ranges of advanced types * added comments and removed debugging lines * remove unecessary tool tip and fix npm issues * validation in progress to prevent running query on bad values * update base image * fix for temporarily caching form data * readded tooltip * fixed tooltip, added order by * npm error fix * update base image * removed changes from hogwarts table viz * fix error in tooltip for adt value * update image tag * removed unused adhoc time filter * fixed import order * update docker file * [dataset explorer] pr feedback * Updating docker file * testing datetime formatting * fixing npm error * updating image tag * small formatting fix * update image tag * fixes to control panel * fix npm issues * updated base image tag * update base image tag * fixed default values for control components * updated base image tag --------- Co-authored-by: Reese <10563996+reesercollins@users.noreply.github.com> Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com> Co-authored-by: cccs-RyanK <102618419+cccs-RyanK@users.noreply.github.com> Co-authored-by: GITHUB_USERNAME <EMAIL> Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com> Co-authored-by: cccs-RyanK <ryan.kane@cyber.gc.ca> Co-authored-by: cccs-tom <59839056+cccs-tom@users.noreply.github.com> * updating base image tag (#363) * CLDN-2271 disable populating the value filter option (#366) * fixed filter bug caused by bad merge * added option to disable pre fetching options for value filter * Update Dockerfile * removed disable fetch options control for now * Update Dockerfile * Update Dockerfile * CLDN-2317(bug): enabled multiple filters in adhoc dashboard filters (#364) * enabled multiple filters in adhoc dashboard filters * fixed formatting errors * updated base image file * Update cccs-build/superset/Dockerfile Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> --------- Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> * [CLDN-2320] Added 'operator' to advanced data type endpoint (#365) * [CLDN-2320] Added 'operator' to advanced data type endpoint * [CLDN-2320] Fixed error caught in pipeline * [CLDN-2320] Always pass along operation to translate function * Modified tests so that 'operator' is included in request to endpoint * Temporary update to image tag for testing * [CLDN-2320] Modified /convert endpoint example query * [CLDN-2320] Update tag for deployment testing * [CLDN-2320] Added more operators to port and ipv4 advanced data types * [CLDN-2320] Temp update to image * [CLDN-2320] Made advanced data types return strings instead of either strings or integers * [CLDN-2320] Temp update to image tag * Revert "[CLDN-2320] Made advanced data types return strings instead of either strings or integers" This reverts commit a6df1aebdb7473943cc14abe09b80c344bdde458. * [CLDN-2320] Temp update to image tag * Reverted change to image tag * Updated image tag (#378) * AG Grid Plugin Refactor (#380) * adding basic grid compnent * Adding chart * added controls * added customize tab with options * added more options to the customize tab * adding context menu * Adding default group by * adding cross filtering * preliminary changes for json cell renderer * updated jsonExpander styling and fixed npm issues * Adding metrics and full column data * Post merge fixes * updating dockerfile * increased row number width * render IpV4 values properly * disabled row grouping for row number column * reformatted aggridviz to prettier * updated jsonvaluerenderer to not render as string * recreate grid when enabling row grouping * removed box shadow on json button click * made principal columns visible * Fixing context menu rendering * fixing icons * Adding missing file * Updating dockerfile * code cleanup and spelling mistakes * secondary round of fixes * removed unused import * CLDN-2361: Renamed to CCCS Table * Fix/copy from grid (#376) * unfinished fixes for copy function * unfinished fixes for copy function * unfinished fixes for copy function * Update Dockerfile * updated dockerfile * switched control name back to columns from all_columns * fixed context menu * updated thumbnails and example galleries * removed grouping from the column menu * fixed watermark * Update Dockerfile * fixing watermark * added ag-grid-enterprise to dependencies * Update Dockerfile * fixed dependencies and added export and copy features * updated dependencies * reverting weird changes * fixed main column menu * fixed principal columns control * Update Dockerfile * removed autoheight on all columns that was causing performance problems * made it so that the cells export and copy with formatted values * added select all to columns select in raw and aggregate mode * fix: principal columns * fix: removed unnecessary imports * fix: reset columns no longer groups columns * fix: removed unnecessary imports * Update Dockerfile * fix principal columns control removed render trigger and show verbose name in validation error * fix force format data on excel export * Update Dockerfile * fix: sort values from control panel * feat: re-added jump actions * Update Dockerfile * fixed formatted value * only show jump action when selecting a configured advanced type * add cache value to native_filters * Update Dockerfile * asynchronously populate context menu items * fixed the npm issues * Update Dockerfile * fixed indentation for jump to context menu item * Update Dockerfile * added option to disable json cell rendering for performance * Update Dockerfile * set autoheigh to false when json renderer is not being used * Update Dockerfile * Update Dockerfile * fixes from review * Update MainPreset.js * Temporarily Update Dockerfile * removed disablejsonrendering control * fixed formatting * Update Dockerfile temporarily * undo changes to Dockerfile --------- Co-authored-by: cccs-RyanS <71385290+cccs-RyanS@users.noreply.github.com> Co-authored-by: Matthew Rafuse <Matthew.Rafuse@cyber.gc.ca> * Update Dockerfile [skip ci] (#381) * CLDN-2384 Harmonized EML Dashboard Surge (#382) * adding basic grid compnent * Adding chart * added controls * added customize tab with options * added more options to the customize tab * adding context menu * Adding default group by * adding cross filtering * preliminary changes for json cell renderer * updated jsonExpander styling and fixed npm issues * Adding metrics and full column data * Post merge fixes * updating dockerfile * increased row number width * render IpV4 values properly * disabled row grouping for row number column * reformatted aggridviz to prettier * updated jsonvaluerenderer to not render as string * recreate grid when enabling row grouping * removed box shadow on json button click * made principal columns visible * Fixing context menu rendering * fixing icons * Adding missing file * Updating dockerfile * code cleanup and spelling mistakes * secondary round of fixes * Added better timestamp visualization * Added JSON View Chart for pretty printing email metadata * Fixing issues * Update Dockerfile * Small optimization to JSON viewer * Merging CLDN-271 (#368) * added control panel option to do an action on click (#371) * Added a greedy JSON praser to the JSON view to deal with unparsed JSON in columns * removed unused import * Cleanup * Update Dockerfile * Added ordering and validation to key ordering * Removed console.log * Update Dockerfile * Added edge check to IFrame Visualization, fixed error in JSON view * Bugfixes * added tooltip for most operators (#372) * Added emit global filter * Added comments and TODOs * Fixed issues with number columns when emitting filter * Optimizations * Reorganization, cleanup * A few more fixes * Iconstyles fix * Fixed menu item ID * MOAR fixes * Update Dockerfile * iframe viz error message fix * CLDN-2229: Fixed chart focus on emitted columns * Update Dockerfile * Fixed Datetime rendering * Added row limit to JSON View * Remove large, unused files * Update Dockerfile * Bugfixes, label changes * Emitting from JSON is now working, tweaked emitIcon * Added google chrome error check in iframe visualization * Fixed iframe error handling * Changed error on iframe to use superset error color * added search functionality to JSON view * added max column width (#374) * Update Dockerfile * Small update to correctly render null labels * Update JSON view to use themed error colour * added tooltip * Added all date types to renderer map * Tweaking styles * Fixed emit principal column on grouped table * Fixed dependencies of useEffect in AGGridViz * If this doesn't finally put these formatting issues to bed I'm quitting and moving to the galapagos islands * Added hardcoded formatting to some date fields * Fixed emitting from an array * Update Dockerfile * Update Dockerfile * Handle invalid date format * Renamed value renderer * Getting started with the action button * Wrapping up action button * Got action button fully functional * Updates, cleanup * CLDN-2361: Renamed to CCCS Table * FLOW-43: Fixed emit behaviour to only apply to in-scope adhoc filters * Fix/copy from grid (#376) * unfinished fixes for copy function * unfinished fixes for copy function * unfinished fixes for copy function * Update Dockerfile * updated dockerfile * FLOW-41: Fixed global emit functionality with nested array fields * Added compact view to JSON Chart * missed a dependency * switched control name back to columns from all_columns * fixed context menu * [FLOW-6] adding retention * [flow-6] updating docker file * Updated CCCS Table thumbnail * updated thumbnails and example galleries * CLDN-2358: Added exporting back into the ag-grid context menu * removed grouping from the column menu * CLDN-2380: Added copy support to columns/dimension * Update Dockerfile * fixed watermark * formatting * Merge HED-Surge into featurea/FLOW-6 * Update Dockerfile * fixed npm error * fixing watermark * added ag-grid-enterprise to dependencies * Update Dockerfile * fixed dependencies and added export and copy features * updated dependencies * reverting weird changes * fixed main column menu * fixed principal columns control * Update Dockerfile * removed autoheight on all columns that was causing performance problems * made it so that the cells export and copy with formatted values * added select all to columns select in raw and aggregate mode * fix: principal columns * fix: removed unnecessary imports * fix: reset columns no longer groups columns * fix: removed unnecessary imports * Update Dockerfile * fix principal columns control removed render trigger and show verbose name in validation error * fix force format data on excel export * changed keys to be unique * fix merge error * fix: action button handling null values * Update Dockerfile * fix: duplicate imports * Update Dockerfile * fix: sort values from control panel * feat: re-added jump actions * Update Dockerfile * added open in AL context menu item * fixed formatted value * Added back filter on selec…
…truncates dataframe (apache#27388)
…truncates dataframe (apache#27388) (cherry picked from commit bc38c41)
…truncates dataframe (apache#27388)
SUMMARY
In Advanced Analytics, if the Min Periods value is 5, the first row in the resulting
df_rolling
with a valid result will be row 4 (since counting starts at 0). Right now the linedf_rolling = df_rolling[min_periods:]
truncates rows 0-4 -- that is, five rows -- throwing out the first rolling value that satisfies the min_periods requirement.Currently the tooltip for Min Periods is misleading, this will make it true.
SCREENSHOTS
Here in Superset 3.1.1 you can see that the 5th bar should be eligible for a rolling average since Min Periods is 5. But it's only beginning on the 6th bar that the line appears.
When I tell Superset to use 5-Period averages for the rolling window and min of 4 periods, this truncates the first 4 rows (due to the buggy off-by-one I'm fixing) and serves what I wanted. 27.4 is indeed the average of the first 5 periods and a valid result.
TESTING INSTRUCTIONS
Build a chart with rolling average in an ephemeral environment.