;
diff --git a/stories/Introduction.mdx b/stories/Introduction.mdx
new file mode 100644
index 00000000..431704fc
--- /dev/null
+++ b/stories/Introduction.mdx
@@ -0,0 +1,145 @@
+import { Meta } from '@storybook/addon-docs';
+
+
+
+
+
+
+# Gantt View PCF Storybook
+
+
+
+
+
+ TipBrowse example stories now by navigating to them in the sidebar.
+View their code in the stories directory to learn how they work.
+
+
+Links
+
+
\ No newline at end of file
diff --git a/stories/getFromSource.ts b/stories/getFromSource.ts
new file mode 100644
index 00000000..a839a3cd
--- /dev/null
+++ b/stories/getFromSource.ts
@@ -0,0 +1,10 @@
+import resource from 'raw-loader!!../GanttView/strings/GanttView.1033.resx';
+const xmlResource = new DOMParser().parseFromString(resource, 'text/xml');
+const elements = xmlResource.getElementsByTagNameNS('', 'data');
+export const getFromResource = (key: string) => {
+ for (let i = 0; i < elements.length; i++) {
+ if (elements[i].getAttribute('name') === key) {
+ return elements[i].getElementsByTagName('value')[0].innerHTML?.trim();
+ }
+ }
+};
\ No newline at end of file
diff --git a/stories/testData.ts b/stories/testData.ts
new file mode 100644
index 00000000..eecc9faa
--- /dev/null
+++ b/stories/testData.ts
@@ -0,0 +1,210 @@
+export default [
+ {
+ id: 1,
+ name: "Gantt Custom Component",
+ assigned: "Alex",
+ startDate: new Date("2023-01-02T00:00:00.000Z"),
+ endDate: new Date("2023-02-11T00:00:00.000Z"),
+ rowType: "task",
+ progress: 80,
+ },
+ {
+ id: 2,
+ name: "Design",
+ assigned: "Alex",
+ startDate: new Date("2023-01-02T00:00:00.000Z"),
+ endDate: new Date("2023-01-14T00:00:00.000Z"),
+ rowType: "task",
+ parentId: 1,
+ progress: 100,
+ },
+ {
+ id: 3,
+ name: "Develop",
+ assigned: "Alex",
+ startDate: new Date("2023-01-16T00:00:00.000Z"),
+ endDate: new Date("2023-01-28T00:00:00.000Z"),
+ rowType: "task",
+ parentId: 1,
+ progress: 90,
+ },
+ {
+ id: 4,
+ name: "Test",
+ assigned: "Alex",
+ startDate: new Date("2023-01-30T00:00:00.000Z"),
+ endDate: new Date("2023-02-11T00:00:00.000Z"),
+ rowType: "task",
+ parentId: 1,
+ progress: 0,
+ },
+ {
+ id: 5,
+ name: "Release",
+ assigned: "Alex",
+ startDate: new Date("2023-02-14T00:00:00.000Z"),
+ endDate: new Date("2023-02-14T00:00:00.000Z"),
+ rowType: "milestone",
+ parentId: 1,
+ progress: 0,
+ },
+ {
+ id: 6,
+ name: "Power Apps Tools",
+ assigned: "Alex",
+ startDate: new Date("2023-01-02T00:00:00.000Z"),
+ endDate: new Date("2023-05-08T00:00:00.000Z"),
+ rowType: "task",
+ progress: 80,
+ },
+ {
+ id: 7,
+ name: "Base",
+ assigned: "Alex",
+ startDate: "2023-01-02T00:00:00.000Z",
+ endDate: "2023-02-11T00:00:00.000Z",
+ rowType: "task",
+ parentId: 6,
+ progress: 100,
+ },
+ {
+ id: 8,
+ name: "Design",
+ assigned: "Alex",
+ startDate: "2023-01-02T00:00:00.000Z",
+ endDate: "2023-01-14T00:00:00.000Z",
+ rowType: "task",
+ parentId: 7,
+ progress: 100,
+ },
+ {
+ id: 9,
+ name: "Develop",
+ assigned: "Alex",
+ startDate: "2023-01-16T00:00:00.000Z",
+ endDate: "2023-01-28T00:00:00.000Z",
+ rowType: "task",
+ parentId: 7,
+ progress: 100,
+ },
+ {
+ id: 10,
+ name: "Test",
+ assigned: "Alex",
+ startDate: "2023-01-30T00:00:00.000Z",
+ endDate: "2023-02-11T00:00:00.000Z",
+ rowType: "task",
+ parentId: 7,
+ progress: 100,
+ },
+ {
+ id: 11,
+ name: "Release",
+ assigned: "Alex",
+ startDate: "2023-02-14T00:00:00.000Z",
+ endDate: "2023-02-14T00:00:00.000Z",
+ rowType: "milestone",
+ parentId: 7,
+ progress: 100,
+ },
+ {
+ id: 12,
+ name: "Feature 1",
+ assigned: "Alex",
+ startDate: "2023-02-14T00:00:00.000Z",
+ endDate: "2023-03-26T00:00:00.000Z",
+ rowType: "task",
+ parentId: 6,
+ progress: 90,
+ },
+ {
+ id: 13,
+ name: "Design",
+ assigned: "Alex",
+ startDate: "2023-02-14T00:00:00.000Z",
+ endDate: "2023-02-26T00:00:00.000Z",
+ rowType: "task",
+ parentId: 12,
+ progress: 100,
+ },
+ {
+ id: 14,
+ name: "Develop",
+ assigned: "Alex",
+ startDate: "2023-02-28T00:00:00.000Z",
+ endDate: "2023-03-12T00:00:00.000Z",
+ rowType: "task",
+ parentId: 12,
+ progress: 90,
+ },
+ {
+ id: 15,
+ name: "Test",
+ assigned: "Alex",
+ startDate: "2023-03-14T00:00:00.000Z",
+ endDate: "2023-03-26T00:00:00.000Z",
+ rowType: "task",
+ parentId: 12,
+ progress: 20,
+ },
+ {
+ id: 16,
+ name: "Release",
+ assigned: "Alex",
+ startDate: "2023-03-29T00:00:00.000Z",
+ endDate: "2023-03-29T00:00:00.000Z",
+ rowType: "milestone",
+ parentId: 12,
+ progress: 0,
+ },
+ {
+ id: 17,
+ name: "Feature 2",
+ assigned: "Alex",
+ startDate: "2023-03-29T00:00:00.000Z",
+ endDate: "2023-05-08T00:00:00.000Z",
+ rowType: "task",
+ parentId: 6,
+ progress: 0,
+ },
+ {
+ id: 18,
+ name: "Design",
+ assigned: "Alex",
+ startDate: "2023-03-29T00:00:00.000Z",
+ endDate: "2023-04-10T00:00:00.000Z",
+ rowType: "task",
+ parentId: 17,
+ progress: 0,
+ },
+ {
+ id: 19,
+ name: "Develop",
+ assigned: "Alex",
+ startDate: "2023-04-12T00:00:00.000Z",
+ endDate: "2023-04-24T00:00:00.000Z",
+ rowType: "task",
+ parentId: 17,
+ progress: 0,
+ },
+ {
+ id: 20,
+ name: "Test",
+ assigned: "Alex",
+ startDate: "2023-04-26T00:00:00.000Z",
+ endDate: "2023-05-08T00:00:00.000Z",
+ rowType: "task",
+ parentId: 17,
+ progress: 0,
+ },
+ {
+ id: 21,
+ name: "Release",
+ assigned: "Alex",
+ startDate: "2023-05-11T00:00:00.000Z",
+ endDate: "2023-05-11T00:00:00.000Z",
+ rowType: "milestone",
+ parentId: 17,
+ progress: 0,
+ },
+];
diff --git a/~/Library/Microsoft/PowerAppsCli/usersettings.json b/~/Library/Microsoft/PowerAppsCli/usersettings.json
deleted file mode 100644
index e2fcca53..00000000
--- a/~/Library/Microsoft/PowerAppsCli/usersettings.json
+++ /dev/null
@@ -1 +0,0 @@
-{"settingVersion":"1.0","uniqueId":"1e13b07b-0862-4fea-b713-fb987a706b2f","telemetryEnabled":true}
\ No newline at end of file