-
- Downloads
Driver pulse table cell color from visualiation settings
This creates a new shared javascript file in `resources/frontend_shared` that will be used by the frontend and the backend to drive the background color of cells using conditional formatting features the frontend has. This uses the JDK 8 included Nashorn javascript engine to eval and invoke the functions in that shared file.
Showing
- resources/frontend_shared/color_selector.js 5 additions, 0 deletionsresources/frontend_shared/color_selector.js
- src/metabase/pulse/color.clj 57 additions, 0 deletionssrc/metabase/pulse/color.clj
- src/metabase/pulse/render.clj 29 additions, 22 deletionssrc/metabase/pulse/render.clj
- test/metabase/pulse/color_test.clj 41 additions, 0 deletionstest/metabase/pulse/color_test.clj
- test/metabase/pulse/render_test.clj 50 additions, 1 deletiontest/metabase/pulse/render_test.clj
resources/frontend_shared/color_selector.js
0 → 100644
src/metabase/pulse/color.clj
0 → 100644
test/metabase/pulse/color_test.clj
0 → 100644
Please register or sign in to comment