Add wide-page layout toggle; rename MediaAnalyzer/MediaTools/LoggingServer
Adds a new persisted "wide page" preference (theme/language-style store, settings-dialog checkbox, main-content width override) alongside the existing theme switcher and language selector. Also completes three project renames throughout the shared source: MediaAnalyzer -> ContentScanner, MediaTools -> CraftStudio, and LoggingServer -> OmniLogger, across the Go media-backend service enum, webui AppId/app-config/project-icons, renamed feature components, and the sync-consumers.ps1 consumer list. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4cca0ddf72
commit
2e6baaa70c
33 files changed
+196
-121
No files matched your search
@@ -11,13 +11,13 @@ import (
|
||||
type Service string
|
||||
|
||||
const (
|
||||
Viewer Service = "viewer"
|
||||
Tools Service = "tools"
|
||||
Analyzer Service = "analyzer"
|
||||
ConfigService Service = "config"
|
||||
Moderator Service = "moderator"
|
||||
Kiosk Service = "kiosk"
|
||||
CarrierNode Service = "carriernode"
|
||||
Viewer Service = "viewer"
|
||||
CraftStudio Service = "craftstudio"
|
||||
ContentScanner Service = "contentscanner"
|
||||
ConfigService Service = "config"
|
||||
Moderator Service = "moderator"
|
||||
Kiosk Service = "kiosk"
|
||||
CarrierNode Service = "carriernode"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
@@ -89,7 +89,7 @@ func Load() (*Config, error) {
|
||||
MediaRoots: roots,
|
||||
InputRoot: filepath.Clean(envOr("INPUT_DIR", "./input")),
|
||||
CopyRoot: filepath.Clean(envOr("UPLOAD_COPY_DIR", "./copy")),
|
||||
WorkflowsRoot: filepath.Clean(envOr("WORKFLOWS_DIR", filepath.Join("..", "MediaTools", "public", "workflows"))),
|
||||
WorkflowsRoot: filepath.Clean(envOr("WORKFLOWS_DIR", filepath.Join("..", "CraftStudio", "public", "workflows"))),
|
||||
ThumbnailRoot: filepath.Clean(envOr("THUMBNAIL_DIR", "./thumbnails")),
|
||||
OutputRoot: filepath.Clean(envOr("OUTPUT_DIR", "./output")),
|
||||
DownloadsRoot: filepath.Clean(envOr("DOWNLOADS_DIR", "./downloads")),
|
||||
@@ -124,10 +124,10 @@ func normalizeService(value string) Service {
|
||||
switch strings.ToLower(strings.TrimSpace(value)) {
|
||||
case "viewer", "mediaviewer":
|
||||
return Viewer
|
||||
case "tools", "mediatools":
|
||||
return Tools
|
||||
case "analyzer", "mediaanalyzer":
|
||||
return Analyzer
|
||||
case "craftstudio":
|
||||
return CraftStudio
|
||||
case "contentscanner":
|
||||
return ContentScanner
|
||||
case "config", "mediaconfig", "projectconfigurator":
|
||||
return ConfigService
|
||||
case "moderator", "mediamoderator":
|
||||
@@ -145,10 +145,10 @@ func serviceName(service Service) string {
|
||||
switch service {
|
||||
case Viewer:
|
||||
return "MediaViewer"
|
||||
case Tools:
|
||||
return "MediaTools"
|
||||
case Analyzer:
|
||||
return "MediaAnalyzer"
|
||||
case CraftStudio:
|
||||
return "CraftStudio"
|
||||
case ContentScanner:
|
||||
return "ContentScanner"
|
||||
case ConfigService:
|
||||
return "ProjectConfigurator"
|
||||
case Moderator:
|
||||
|
||||
Reference in new issue
Block a user