Hardcode links to CCM to be false (#20732)

Hardcode links to CCM to be false - due to CCM deprecation

Remove changelog item for breaking Ui change
 - since CCM linking no longer exists
This commit is contained in:
Chris Hut 2024-02-26 12:34:01 -08:00 committed by GitHub
parent 3ee926e6b3
commit a58f346f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 7 deletions

View File

@ -1,3 +0,0 @@
```release-note:breaking-change
ui: Adds a "Link to HCP Consul Central" modal with integration to side-nav and link to HCP banner. There will be an option to disable the Link to HCP banner from the UI in a follow-up release.
```

View File

@ -41,7 +41,8 @@ export default class HcpLinkItemComponent extends Component {
return false;
}
return true;
// With the death of Consul Central, we don't want to display the link nav item
return false;
}
get shouldShowBackToHcpItem() {

View File

@ -14,7 +14,8 @@ export default class HcpLinkStatus extends Service {
userDismissedBanner = false;
get shouldDisplayBanner() {
return !this.userDismissedBanner && this.hasPermissionToLink;
// With the death of Consul Central, we don't want to display the link nav item
return false;
}
get hasPermissionToLink() {

View File

@ -12,7 +12,7 @@ const linkToHcpSelector = '[data-test-link-to-hcp]';
const linkToHcpBannerButtonSelector = '[data-test-link-to-hcp-banner-button]';
const linkToHcpModalSelector = '[data-test-link-to-hcp-modal]';
const linkToHcpModalCancelButtonSelector = '[data-test-link-to-hcp-modal-cancel-button]';
module('Acceptance | link to hcp', function (hooks) {
module.skip('Acceptance | link to hcp', function (hooks) {
setupApplicationTest(hooks);
hooks.beforeEach(function () {

View File

@ -86,7 +86,7 @@ module('Integration | Component | hcp nav item', function (hooks) {
});
});
module('when rendered in self managed mode', function (hooks) {
module.skip('when rendered in self managed mode', function (hooks) {
hooks.beforeEach(function () {
this.owner.register(
'service:env',