diff --git a/packages/embeds/README.md b/packages/embeds/README.md
index 5af25a4846..dff42b8e5b 100644
--- a/packages/embeds/README.md
+++ b/packages/embeds/README.md
@@ -15,3 +15,25 @@ To publish the packages. Following steps should be followed. All commands are to
2. `yarn changeset version` -> Bumps the versions as required
3. Get the PR reviewed and merged
4. `yarn publish-embed` -> Releases all packages. We can't use `yarn changeset publish` because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428
+
+## Skeleton Loader
+
+Skeleton loader is shown for supported page types. For all other page types, default non-skeleton loader is shown.
+Status:
+- Layout
+ - [x] Responsive
+ - [x] Mobile Layout
+ - [x] month_view Layout
+ - [ ] week_view Layout
+ - [ ] column_view Layout
+- Theming
+ - [x] Dark and Light theme
+ NOTE: _If user has preference for theme configured within app, that has to be communicated clearly in the embed too for skeleton to work_
+ - [x] Change in system theme should reflect without page refresh
+- Page Types supported
+ - [x] user.event.booking.slots
+ - [x] team.event.booking.slots
+ - [x] [Partially supported] user.event.booking.form - Shows skeleton but of the slots page
+ - [x] [Partially supported] team.event.booking.form - Shows skeleton but of the slots page
+ - [ ] user.profile
+ - [ ] team.profile
diff --git a/packages/embeds/embed-core/index.html b/packages/embeds/embed-core/index.html
index 4d02bd7072..5ea011a562 100644
--- a/packages/embeds/embed-core/index.html
+++ b/packages/embeds/embed-core/index.html
@@ -4,8 +4,13 @@
@@ -93,7 +98,7 @@
function doubleInstallSnippetWithInlineEmbedWithNonDefaultNamespace(selector) {
Cal("init", "doubleInstall", {
debug: true,
- calOrigin: "http://localhost:3000",
+ calOrigin: window.calOrigin,
});
Cal.ns.doubleInstall("inline", {
elementOrSelector: selector,
@@ -105,7 +110,7 @@
embedSnippet();
Cal("init", "doubleInstall", {
debug: true,
- calOrigin: "http://localhost:3000",
+ calOrigin: window.calOrigin,
});
Cal.ns.doubleInstall("inline", {
elementOrSelector: selector,
@@ -120,7 +125,7 @@
function doubleInstallSnippetWithInlineEmbed(selector) {
Cal("init", {
debug: true,
- calOrigin: "http://localhost:3000",
+ calOrigin: window.calOrigin,
});
Cal("inline", {
elementOrSelector: selector,
@@ -132,7 +137,7 @@
embedSnippet();
Cal("init", {
debug: true,
- calOrigin: "http://localhost:3000",
+ calOrigin: window.calOrigin,
});
Cal("inline", {
elementOrSelector: selector,
@@ -146,7 +151,7 @@
function addTwoInlineEmbedWithTwoDifferentNamespacesWithDifferentInitConfig() {
Cal("init", "namespace-init-test-1", {
debug: true,
- calOrigin: "http://localhost:3000",
+ calOrigin: window.calOrigin,
});
Cal("init", "namespace-init-test-2", {
debug: true,
@@ -168,7 +173,7 @@
});
}
-
+
-
-
Add Inline Embed in a new namespace without reload
-
-
-
-
Double Install Embed Snippet with inline embed - Default Namespace
-
-
-
-
Double Install Embed Snippet with inline embed - Non Default Namespace
-
-
-
-
Two different namespace with two different config
-
+
+
Double Install Embed Snippet with inline embed - Non Default Namespace
+
+
+
+
Two different namespace with two different config
+
+
+
With Dark Color Scheme for the Page
+
Non responsive version of this page here
+
+
+ Page Params Forwarding(Prefills various fields by auto-forwarding query params)
+
+
+
Go to Prerender test page only
+
Go to Preload test page only
-
Go to Preload test page only
-
Toggle Dark Scheme(For Embedding Page)
-
Toggle Light Scheme(For Embedding Page)
-
-
-
-
Render All embeds together - It would be slow to load
-
-
Floating Popup
+
Toggle Dark Scheme(For Embedding Page)
+
Toggle Light Scheme(For Embedding Page)
+
+
+
+
Render All embeds together - It would be slow to load
+
+
Floating Popup
-
Popup Examples - Theme Tests
-
Book an event with Free[Light Theme]
-
- Book with Free User[Auto Theme]
-
-
- Book with Free User[Dark Theme]
-
-
- Book with Test Team[Light Theme]
-
-
- Book with Test Team[Dark Theme]
-
-
- See Team Links [Auto Theme]
-
-
- Book Paid Event [Auto Theme]
-
-
Popup Examples - Reschedule Tests
-
-
-
Popup Examples - Different Configurations
-
- Book Free Event [Auto Theme][uiConfig.hideEventTypeDetails=true]
-
-
- Book Paid Event - weekly view
-
-
- Book Paid Event - column view
-
-
Popup Examples - Routing Form Tests
-
- Book through Routing Form [Auto Theme] - Test for 'routed' event
-
-
- Book through Routing Form [Dark Theme]
-
-
- Book through Headless Router
-
-
Popup Examples - Child Element Target Tests
-
- I am Anchor
- [I am Bold inside anchor]
-
- I am span inside anchor
-
-
-
-
+
Popup Examples - Theme Tests
+
Book an event with Free[Light Theme]
+
+ Book with Free User[Auto Theme]
+
+
+ Book with Free User[Dark Theme]
+
+
+ Book with Test Team[Light Theme]
+
+
+ Book with Test Team[Dark Theme]
+
+
+ See Team Links [Auto Theme]
+
+
+ Book Paid Event [Auto Theme]
+
+
Popup Examples - Reschedule Tests
+
+
+
Popup Examples - Different Configurations
+
+ Book Free Event [Auto Theme][uiConfig.hideEventTypeDetails=true]
+
+
+ Book Paid Event - weekly view
+
+
+ Book Paid Event - column view
+
+
Popup Examples - Routing Form Tests
+
+ Book through Routing Form [Auto Theme] - Test for 'routed' event
+
+
+ Book through Routing Form [Dark Theme]
+
+
+ Book through Headless Router
+
+
Popup Examples - Child Element Target Tests
+
+ I am Anchor
+ [I am Bold inside anchor]
+
+ I am span inside anchor
+
+
+
+
Inline Embed Examples
@@ -425,7 +431,6 @@
Note that one of the embeds would stay in loading state as they are using the same namespace and it is not supported to have more than 1 embeds using same namespace
-
+
+
+
+