From 87fe4ddfa94ed8dfa678cf5cb3151342b053f4ba Mon Sep 17 00:00:00 2001 From: l5io Date: Tue, 17 Dec 2024 00:52:37 +0000 Subject: [PATCH 1/7] Updated feature data from spreadsheet Signed-off-by: l5io --- src/sections/Pricing/feature_data.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/src/sections/Pricing/feature_data.json b/src/sections/Pricing/feature_data.json index 89598b8f374db..be2cc59fa0d6e 100644 --- a/src/sections/Pricing/feature_data.json +++ b/src/sections/Pricing/feature_data.json @@ -949,11 +949,11 @@ "category": "Catalog", "functionOrder": "708", "function": "Approve Catalog Request", - "feature": "Change management through a process of curation of content to be published in the catalog.", + "feature": "Change management for the curation of content published in the catalog.", "subscription_tier": "Enterprise", "comparison_tiers": { "free": "", - "teamDesigner": "x", + "teamDesigner": "", "teamOperator": "", "enterprise": "x" }, @@ -1119,22 +1119,6 @@ }, "docs": "https://docs.layer5.io/cloud/getting-started/getting-started-with-layer5-account/#7-viewing-your-layer5-profile" }, - { - "theme": "", - "categoryOrder": "9", - "category": "Managed Service Provider", - "functionOrder": "905", - "function": "Multi-tenancy", - "feature": "Hierarchical permissioning. Enforcement of tenancy.", - "subscription_tier": "", - "comparison_tiers": { - "free": "", - "teamDesigner": "", - "teamOperator": "", - "enterprise": "" - }, - "docs": "" - }, { "theme": "", "categoryOrder": "10", @@ -1163,7 +1147,7 @@ "free": "", "teamDesigner": "x", "teamOperator": "x", - "enterprise": "" + "enterprise": "x" }, "docs": "" }, From 8cfa914e2beba35de0d8f7ad681b8a16059f0eee Mon Sep 17 00:00:00 2001 From: l5io Date: Thu, 19 Dec 2024 00:50:51 +0000 Subject: [PATCH 2/7] Updated feature data from spreadsheet Signed-off-by: l5io --- src/sections/Pricing/feature_data.json | 32 -------------------------- 1 file changed, 32 deletions(-) diff --git a/src/sections/Pricing/feature_data.json b/src/sections/Pricing/feature_data.json index be2cc59fa0d6e..a6710a672626a 100644 --- a/src/sections/Pricing/feature_data.json +++ b/src/sections/Pricing/feature_data.json @@ -959,38 +959,6 @@ }, "docs": "https://docs.layer5.io/cloud/catalog/" }, - { - "theme": "", - "categoryOrder": "7", - "category": "Catalog", - "functionOrder": "709", - "function": "Single and multiple approvers", - "feature": "", - "subscription_tier": "", - "comparison_tiers": { - "free": "", - "teamDesigner": "", - "teamOperator": "", - "enterprise": "" - }, - "docs": "https://docs.layer5.io/cloud/catalog/" - }, - { - "theme": "", - "categoryOrder": "7", - "category": "Catalog", - "functionOrder": "710", - "function": "Import Filter", - "feature": "Import a publish WASM filter", - "subscription_tier": "", - "comparison_tiers": { - "free": "", - "teamDesigner": "", - "teamOperator": "", - "enterprise": "" - }, - "docs": "https://docs.meshery.io/guides/configuration-management/filter-management" - }, { "theme": "", "categoryOrder": "", From 162736504a8279c35d7ae46fafdf4f1902cf91b7 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sat, 28 Dec 2024 17:11:40 +0000 Subject: [PATCH 3/7] [gatsby]: add flags in config Signed-off-by: Shivam Gupta --- gatsby-config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index f52a4b0a60824..773e33bffba31 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -13,7 +13,10 @@ module.exports = { }, flags: { FAST_DEV: true, - PARALLEL_SOURCING: true + PARALLEL_SOURCING: true, + PRESERVE_FILE_DOWNLOAD_CACHE: true, + DETECT_NODE_MUTATIONS: true, + PARTIAL_HYDRATION: true }, trailingSlash: "never", plugins: [ From fb806e90aa64eba5a6d888b51444113d48d93ae7 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sat, 28 Dec 2024 18:22:56 +0000 Subject: [PATCH 4/7] fix null checks Signed-off-by: Shivam Gupta --- src/templates/blog-single.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/templates/blog-single.js b/src/templates/blog-single.js index 65d7cd2188434..54a07357027c2 100644 --- a/src/templates/blog-single.js +++ b/src/templates/blog-single.js @@ -44,6 +44,9 @@ export const query = graphql`query BlogsBySlug($slug: String!) { const BlogSinglePage = ({ data }) => { + if (!data?.mdx) { + return null; + } return ( @@ -63,5 +66,5 @@ export default BlogSinglePage; export const Head = ({ data }) => { - return ; + return ; }; \ No newline at end of file From 50cc969ed8854614c5250dc6271229ab01b75e21 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sat, 28 Dec 2024 18:52:34 +0000 Subject: [PATCH 5/7] fix Signed-off-by: Shivam Gupta --- gatsby-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 773e33bffba31..c6fab89b8e090 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -14,7 +14,7 @@ module.exports = { flags: { FAST_DEV: true, PARALLEL_SOURCING: true, - PRESERVE_FILE_DOWNLOAD_CACHE: true, + // PRESERVE_FILE_DOWNLOAD_CACHE: true, DETECT_NODE_MUTATIONS: true, PARTIAL_HYDRATION: true }, From 7b4f88246058ff184d96b5c226d9f7eef7a93512 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sat, 28 Dec 2024 18:56:27 +0000 Subject: [PATCH 6/7] mutation issue Signed-off-by: Shivam Gupta --- gatsby-config.js | 2 +- gatsby-node.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index c6fab89b8e090..773e33bffba31 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -14,7 +14,7 @@ module.exports = { flags: { FAST_DEV: true, PARALLEL_SOURCING: true, - // PRESERVE_FILE_DOWNLOAD_CACHE: true, + PRESERVE_FILE_DOWNLOAD_CACHE: true, DETECT_NODE_MUTATIONS: true, PARTIAL_HYDRATION: true }, diff --git a/gatsby-node.js b/gatsby-node.js index c38e2531ceedd..9f44ad37dbb97 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -905,6 +905,15 @@ exports.onCreateNode = ({ node, actions, getNode }) => { onCreateChapterNode({ actions, node, slug }); return; } + + if (node.internal.type === "Mdx") { + if (!node.frontmatter.thumbnail) { + node.frontmatter.thumbnail = null; + } + if (!node.frontmatter.darkthumbnail) { + node.frontmatter.darkthumbnail = null; + } + } } } }; From cb535b4ef019b3b3db7c473f5088f97ea1ae1971 Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Sun, 29 Dec 2024 11:38:02 +0000 Subject: [PATCH 7/7] rm node cache flag Signed-off-by: Shivam Gupta --- gatsby-config.js | 2 +- gatsby-node.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 773e33bffba31..c6fab89b8e090 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -14,7 +14,7 @@ module.exports = { flags: { FAST_DEV: true, PARALLEL_SOURCING: true, - PRESERVE_FILE_DOWNLOAD_CACHE: true, + // PRESERVE_FILE_DOWNLOAD_CACHE: true, DETECT_NODE_MUTATIONS: true, PARTIAL_HYDRATION: true }, diff --git a/gatsby-node.js b/gatsby-node.js index 9f44ad37dbb97..c38e2531ceedd 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -905,15 +905,6 @@ exports.onCreateNode = ({ node, actions, getNode }) => { onCreateChapterNode({ actions, node, slug }); return; } - - if (node.internal.type === "Mdx") { - if (!node.frontmatter.thumbnail) { - node.frontmatter.thumbnail = null; - } - if (!node.frontmatter.darkthumbnail) { - node.frontmatter.darkthumbnail = null; - } - } } } };