rebrand + purge orphaned frontend: Chat Switchboard → Switchboard Core
Some checks failed
CI/CD / detect-changes (push) Successful in 23s
CI/CD / test-sqlite (push) Failing after 20s
CI/CD / test-frontend (push) Failing after 21s
CI/CD / test-go-pg (push) Failing after 38s
CI/CD / build-and-deploy (push) Has been skipped

Branding: bulk rename across 50+ files (Go, JS, CSS, HTML, YAML, JSON,
shell scripts). Fix Helm chart description and git repo URLs.
Fix test helper taglines.

Admin surface: strip 14 gutted tabs (providers, models, personas,
roles, knowledge, memory, tasks, health, routing, capabilities,
channels, dashboard, usage, stats). Collapse to 4 categories:
People, Workflows, System, Monitoring.

Settings surface: strip 11 gutted tabs (models, personas, providers,
roles, knowledge, memory, usage, workflows, tasks, data, gitkeys).
Keep: general, appearance, profile, teams, connections, notifications.

Team-admin surface: strip 5 gutted tabs (personas, providers,
knowledge, tasks, usage). Keep: members, groups, connections,
workflows, settings, activity.

Components: delete chat-pane/ (13 files, 1938 lines) and
notes-pane/ (10 files, 2381 lines).

main.go: remove stale Health.Prune maintenance goroutine.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 10:28:09 +00:00
parent 45291860c5
commit c470037fb5
107 changed files with 83 additions and 7744 deletions

View File

@@ -53,7 +53,7 @@ func NewService(s store.NotificationStore, hub *events.Hub) *Service {
return &Service{
store: s,
hub: hub,
instanceName: "Chat Switchboard",
instanceName: "Switchboard Core",
retentionDays: 90,
stopCleanup: make(chan struct{}),
}

View File

@@ -54,7 +54,7 @@ Adjust your notification preferences in Settings.
// RenderHTML renders an HTML email body for a notification.
func RenderHTML(n *models.Notification, instanceName string) string {
if instanceName == "" {
instanceName = "Chat Switchboard"
instanceName = "Switchboard Core"
}
data := emailData{
Title: n.Title,
@@ -73,7 +73,7 @@ func RenderHTML(n *models.Notification, instanceName string) string {
// RenderText renders a plaintext email body for a notification.
func RenderText(n *models.Notification, instanceName string) string {
if instanceName == "" {
instanceName = "Chat Switchboard"
instanceName = "Switchboard Core"
}
data := emailData{
Title: n.Title,
@@ -92,7 +92,7 @@ func RenderText(n *models.Notification, instanceName string) string {
// SubjectForNotification returns an email subject line.
func SubjectForNotification(n *models.Notification, instanceName string) string {
if instanceName == "" {
instanceName = "Chat Switchboard"
instanceName = "Switchboard Core"
}
prefix := "[" + instanceName + "] "
switch {

View File

@@ -28,7 +28,7 @@ func TestRenderHTML_Basic(t *testing.T) {
func TestRenderHTML_DefaultInstanceName(t *testing.T) {
n := &models.Notification{Title: "Test"}
html := RenderHTML(n, "")
if !strings.Contains(html, "Chat Switchboard") {
if !strings.Contains(html, "Switchboard Core") {
t.Error("expected default instance name")
}
}