From 2e3f9b9e253a4a170266004480c42001093e9901 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Fri, 2 Jul 2021 20:38:05 +1000 Subject: [PATCH] Add deprecation warning for CascadeStudio https://github.com/Irev-Dev/cadhub/discussions/261 --- .../src/components/NavPlusButton/NavPlusButton.tsx | 4 ---- app/web/src/components/PartProfile/PartProfile.js | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app/web/src/components/NavPlusButton/NavPlusButton.tsx b/app/web/src/components/NavPlusButton/NavPlusButton.tsx index edd27f9..0f7697a 100644 --- a/app/web/src/components/NavPlusButton/NavPlusButton.tsx +++ b/app/web/src/components/NavPlusButton/NavPlusButton.tsx @@ -18,10 +18,6 @@ const NavPlusButton: React.FC = () => { ideType: 'openScad', }, { name: 'CadQuery', sub: 'beta', ideType: 'cadQuery' }, - { - name: 'CascadeStudio', - sub: 'soon to be deprecated', - }, ].map(({ name, sub, ideType }) => (
  • +
    +

    + Warning, this part was made with CascadeStudio which is being + deprecated on CadHub.{' '} + + Click here + {' '} + for more information +

    +
    {!isEditable && part?.id && (