-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport UI: Add pagination to new PKI (#23238)
* UI: Show unsupported screen if replication unsupported (#23178) * UI: add pagination to new PKI (#23193)
- Loading branch information
Showing
29 changed files
with
653 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
ui: Add pagination to PKI roles, keys, issuers, and certificates list pages | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Copyright (c) HashiCorp, Inc. | ||
* SPDX-License-Identifier: BUSL-1.1 | ||
*/ | ||
|
||
import { action } from '@ember/object'; | ||
import { next } from '@ember/runloop'; | ||
import Component from '@glimmer/component'; | ||
import { PKI_DEFAULT_EMPTY_STATE_MSG } from 'pki/routes/overview'; | ||
import type PkiIssuerModel from 'vault/models/pki/issuer'; | ||
|
||
interface BasicDropdown { | ||
actions: { | ||
close: CallableFunction; | ||
}; | ||
} | ||
interface Args { | ||
issuers: PkiIssuerModel[]; | ||
mountPoint: string; | ||
} | ||
|
||
export default class PkiIssuerList extends Component<Args> { | ||
notConfiguredMessage = PKI_DEFAULT_EMPTY_STATE_MSG; | ||
|
||
// To prevent production build bug of passing D.actions to on "click": https://github.com/hashicorp/vault/pull/16983 | ||
@action onLinkClick(D: BasicDropdown) { | ||
next(() => D.actions.close()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.