Skip to content

Commit b185006

Browse files
authored
[frontend] Remove information about agent installation since we now support endpoint without agents (#3418)
1 parent 0a2f272 commit b185006

File tree

4 files changed

+3
-22
lines changed

4 files changed

+3
-22
lines changed

openbas-front/src/admin/components/assets/endpoints/Endpoints.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { DevicesOtherOutlined, HelpOutlineOutlined } from '@mui/icons-material';
22
import {
3-
Alert,
43
List,
54
ListItem,
65
ListItemButton,
@@ -32,7 +31,6 @@ import PaginatedListLoader from '../../../../components/PaginatedListLoader';
3231
import { ENDPOINT_BASE_URL } from '../../../../constants/BaseUrls';
3332
import { useHelper } from '../../../../store';
3433
import { type EndpointOutput, type SearchPaginationInput } from '../../../../utils/api-types';
35-
import useAuth from '../../../../utils/hooks/useAuth';
3634
import EndpointListItemFragments from '../../common/endpoints/EndpointListItemFragments';
3735
import EndpointAgentsExecutorsFragment from '../../common/endpoints/fragments/EndpointAgentsExecutorsFragment';
3836
import EndpointCreation from './EndpointCreation';
@@ -67,7 +65,6 @@ const Endpoints = () => {
6765
const { classes } = useStyles();
6866
const bodyItemsStyles = useBodyItemsStyles();
6967
const { t } = useFormatter();
70-
const { settings } = useAuth();
7168

7269
// Query param
7370
const [searchParams] = useSearchParams();
@@ -158,19 +155,6 @@ const Endpoints = () => {
158155
current: true,
159156
}]}
160157
/>
161-
<Alert variant="outlined" severity="info" style={{ marginBottom: 30 }}>
162-
{t('To register new endpoints, you will need to install an agent. You can find detailed instructions on the ')}
163-
<a href={`${settings.platform_base_url}/admin/agents`} target="_blank" rel="noopener noreferrer">
164-
{t('agent installation page')}
165-
</a>
166-
&nbsp;
167-
{t('and in our')}
168-
&nbsp;
169-
<a href="https://docs.openbas.io" target="_blank" rel="noreferrer">
170-
{t('documentation')}
171-
</a>
172-
.
173-
</Alert>
174158
<PaginationComponentV2
175159
fetch={searchEndpointsToLoad}
176160
searchPaginationInput={searchPaginationInput}

openbas-front/src/utils/lang/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,6 @@
15191519
"To install, copy and paste the following PowerShell snippet into an elevated prompt or download the .ps1 script.": "To install, copy and paste the following PowerShell snippet into an elevated prompt or download the .ps1 script.",
15201520
"To obtain a license, please": "To obtain a license, please",
15211521
"To put arguments in the command line, use #{argument_key}": "To put arguments in the command line, use #{argument_key}",
1522-
"To register new endpoints, you will need to install an agent. You can find detailed instructions on the ": "To register new endpoints, you will need to install an agent. You can find detailed instructions on the ",
15231522
"To use AI, please enable it in the configuration of your platform.": "To use AI, please enable it in the configuration of your platform.",
15241523
"toggle": "toggle",
15251524
"token": "Account token",
@@ -1715,4 +1714,4 @@
17151714
"Your overall evaluation about this question.": "Your overall evaluation about this question.",
17161715
"your trial license online": "your trial license online",
17171716
"YYYY": "YYYY"
1718-
}
1717+
}

openbas-front/src/utils/lang/fr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,6 @@
15191519
"To install, copy and paste the following PowerShell snippet into an elevated prompt or download the .ps1 script.": "Pour installer, copiez et collez le code PowerShell suivant dans une invite élevée ou téléchargez le script .ps1.",
15201520
"To obtain a license, please": "Pour obtenir une licence, veuillez",
15211521
"To put arguments in the command line, use #{argument_key}": "Pour ajouter des arguments à la ligne de commande, utilisez #{argument_key}",
1522-
"To register new endpoints, you will need to install an agent. You can find detailed instructions on the ": "Pour enregistrer de nouveaux points d'extrémité, vous devez installer un agent. Vous trouverez des instructions détaillées sur le site ",
15231522
"To use AI, please enable it in the configuration of your platform.": "Pour utiliser l'IA, veuillez l'activer dans la configuration de votre plateforme.",
15241523
"toggle": "Basculer",
15251524
"token": "Token du compte",
@@ -1715,4 +1714,4 @@
17151714
"Your overall evaluation about this question.": "Votre évaluation globale de cette question.",
17161715
"your trial license online": "votre licence d'essai en ligne",
17171716
"YYYY": "AAAA"
1718-
}
1717+
}

openbas-front/src/utils/lang/zh.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,6 @@
15191519
"To install, copy and paste the following PowerShell snippet into an elevated prompt or download the .ps1 script.": "要安装,请将以下 PowerShell 代码粘贴到提升的命令提示符中,或者下载 .ps1 脚本。",
15201520
"To obtain a license, please": "要获得许可证,请",
15211521
"To put arguments in the command line, use #{argument_key}": "要在命令行中加入参数,请使用 #{argument_key}",
1522-
"To register new endpoints, you will need to install an agent. You can find detailed instructions on the ": "要注册新的端点,需要安装一个代理。您可以在 ",
15231522
"To use AI, please enable it in the configuration of your platform.": "要使用人工智能,请在平台配置中启用它。",
15241523
"toggle": "切换",
15251524
"token": "令牌",
@@ -1715,4 +1714,4 @@
17151714
"Your overall evaluation about this question.": "您对此问题的总体评价。",
17161715
"your trial license online": "在线试用许可证",
17171716
"YYYY": "YYYY"
1718-
}
1717+
}

0 commit comments

Comments
 (0)