Skip to content

Commit

Permalink
updating license/features details
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed May 20, 2024
1 parent 35ab7be commit c88b8b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/enterprise/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The SageWorks API and User Interfaces cover a broad set of AWS Machine Learning
| **<a href="https://supercowpowers.github.io/sageworks/plugins/" target="_blank">Dashboard Plugins</a>** || 🟢 | 🟢 | 🟢 |
| **<a href="https://supercowpowers.github.io/sageworks/plugins/" target="_blank">Custom Pages</a>** ||| 🟢 | 🟢 |
| **<a href="https://supercowpowers.github.io/sageworks/enterprise/themes/" target="_blank">Themes</a>** ||| 🟢 | 🟢 |
| **<a href="https://supercowpowers.github.io/sageworks/api_classes/pipelines/" target="_blank">ML Pipelines</a>** ||| 🟢 | 🟢 |
| **<a href="https://supercowpowers.github.io/sageworks/api_classes/pipelines/" target="_blank">ML Pipelines</a>** ||| | 🟢 |
| **<a href="https://supercowpowers.github.io/sageworks/enterprise/project_branding/" target="_blank">Project Branding</a>** |||| 🟢 |
| **Prioritized Feature Requests** ||||🟢|
| **Pricing** || $1500*| $3000* | $4000* |
Expand Down
15 changes: 14 additions & 1 deletion src/sageworks/web_components/plugins/license_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
# Get the SageWorks logger
log = logging.getLogger("sageworks")

# Feature Information Dictionary
FEATURES = {
"plugins": "Component Plugins",
"pages": "Fully Customizable Pages",
"themes": "Dark, Light, and Custom Themes",
"pipelines": "Machine Learning Pipelines (beta)",
"branding": "Company/Project User Interface Branding"
}


class LicenseDetails(PluginInterface):
"""License Details Markdown Component"""
Expand Down Expand Up @@ -82,7 +91,11 @@ def update_properties(self, license: dict, **kwargs) -> list:
for feature, value in license["features"].items():
details += f" - **{feature}:** {value}\n"
else:
details += f" - {license['features']}\n"
for feature, description in FEATURES.items():
if feature in license["features"]:
details += f" - {description} (**YES**)\n"
else:
details += f" - {description} ([UPGRADE](https://supercowpowers.github.io/sageworks/enterprise/))\n"

# Fill in the support details
support_header = "Support Information"
Expand Down

0 comments on commit c88b8b8

Please sign in to comment.