mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(kubernetes): list all kube services screen [EE-1571] (#8524)
* port services from ee * fix external link * post review improvements * remove applications-ports-datatable * minor post review updates * add services help url * post review update * more post review updates * post review updates * rename index to component * fix external ip display and sorting * fix external apps tag * fix ingress screen time format * use uid for row id. Prevent blank link * fix some missing bits ported from EE * match ee * fix display of show system resources * remove icon next to service type
This commit is contained in:
parent
8d6797dc9f
commit
ac47649631
43 changed files with 1121 additions and 456 deletions
|
@ -163,6 +163,12 @@ const docURLs = [
|
|||
locationRegex: /#!\/\d+\/kubernetes\/applications/,
|
||||
examples: ['#!/1/kubernetes/applications', '#!/1/kubernetes/applications/new', '#!/1/kubernetes/deploy?templateId=', '#!/1/kubernetes/applications/metallb-system/controller'],
|
||||
},
|
||||
{
|
||||
desc: 'Kubernetes / Services',
|
||||
docURL: 'https://docs.portainer.io/user/kubernetes/services',
|
||||
locationRegex: /#!\/\d+\/kubernetes\/services/,
|
||||
examples: ['#!/1/kubernetes/services'],
|
||||
},
|
||||
{
|
||||
desc: 'Kubernetes / Ingresses',
|
||||
docURL: 'https://docs.portainer.io/user/kubernetes/ingresses',
|
||||
|
|
|
@ -20,7 +20,7 @@ export function TextTip({
|
|||
}: PropsWithChildren<Props>) {
|
||||
return (
|
||||
<p className={clsx('small inline-flex items-center gap-1', className)}>
|
||||
<Icon icon={icon} mode={getMode(color)} />
|
||||
<Icon icon={icon} mode={getMode(color)} className="shrink-0" />
|
||||
<span className="text-muted">{children}</span>
|
||||
</p>
|
||||
);
|
||||
|
|
|
@ -8,7 +8,7 @@ export interface PaginationTableSettings {
|
|||
setPageSize: (pageSize: number) => void;
|
||||
}
|
||||
|
||||
type ZustandSetFunc<T> = (
|
||||
export type ZustandSetFunc<T> = (
|
||||
partial: T | Partial<T> | ((state: T) => T | Partial<T>),
|
||||
replace?: boolean | undefined
|
||||
) => void;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import { ReactNode } from 'react';
|
||||
|
||||
import { openDialog, DialogOptions } from './Dialog';
|
||||
import { OnSubmit, ModalType } from './Modal';
|
||||
import { ButtonOptions } from './types';
|
||||
|
@ -45,7 +47,7 @@ export function confirmWebEditorDiscard() {
|
|||
});
|
||||
}
|
||||
|
||||
export function confirmDelete(message: string) {
|
||||
export function confirmDelete(message: ReactNode) {
|
||||
return confirmDestructive({
|
||||
title: 'Are you sure?',
|
||||
message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue