Skip to content

Commit

Permalink
Merge branch 'layer5io:master' into png-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay-singh1 authored Dec 12, 2024
2 parents cb06ee8 + f290345 commit bf31c1c
Show file tree
Hide file tree
Showing 16 changed files with 754 additions and 5,236 deletions.
28 changes: 14 additions & 14 deletions .github/build/features-to-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const headers = [
"Function",
"Feature",
"Subscription Tier",
"Free Tier",
"TeamDesigner Tier",
"TeamOperator Tier",
"Enterprise Tier",
"Pricing Page?",
"Free",
"Team Designer",
"Team Operator",
"Enterprise",
"Pricing Page",
"Docs",
];

Expand All @@ -36,12 +36,12 @@ async function processCSV() {

const filteredData = rows.map(row => {
try {
const pricingPage = row["Pricing Page?"]?.toLowerCase() || "";
const pricingPage = row["Pricing Page"]?.toLowerCase() || "";
const hasXTier = [
"Free Tier",
"TeamDesigner Tier",
"TeamOperator Tier",
"Enterprise Tier"]
"Free",
"Team Designer",
"Team Operator",
"Enterprise"]
.some(tier => row[tier]?.trim().toLowerCase() === "x");
const includeRow = hasXTier || (pricingPage && ["x", "X"].includes(pricingPage.toLowerCase()));

Expand All @@ -57,11 +57,11 @@ async function processCSV() {
subscription_tier: row["Subscription Tier"],
comparison_tiers: {
free: row["Free Tier"],
teamDesigner: row["TeamDesigner Tier"],
teamOperator: row["TeamOperator Tier"],
enterprise: row["Enterprise Tier"],
teamDesigner: row["Team Designer"],
teamOperator: row["Team Operator"],
enterprise: row["Enterprise"],
},
pricing_page: row["Pricing Page?"],
pricing_page: row["Pricing Page"],
docs: row["Docs"]
};
} catch (error) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bf31c1c

Please sign in to comment.