* feat: 🎸 add credentials panel for session detail screen ✅ Closes: ICU-10315 * fix: 🐛 remove use of A in sessions list array * refactor: 💡 fix class name to apply style to both detail screen * refactor: 💡 add comment to resetController on session route * refactor: 💡 add @value to HDS Toggle in session detail page * refactor: 💡 class name refactor for credential panel * refactor: 💡 remove unneeded div around CodeEditor * refactor: 💡 change border units from rem to px * feat: 🎸 create CredentialsPanel component * Update ui/desktop/tests/integration/components/credentials-panel-test.js Co-authored-by: Dharini Jeeva <dharini@hashicorp.com> * refactor: 💡 update credential panel styles * style: 💄 fix lint error for desktop styles * chore: 🤖 yarn.lock update --------- Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
18 lines
407 B
JavaScript
18 lines
407 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Component from '@glimmer/component';
|
|
import { tracked } from '@glimmer/tracking';
|
|
import { action } from '@ember/object';
|
|
|
|
export default class CredentialsPanelIndexComponent extends Component {
|
|
@tracked isRawApiVisible = false;
|
|
|
|
@action
|
|
toggleCredentials() {
|
|
this.isRawApiVisible = !this.isRawApiVisible;
|
|
}
|
|
}
|