Frontend: - Add Discord-style 3-column layout (server icons / channel sidebar / chat) - AI Studio design system: new CSS token palette (--room-* vars) - Replace all hardcoded Discord colors with CSS variable tokens - Add RoomSettingsPanel (name, visibility, AI model management) - Settings + Member list panels mutually exclusive (don't overlap) - AI models shown at top of member list with green accent - Fix TS errors: TipTap SuggestionOptions, unused imports, StarterKit options - Remove MentionInput, MentionPopover, old room components (废弃代码清理) Backend: - RoomAiResponse returns model_name from agents.model JOIN - room_ai_list and room_ai_upsert fetch model name for each config - AiConfigData ws-protocol interface updated with model_name Note: RoomSettingsPanel UI still uses shadcn defaults (未完全迁移到AI Studio)
68 lines
1.9 KiB
YAML
68 lines
1.9 KiB
YAML
{{- $fullName := include "gitdata.fullname" . -}}
|
|
{{- $ns := include "gitdata.namespace" . -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ $fullName }}-ingress
|
|
namespace: {{ $ns }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ $fullName }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: cloudflare-acme-cluster-issuer
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
|
nginx.ingress.kubernetes.io/enable-websocket: "true"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- gitdata.ai
|
|
- api.gitdata.ai
|
|
- git.gitdata.ai
|
|
- static.gitdata.ai
|
|
secretName: {{ $fullName }}-tls
|
|
rules:
|
|
- host: gitdata.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $fullName }}-app
|
|
port:
|
|
number: {{ .Values.app.service.port }}
|
|
- host: api.gitdata.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $fullName }}-app
|
|
port:
|
|
number: {{ .Values.app.service.port }}
|
|
- host: git.gitdata.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $fullName }}-gitserver-http
|
|
port:
|
|
number: {{ .Values.gitserver.service.http.port }}
|
|
- host: static.gitdata.ai
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $fullName }}-static
|
|
port:
|
|
number: {{ .Values.static.service.port }}
|