Skip to content

Commit

Permalink
Merge pull request #349 from st3phhays/home-pricing-2
Browse files Browse the repository at this point in the history
(#344) Remove Structured Evaluation Items
  • Loading branch information
vexx32 authored Jul 31, 2023
2 parents bd9afcb + f67ab5f commit ad9b971
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion getting-started/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"homepage": "https://github.com/chocolatey/chocolatey.org#readme",
"devDependencies": {
"choco-theme": "0.5.9"
"choco-theme": "0.5.10"
},
"resolutions": {
"glob-parent": "^6.0.2",
Expand Down
2 changes: 0 additions & 2 deletions js/chocolatey-pricing-calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ window.addEventListener('DOMContentLoaded', () => {
// Append Included Items and Included Per Node
const c4bIncludedSupportType = document.getElementById('c4bIncludedSupportType');
const c4bIncludedIntroCallAndDemo = document.getElementById('c4bIncludedIntroCallAndDemo');
const c4bIncludedStructuredEvaluation = document.getElementById('c4bIncludedStructuredEvaluation');
const c4bIncludedCasesPerMonth = document.getElementById('c4bIncludedCasesPerMonth');
const c4bIncludedTechnicalContacts = document.getElementById('c4bIncludedTechnicalContacts');
const c4bIncludedNodeRange = document.getElementById('c4bIncludedNodeRange');
Expand All @@ -212,7 +211,6 @@ window.addEventListener('DOMContentLoaded', () => {
};

showHideIncludedItems(c4bIncludedIntroCallAndDemo, level.introCallAndDemo);
showHideIncludedItems(c4bIncludedStructuredEvaluation, level.structuredEvaluation);
showHideIncludedItems(c4bIncludedSupport24x7, level.support24x7);
showHideIncludedItems(c4bIncludedCasesPerMonth.parentNode, level.casesPerMonth);
showHideIncludedItems(c4bIncludedTechnicalContacts, level.technicalContacts);
Expand Down
5 changes: 0 additions & 5 deletions js/ts/util/chocolatey-pricing-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export interface C4bIncludedItems {
premiumSupportOptional: boolean;
standardSupport: boolean;
introCallAndDemo: boolean;
structuredEvaluation: boolean;
support24x7: boolean;
responseTimes?: {
p1: number;
Expand All @@ -72,7 +71,6 @@ export const c4bIncludedItems: C4bIncludedItems[] = [
premiumSupportOptional: false,
standardSupport: false,
introCallAndDemo: false,
structuredEvaluation: false,
support24x7: false
},
{
Expand All @@ -83,7 +81,6 @@ export const c4bIncludedItems: C4bIncludedItems[] = [
premiumSupportOptional: false,
standardSupport: true,
introCallAndDemo: true,
structuredEvaluation: false,
support24x7: false,
responseTimes: {
p1: 4,
Expand All @@ -99,7 +96,6 @@ export const c4bIncludedItems: C4bIncludedItems[] = [
premiumSupportOptional: true,
standardSupport: true,
introCallAndDemo: true,
structuredEvaluation: false,
support24x7: false,
responseTimes: {
p1: 3,
Expand All @@ -115,7 +111,6 @@ export const c4bIncludedItems: C4bIncludedItems[] = [
premiumSupportOptional: true,
standardSupport: true,
introCallAndDemo: true,
structuredEvaluation: true,
support24x7: true,
responseTimes: {
p1: 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choco-theme",
"version": "0.5.9",
"version": "0.5.10",
"description": "The global theme for Chocolatey Software.",
"repository": {
"type": "git",
Expand Down
2 changes: 0 additions & 2 deletions playwright/tests/pricing-calculator/included-items.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ test('test-included-items', async ({ page }) => {
const nodeCounts = [35, 100, 500, 1500, 50000];
const itemSupportType = '#c4bIncludedSupportType';
const itemIntroCallAndDemo = '#c4bIncludedIntroCallAndDemo';
const itemStructuredEvaluation = '#c4bIncludedStructuredEvaluation';
const itemCasesPerMonth = '#c4bIncludedCasesPerMonth';
const itemTechnicalContacts = '#c4bIncludedTechnicalContacts';
const itemSupport24x7 = '#c4bIncludedSupport24x7';
Expand Down Expand Up @@ -49,7 +48,6 @@ test('test-included-items', async ({ page }) => {
};

await showHideIncludedItems(itemIntroCallAndDemo, level.introCallAndDemo);
await showHideIncludedItems(itemStructuredEvaluation, level.structuredEvaluation);
await showHideIncludedItems(itemSupport24x7, level.support24x7);
await showHideIncludedItems(itemCasesPerMonth, level.casesPerMonth);
await showHideIncludedItems(itemTechnicalContacts, level.technicalContacts);
Expand Down

0 comments on commit ad9b971

Please sign in to comment.