-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move SSH Key delete form to sidepanel (#5291)
- Loading branch information
1 parent
32db438
commit 74ecb1c
Showing
11 changed files
with
237 additions
and
148 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
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
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,17 @@ | ||
import type { ValueOf } from "@canonical/react-components"; | ||
|
||
import type { PreferenceSidePanelViews } from "./constants"; | ||
|
||
import type { SidePanelContent, SetSidePanelContent } from "@/app/base/types"; | ||
import type { SSHKey } from "@/app/store/sshkey/types"; | ||
|
||
type SSHKeyGroup = { | ||
keys: SSHKey[]; | ||
}; | ||
export type PreferenceSidePanelContent = SidePanelContent< | ||
ValueOf<typeof PreferenceSidePanelViews>, | ||
{ group?: SSHKeyGroup } | ||
>; | ||
|
||
export type PreferenceSetSidePanelContent = | ||
SetSidePanelContent<PreferenceSidePanelContent>; |
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.