Commit 05bd7c88 authored by Labros Papadopoulos's avatar Labros Papadopoulos
Browse files

feat: adding tooltip for kubeconfig

parent a4c50b80
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -7,7 +7,9 @@ import {
  SelectItem,
  SharedSelection,
  DatePicker,
  Tooltip,
} from '@nextui-org/react';
import { Info } from "lucide-react";
import { ModalContent, ModalFooter, ModalHeader } from '@nextui-org/react';
import { CalendarDate } from '@internationalized/date';
import { createCluster } from '@/actions/domain-management';
@@ -206,8 +208,13 @@ const PlatformClustersAddModal: React.FC<PlatformClustersAddModalProps> = ({
              </div>
            </div>
            <div className="flex items-center justify-between gap-3 text-foreground light">
              <div className="w-40 text-sm font-light text-maestro-black-80">
              <div className="w-40 text-sm font-light text-maestro-black-80 flex items-center gap-1">
                <span>
                  KubeConfig<sup>*</sup>
                </span>
                <Tooltip content="Paste your kubeconfig file contents here in base64 format" placement="top">
                  <Info size={14} className="cursor-help text-gray-400" />
                </Tooltip>
              </div>
              <div className="w-80">
                <Input
+10 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
        "jwt-decode": "^4.0.0",
        "leaflet": "^1.9.4",
        "lodash": "^4.17.21",
        "lucide-react": "^1.42.0",
        "next": "^14.2.28",
        "next-auth": "^5.0.0-beta.20",
        "opencage-api-client": "^1.1.0",
@@ -8233,6 +8234,15 @@
      "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
      "license": "ISC"
    },
    "node_modules/lucide-react": {
      "version": "1.42.0",
      "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.42.0.tgz",
      "integrity": "sha512-b3jprplnoLS8n5etw1z8xODe3hF/yjKATrTitsrKrnjUhCef5BdDct6Ppv3zVvzFwmtfWgLO6XNM3C9fAD93ug==",
      "license": "ISC",
      "peerDependencies": {
        "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
      }
    },
    "node_modules/luxon": {
      "version": "3.5.0",
      "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz",
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
    "jwt-decode": "^4.0.0",
    "leaflet": "^1.9.4",
    "lodash": "^4.17.21",
    "lucide-react": "^1.42.0",
    "next": "^14.2.28",
    "next-auth": "^5.0.0-beta.20",
    "opencage-api-client": "^1.1.0",