The four entries pointing at /images/demo/logos/{1-4}.svg (gsc-meet,
gsc-ai-hub, gsc-surveillance, gsc-dam) shipped icon URLs that don't
resolve in any consumer app's public/, producing 404s in every
AdminShell app-switcher render. Replaced with Phosphor classes +
bg-*-lt tinted tiles, matching the existing gsc-voice/gsc-archive
pattern in the same seed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
2.5 KiB
SQL
31 lines
2.5 KiB
SQL
-- @gsc/web-kit nav.apps canonical seed (apply verbatim, never edit)
|
|
--
|
|
-- Replicated into every app's nav.apps table so the "browse apps" panel
|
|
-- shows the same canonical list everywhere. Updates flow via kit version
|
|
-- bumps: re-copy this file into each app's migrations directory and re-apply.
|
|
--
|
|
-- ON CONFLICT (key) DO UPDATE keeps the canonical list in sync — any local
|
|
-- edits to these rows will be overwritten on next apply. Add new apps by
|
|
-- editing this file in the kit and bumping the kit's minor version.
|
|
|
|
INSERT INTO nav.apps (key, name, description, url, icon_class, icon_url, icon_bg, sort_order, enabled)
|
|
VALUES
|
|
('gsc-crm', 'CRM', 'Customer relationship management', 'https://crm.gosec.internal', NULL, 'https://assets.gosec.cloud/logos/crm.svg', NULL, 10, TRUE),
|
|
('gsc-chronos', 'Chronos', 'Time tracking and timesheets', 'https://chronos.gosec.internal', NULL, 'https://assets.gosec.cloud/logos/chronos.svg', NULL, 20, TRUE),
|
|
('gsc-meet', 'GSC Meet', 'Video conferencing with AI features', '/apps/gsc-meet', 'ph-video-camera', NULL, 'bg-success-lt', 30, TRUE),
|
|
('gsc-voice', 'Voice', 'PBX and telephony management', '/apps/gsc-voice', 'ph-phone', NULL, 'bg-primary-lt', 40, TRUE),
|
|
('gsc-ai-hub', 'AI Hub', 'AI models and services management', '/apps/gsc-ai-hub', 'ph-brain', NULL, 'bg-warning-lt', 50, TRUE),
|
|
('gsc-surveillance', 'Surveillance', 'Video surveillance and security', '/apps/surveillance', 'ph-shield-check', NULL, 'bg-danger-lt', 60, TRUE),
|
|
('gsc-archive', 'Archive', 'Email archiving and eDiscovery', '/apps/gsc-archive', 'ph-archive-box', NULL, 'bg-info-lt', 70, TRUE),
|
|
('gsc-dam', 'Digital Asset Manager', 'Media and asset management platform', '/apps/gsc-dam', 'ph-images-square', NULL, 'bg-secondary-lt', 80, TRUE)
|
|
ON CONFLICT (key) DO UPDATE
|
|
SET name = EXCLUDED.name,
|
|
description = EXCLUDED.description,
|
|
url = EXCLUDED.url,
|
|
icon_class = EXCLUDED.icon_class,
|
|
icon_url = EXCLUDED.icon_url,
|
|
icon_bg = EXCLUDED.icon_bg,
|
|
sort_order = EXCLUDED.sort_order,
|
|
enabled = EXCLUDED.enabled,
|
|
updated_at = NOW();
|