Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/csengineer1990/layer5
Browse files Browse the repository at this point in the history
  • Loading branch information
csengineer1990 committed Dec 5, 2024
2 parents 041ab14 + d28c247 commit fe0b59a
Show file tree
Hide file tree
Showing 47 changed files with 386 additions and 410 deletions.
75 changes: 57 additions & 18 deletions feature_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -664,54 +664,93 @@
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"pricing_page": "true",
"entire_row": {
"Category": "Design Review",
"Documented?": "",
"Feature": "In-line commenting. Threaded discussions. Notifications w/user mentions. Silence notifications. Resolve and reopen comments. Comment history.",
"Function": "Collaborative Design Review",
"Pricing page?": "x",
"Subscription Tier": "TeamDesigner",
"Tech": "Kanvas",
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"documentation": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/",
"entire_row": {
"Category": "Visualizer",
"Category": "Operator",
"Documented?": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/",
"Feature": "See all views withing a workspace",
"Function": "View Views",
"Pricing page?": "",
"Subscription Tier": "Team",
"Subscription Tier": "TeamOperator",
"Tech": "Server",
"Theme (also: Keychain Name)": "MeshMap"
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"documentation": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#4-delete-a-view",
"entire_row": {
"Category": "Visualizer",
"Category": "Operator",
"Documented?": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#4-delete-a-view",
"Feature": "Dissolve environment and all connection memberships. Leave associated resources intact.",
"Function": "Delete View",
"Pricing page?": "",
"Subscription Tier": "Team",
"Subscription Tier": "TeamOperator",
"Tech": "Server",
"Theme (also: Keychain Name)": "MeshMap"
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"documentation": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#5-export-a-view",
"entire_row": {
"Category": "Visualizer",
"Category": "Operator",
"Documented?": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#5-export-a-view",
"Feature": "Export views to JSON format",
"Function": "Export views",
"Pricing page?": "",
"Subscription Tier": "Team",
"Subscription Tier": "TeamOperator",
"Tech": "Server",
"Theme (also: Keychain Name)": "MeshMap"
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"documentation": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#3-share-a-view",
"entire_row": {
"Category": "Visualizer",
"Category": "Operator",
"Documented?": "https://docs.layer5.io/kanvas/visualizer/visualizer-views/#3-share-a-view",
"Feature": "Share Views",
"Function": "Share Views",
"Pricing page?": "",
"Subscription Tier": "Team",
"Subscription Tier": "TeamOperator",
"Tech": "Kanvas",
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"pricing_page": "true",
"entire_row": {
"Category": "Operator",
"Documented?": "",
"Feature": "View Interactive Terminal",
"Function": "View Interactive Terminal",
"Pricing page?": "X",
"Subscription Tier": "TeamOperator",
"Tech": "Kanvas",
"Theme (also: Keychain Name)": "Kanvas"
}
},
{
"pricing_page": "true",
"entire_row": {
"Category": "Operator",
"Documented?": "",
"Feature": "View real-time resource metrics in Kanvas Operator",
"Function": "View Observability Metrics",
"Pricing page?": "X",
"Subscription Tier": "TeamOperator",
"Tech": "Kanvas",
"Theme (also: Keychain Name)": "Kanvas"
}
Expand Down Expand Up @@ -954,14 +993,14 @@
{
"pricing_page": "true",
"entire_row": {
"Category": "Serverless Pricing",
"Category": "Invoice Billing",
"Documented?": "",
"Feature": "Subscription plan management. Transformation of workflow pricing model.",
"Function": "Serverless Pricing",
"Feature": "",
"Function": "Pay bills via invoice, rather than using your credit card.",
"Pricing page?": "X",
"Subscription Tier": "Enterprise",
"Tech": "WASM",
"Theme (also: Keychain Name)": "Business Performance"
"Tech": "",
"Theme (also: Keychain Name)": "Support and Deployment"
}
},
{
Expand Down Expand Up @@ -1047,7 +1086,7 @@
"entire_row": {
"Category": "Traffic Replay",
"Documented?": "",
"Feature": "Visual event replay in MeshMap",
"Feature": "Visual event replay in Kanvas",
"Function": "Traffic Replay",
"Pricing page?": "X",
"Subscription Tier": "Enterprise",
Expand All @@ -1060,7 +1099,7 @@
"entire_row": {
"Category": "Notification Integrations",
"Documented?": "",
"Feature": "Access a variety of third-party applications, right from MeshMap. Send a message to Slack, identify an on-duty team to page, or raise an alarm in Datadog.",
"Feature": "Access a variety of third-party applications, right from Kanvas. Send a message to Slack, identify an on-duty team to page, or raise an alarm in Datadog.",
"Function": "Notification Integrations",
"Pricing page?": "X",
"Subscription Tier": "Enterprise",
Expand Down
192 changes: 122 additions & 70 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,84 +389,99 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
const resourcePostTemplate = path.resolve("src/templates/resource-single.js");
const integrationTemplate = path.resolve("src/templates/integrations.js");

const res = await graphql(`{
allPosts: allMdx(filter: {frontmatter: {published: {eq: true}}}) {
nodes {
frontmatter {
program
programSlug
}
fields {
collection
slug
}
}
}
blogTags: allMdx(
filter: {fields: {collection: {eq: "blog"}}, frontmatter: {published: {eq: true}}}
) {
group(field: {frontmatter: {tags: SELECT}}) {
nodes {
id
const res = await graphql(`
{
allPosts: allMdx(filter: { frontmatter: { published: { eq: true } } }) {
nodes {
frontmatter {
program
programSlug
}
fields {
collection
slug
}
}
}
fieldValue
}
}
blogCategory: allMdx(
filter: {fields: {collection: {eq: "blog"}}, frontmatter: {published: {eq: true}}}
) {
group(field: {frontmatter: {category: SELECT}}) {
nodes {
id
blogTags: allMdx(
filter: {
fields: { collection: { eq: "blog" } }
frontmatter: { published: { eq: true } }
}
) {
group(field: { frontmatter: { tags: SELECT } }) {
nodes {
id
}
fieldValue
}
}
fieldValue
}
}
memberBio: allMdx(
filter: {fields: {collection: {eq: "members"}}, frontmatter: {published: {eq: true}, executive_bio: {eq: true}}}
) {
nodes {
frontmatter {
name
blogCategory: allMdx(
filter: {
fields: { collection: { eq: "blog" } }
frontmatter: { published: { eq: true } }
}
) {
group(field: { frontmatter: { category: SELECT } }) {
nodes {
id
}
fieldValue
}
}
fields {
slug
collection
memberBio: allMdx(
filter: {
fields: { collection: { eq: "members" } }
frontmatter: { published: { eq: true }, executive_bio: { eq: true } }
}
) {
nodes {
frontmatter {
name
}
fields {
slug
collection
}
}
}
}
}
singleWorkshop: allMdx(
filter: {fields: {collection: {eq: "service-mesh-workshops"}}}
) {
nodes {
fields {
slug
collection
singleWorkshop: allMdx(
filter: { fields: { collection: { eq: "service-mesh-workshops" } } }
) {
nodes {
fields {
slug
collection
}
}
}
}
}
labs: allMdx(filter: {fields: {collection: {eq: "service-mesh-labs"}}}) {
nodes {
fields {
slug
collection
labs: allMdx(
filter: { fields: { collection: { eq: "service-mesh-labs" } } }
) {
nodes {
fields {
slug
collection
}
}
}
}
}
learncontent: allMdx(filter: {fields: {collection: {eq: "content-learn"}}}) {
nodes {
fields {
learnpath
slug
course
section
chapter
pageType
collection
learncontent: allMdx(
filter: { fields: { collection: { eq: "content-learn" } } }
) {
nodes {
fields {
learnpath
slug
course
section
chapter
pageType
collection
}
}
}
}
}
}`);
`);

// handle errors
if (res.errors) {
Expand Down Expand Up @@ -707,6 +722,43 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
}
}
});

const components = [
"button",
"text-input",
"modal",
"paper",
"popper",
"text-field",
"link",
"container",
"button-group",
];

const createComponentPages = (createPage, components) => {
const pageTypes = [
{ suffix: "", file: "index.js" },
{ suffix: "/guidance", file: "guidance.js" },
{ suffix: "/code", file: "code.js" },
];

components.forEach((name) => {
pageTypes.forEach(({ suffix, file }) => {
const path = `/projects/sistent/components/${name}${suffix}`;
const componentPath = `./src/sections/Projects/Sistent/components/${name}/${file}`;
try {
createPage({
path,
component: require.resolve(componentPath),
});
} catch (error) {
console.error(`Error creating page for ${path}:`, error);
}
});
});
};

createComponentPages(createPage, components);
};

// slug starts and ends with '/' so parts[0] and parts[-1] will be empty
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions src/pages/projects/sistent/components/button-group/code.js

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions src/pages/projects/sistent/components/button-group/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/pages/projects/sistent/components/button/code.js

This file was deleted.

Loading

0 comments on commit fe0b59a

Please sign in to comment.