Skip to content
Snippets Groups Projects
Commit 828e7ae9 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

* restructure + xapi

parent f63427f4
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 16 deletions
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
\ No newline at end of file
File added
File added
File added
File added
File added
File added
import {
getResult,
initGrid,
polarisDashboard,
LineChartWidget,
BarChartWidget,
AreaChartWidget,
......@@ -9,18 +10,18 @@ import {
ChartJSWidget,
HeatMapWidget,
GridWidget
} from "@polaris/dashboard-sdk/dist/bundle";
} from "@polaris/dashboard-sdk";
import { CourseRatingChart } from "./custom-charts/courseRatingChart";
import {groupedBarChartDef, simpleGroupedBarChartDef} from "../grouped_bar_chart_test";
import { barChartDef, chartJSBarChartDef } from "../bar_chart_test";
import { heatMapDef } from "../heatmap_test";
import { gridDef } from "../grid_test";
import { scatterGridDef } from "../scatter_grid_test";
import {groupedBarChartDef, simpleGroupedBarChartDef} from "./widgets/grouped_bar_chart_test";
import { barChartDef, chartJSBarChartDef } from "./widgets/bar_chart_test";
import { heatMapDef } from "./widgets/heatmap_test";
import { gridDef } from "./widgets/grid_test";
import { scatterGridDef } from "./widgets/scatter_grid_test";
import "./style.css";
import {mcTestGridDef} from "../mc_test_grid_test";
import {feedbackGridDef} from "../feedback_grid_test";
import {textGridDef} from "../text_element";
import {deadlinesGridDef} from "../deadlines_grid";
import {mcTestGridDef} from "./widgets/mc_test_grid_test";
import {feedbackGridDef} from "./widgets/feedback_grid_test";
import {textGridDef} from "./widgets/text_element";
import {deadlinesGridDef} from "./widgets/deadlines_grid";
/**
* JWT Token - hardcoded for demontrastion
* This jwt token is generated in the backend.
......@@ -349,6 +350,8 @@ const setupGrid = (data) => {
grid.load(oldGrid);
}, 2000);
};
return grid;
};
let grid = null;
......@@ -373,6 +376,7 @@ const onInit = () => {
*/
setupGrid([])
polarisDashboard("benjamin.ledel@digitallearning.gmbh", "dashboard-223423", grid)
};
const handleSaveSettingsClick = () => {
......@@ -392,3 +396,5 @@ const handleSaveSettingsClick = () => {
};
onInit();
File moved
import { GridWidget } from "@polaris/dashboard-sdk";
import {TextElement} from "../../src/js/elements/textelement";
import {TextElement} from "../../../../src/js/elements/textelement";
const data = [
{
......
File moved
import * as d3 from "d3";
import { GroupedBarChartWidget } from "@polaris/dashboard-sdk";
import { SimpleGroupedBarChartWidget } from "../../src/js/charts/simple_grouped_barchart";
import { SimpleGroupedBarChartWidget } from "../../../../src/js/charts/simple_grouped_barchart";
const dict = {
"2023-04-28": {
......
File moved
import { GridWidget } from "@polaris/dashboard-sdk";
import {TextElement} from "../../src/js/elements/textelement";
import {TextElement} from "@polaris/dashboard-sdk";
const data = [
{
......
This diff is collapsed.
......@@ -6,14 +6,14 @@
*/
/*!
* Chart.js v4.4.0
* Chart.js v4.3.1
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/
/*!
* GridStack 7.3.0
* GridStack 7.1.1
* https://gridstackjs.com/
*
* Copyright (c) 2021-2022 Alain Dumesny
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment