Browse Source

SONAR-14736 Highlight that installing plugins is manual

tags/8.9.0.43852
Jeremy Davis 3 years ago
parent
commit
6954d3d1b7

+ 3
- 2
server/sonar-web/src/main/js/apps/marketplace/App.tsx View File

@@ -22,6 +22,7 @@ import * as React from 'react';
import { Helmet } from 'react-helmet-async';
import { FormattedMessage } from 'react-intl';
import { Link } from 'react-router';
import { Alert } from 'sonar-ui-common/components/ui/Alert';
import DeferredSpinner from 'sonar-ui-common/components/ui/DeferredSpinner';
import { translate } from 'sonar-ui-common/helpers/l10n';
import {
@@ -167,7 +168,7 @@ export class App extends React.PureComponent<Props, State> {
<div className="page-description">
<p>{translate('marketplace.page.plugins.description')}</p>
{currentEdition !== EditionKey.community && (
<p className="spacer-top">
<Alert className="spacer-top" variant="info">
<FormattedMessage
id="marketplace.page.plugins.description2"
defaultMessage={translate('marketplace.page.plugins.description2')}
@@ -181,7 +182,7 @@ export class App extends React.PureComponent<Props, State> {
)
}}
/>
</p>
</Alert>
)}
</div>
</header>

+ 6
- 4
server/sonar-web/src/main/js/apps/marketplace/__tests__/__snapshots__/App-test.tsx.snap View File

@@ -33,8 +33,9 @@ exports[`should render correctly: loaded 1`] = `
<p>
marketplace.page.plugins.description
</p>
<p
<Alert
className="spacer-top"
variant="info"
>
<FormattedMessage
defaultMessage="marketplace.page.plugins.description2"
@@ -52,7 +53,7 @@ exports[`should render correctly: loaded 1`] = `
}
}
/>
</p>
</Alert>
</div>
</header>
<PluginRiskConsentBox
@@ -131,8 +132,9 @@ exports[`should render correctly: loading 1`] = `
<p>
marketplace.page.plugins.description
</p>
<p
<Alert
className="spacer-top"
variant="info"
>
<FormattedMessage
defaultMessage="marketplace.page.plugins.description2"
@@ -150,7 +152,7 @@ exports[`should render correctly: loading 1`] = `
}
}
/>
</p>
</Alert>
</div>
</header>
<PluginRiskConsentBox

+ 1
- 1
sonar-core/src/main/resources/org/sonar/l10n/core.properties View File

@@ -2752,7 +2752,7 @@ marketplace.search=Search by features, tags, or categories...
marketplace.risk_consent.title=Installation of plugins
marketplace.risk_consent.description=Plugins are not provided by SonarSource and are therefore installed at your own risk. SonarSource disclaims all liability for installing and using such plugins.
marketplace.risk_consent.installation=You can install plugins directly from the list below after you acknowledge the risk.
marketplace.risk_consent.action=I understand the risk.
marketplace.risk_consent.action=I understand the risk

plugin_risk_consent.title=Installation of plugins
plugin_risk_consent.description=A plugin has been detected.

Loading…
Cancel
Save