Skip to content

Commit

Permalink
Merge pull request #1876 from Kajabi/chore/pl_dynamic-select-dep-message
Browse files Browse the repository at this point in the history
chore(dynamic-select): adds deprecation messaging
  • Loading branch information
pixelflips authored Apr 8, 2024
2 parents cd51072 + 8798325 commit 2134346
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/app/helpers/components_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ def sage_components
{
title: "catalog_item",
description: "The Catalog Item displays Products, Offers, and other resources with a large amount of detail to display in list form.",
scss: "done",
docs: "done",
rails: "done",
react: "todo",
responsive: "todo",
a11y: "done",
scss: "stop",
docs: "stop",
rails: "stop",
react: "stop",
responsive: "stop",
a11y: "stop",
figma_embed: "",
},
{
Expand Down Expand Up @@ -311,12 +311,12 @@ def sage_components
{
title: "dynamic_select",
description: "A description is about the dynamic select.",
scss: "done",
docs: "todo",
rails: "done",
react: "todo",
responsive: "todo",
a11y: "todo",
scss: "stop",
docs: "stop",
rails: "stop",
react: "stop",
responsive: "stop",
a11y: "stop",
figma_embed: "",
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<%= sage_component SageAlert, {
color: "warning",
title: "Deprecated",
desc: "Dynamic Select is deprecated and no longer recommended. Please reach out for #{link_to "support or any questions", "/pages/support"}.".html_safe,
icon_name: "sage-icon-danger-filled",
} %>

<h3>Working with the<code>Sage Dynamic Select Input (Select2)</code></h3>
<p>
The dynamic select input is a sagified version of the select2 input that resides in <code>Kajabi Products.</code> The input fuctionality leverages the Javascript library select2 and includes several options for tailoring the input to the UI. The input can retrieve options from any arbitrary API that will return validly structured JSON.<br/> <br/> Basic usage and complete documentation ca be found
Expand Down

0 comments on commit 2134346

Please sign in to comment.