Explorar o código

Merge branch 'feat/growi-bot' into imprv/gw5607-make-bot-type-content-component

kaori %!s(int64=5) %!d(string=hai) anos
pai
achega
3dd5ff2e8c

+ 3 - 0
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -152,6 +152,7 @@ const SlackIntegration = (props) => {
             <div
             <div
               className={`card admin-bot-card mx-3 rounded border-radius-sm shadow ${currentBotType === 'official-bot' ? 'border-primary' : ''}`}
               className={`card admin-bot-card mx-3 rounded border-radius-sm shadow ${currentBotType === 'official-bot' ? 'border-primary' : ''}`}
               onClick={() => handleBotTypeSelect('official-bot')}
               onClick={() => handleBotTypeSelect('official-bot')}
+              role="button"
             >
             >
               <div>
               <div>
                 <h3 className={`card-header mb-0 py-3 text-center ${currentBotType === 'official-bot' ? 'bg-primary text-light' : ''}`}>
                 <h3 className={`card-header mb-0 py-3 text-center ${currentBotType === 'official-bot' ? 'bg-primary text-light' : ''}`}>
@@ -191,6 +192,7 @@ const SlackIntegration = (props) => {
             <div
             <div
               className={`card admin-bot-card mx-3 rounded shadow ${currentBotType === 'custom-bot-without-proxy' ? 'border-primary' : ''}`}
               className={`card admin-bot-card mx-3 rounded shadow ${currentBotType === 'custom-bot-without-proxy' ? 'border-primary' : ''}`}
               onClick={() => handleBotTypeSelect('custom-bot-without-proxy')}
               onClick={() => handleBotTypeSelect('custom-bot-without-proxy')}
+              role="button"
             >
             >
               <h3 className={`card-header mb-0 py-3 text-center text-nowrap  ${currentBotType === 'custom-bot-without-proxy' ? 'bg-primary text-light' : ''}`}>
               <h3 className={`card-header mb-0 py-3 text-center text-nowrap  ${currentBotType === 'custom-bot-without-proxy' ? 'bg-primary text-light' : ''}`}>
                 <span className="mr-2">
                 <span className="mr-2">
@@ -232,6 +234,7 @@ const SlackIntegration = (props) => {
             <div
             <div
               className={`card admin-bot-card mx-3 rounded shadow ${currentBotType === 'custom-bot-with-proxy' ? 'border-primary' : ''}`}
               className={`card admin-bot-card mx-3 rounded shadow ${currentBotType === 'custom-bot-with-proxy' ? 'border-primary' : ''}`}
               onClick={() => handleBotTypeSelect('custom-bot-with-proxy')}
               onClick={() => handleBotTypeSelect('custom-bot-with-proxy')}
+              role="button"
             >
             >
               <h3 className={`card-header mb-0 py-3 text-center text-nowrap ${currentBotType === 'custom-bot-with-proxy' ? 'bg-primary text-light' : ''}`}>
               <h3 className={`card-header mb-0 py-3 text-center text-nowrap ${currentBotType === 'custom-bot-with-proxy' ? 'bg-primary text-light' : ''}`}>
                 <span className="mr-2">
                 <span className="mr-2">

+ 0 - 1
src/client/styles/scss/_admin.scss

@@ -98,7 +98,6 @@
     }
     }
     .admin-bot-card {
     .admin-bot-card {
       min-width: 280px;
       min-width: 280px;
-      cursor: pointer;
       border-radius: 8px !important;
       border-radius: 8px !important;
     }
     }
     .border-primary {
     .border-primary {