From b69d132d3a5f98ca6614d675713f7e2fab0333de Mon Sep 17 00:00:00 2001
From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
Date: Sat, 19 Aug 2023 19:52:18 +0200
Subject: [PATCH] feat(demo): introduce a Home page for all demos (#60)
It introduces the projects and list all available demos. For now, we
have a single demo but this prepares the others that are coming soon.
---
README.md | 4 +-
packages/addons/README.md | 2 +-
packages/demo/README.md | 2 +
packages/demo/index.html | 51 ++++++++++++-------
packages/demo/pages/path-resolver.html | 24 +++++++++
.../demo/public/assets}/github-logo.svg | 0
packages/demo/public/{ => assets}/logo.svg | 0
packages/demo/src/index.css | 48 +++++++++++++++++
.../demo/src/{style.css => path-resolver.css} | 0
.../demo/src/{index.ts => path-resolver.ts} | 5 +-
packages/demo/vite.config.ts | 39 ++++++++++++++
11 files changed, 150 insertions(+), 25 deletions(-)
create mode 100644 packages/demo/pages/path-resolver.html
rename {docs => packages/demo/public/assets}/github-logo.svg (100%)
rename packages/demo/public/{ => assets}/logo.svg (100%)
create mode 100644 packages/demo/src/index.css
rename packages/demo/src/{style.css => path-resolver.css} (100%)
rename packages/demo/src/{index.ts => path-resolver.ts} (98%)
create mode 100644 packages/demo/vite.config.ts
diff --git a/README.md b/README.md
index 8cb6db9..be18079 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,7 @@ Running the demo only:
- Build the lib: `npm run build -w packages/addons`
- Run the demo: `npm run dev -w packages/demo`. The demo is accessible at http://localhost:5173/
-Develop in the lib and live update the demo
+Develop the lib and live update the demo
- run `npm run dev`
@@ -95,7 +95,7 @@ Create a new GitHub release by following the [GitHub help](https://help.github.c
## ⚡ Powered by
-
+
**[GitHub Pages](https://pages.github.com/)** (demo live environment)
diff --git a/packages/addons/README.md b/packages/addons/README.md
index 3066b49..700c8a7 100644
--- a/packages/addons/README.md
+++ b/packages/addons/README.md
@@ -26,7 +26,7 @@ Limitations
### `PathResolver`
-Infer paths. Currently, only infer edges/flows given a list of flow node ids.
+Infer BPMN path. Currently, only infer edges/flows given a list of flow node ids.
**WARNING**: this is front-end processing. It's more efficient for this type of processing to be carried out in the backend.
Use it to bypass the limitations of the tools and algorithms provided in the backend.
diff --git a/packages/demo/README.md b/packages/demo/README.md
index 28fcdb3..98c283d 100644
--- a/packages/demo/README.md
+++ b/packages/demo/README.md
@@ -3,3 +3,5 @@
The demo has been initialized using [bpmn-visualization-demo-template](https://github.com/process-analytics/bpmn-visualization-demo-template/).
See the main [README](../../README.md) for development setup.
+
+The list of features demonstrated is available in [index.html](./index.html).
diff --git a/packages/demo/index.html b/packages/demo/index.html
index 7957d91..8a4b136 100644
--- a/packages/demo/index.html
+++ b/packages/demo/index.html
@@ -1,24 +1,37 @@
-