feat: add host-local custom project icons (#2335)
* feat(projects): add local icons and colors * refactor(projects): simplify appearance handling * fix(projects): serialize appearance saves * test(app): update project appearance expectations * test: fix project appearance CI expectations * refactor(projects): organize appearance code * fix(server): adopt main's reconcile model in project appearance updates * fix(projects): preserve host-local appearance targets * fix(desktop): restore Linux development startup Ubuntu can block Electron's unprivileged user-namespace fallback while the npm-installed sandbox helper is not SUID. Disable the Chromium process sandbox only in the Linux development runner so packaged desktop policy remains unchanged. * feat(projects): add custom project icons Keep URL acquisition in the client so the host daemon only validates uploaded bytes. Project name and icon changes share one adaptive edit sheet. * refactor(settings): scope projects by host --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
This commit is contained in:
co-authored by
Mohamed Boudra
parent
706ae3d9bb
commit
800bd2bef1
@@ -1632,6 +1632,7 @@ export const en = {
|
||||
vimHint: "Applies to source files on web and desktop.",
|
||||
},
|
||||
hostSections: {
|
||||
projects: "Projects",
|
||||
connections: "Connections",
|
||||
agents: "Agents",
|
||||
workspaces: "Workspaces",
|
||||
@@ -2133,24 +2134,23 @@ export const en = {
|
||||
},
|
||||
},
|
||||
project: {
|
||||
noEditableTarget: "We don't have an editable copy of this project on any connected host.",
|
||||
noEditableTarget: "This project isn't editable on this host.",
|
||||
backToProjects: "Back to projects",
|
||||
switchHost: "Switch host",
|
||||
rename: {
|
||||
renamedToast: "Project renamed",
|
||||
errorFallback: "Couldn't rename project",
|
||||
renameLabel: "Rename project",
|
||||
resetLabel: "Reset project name to default",
|
||||
projectNameLabel: "Project name",
|
||||
saveLabel: "Save project name",
|
||||
cancelLabel: "Cancel renaming",
|
||||
reset: "Reset",
|
||||
edit: {
|
||||
title: "Edit project",
|
||||
name: "Name",
|
||||
nameLabel: "Project name",
|
||||
icon: "Icon",
|
||||
chooseImage: "Choose image",
|
||||
useAutomatic: "Use automatic",
|
||||
imageUrl: "Image or website URL",
|
||||
save: "Save changes",
|
||||
savedToast: "Project updated",
|
||||
},
|
||||
readFailures: {
|
||||
invalidTitle: "paseo.json couldn't be parsed",
|
||||
invalidDescription: "Fix the file on disk, then reload.",
|
||||
missingTitle: "This host doesn't have this project",
|
||||
missingWithHosts: "Switch to another host above, or reload.",
|
||||
missingSingleHost: "The selected host has no record of this project.",
|
||||
transportTitle: "Couldn't load paseo.json",
|
||||
transportFallback: "The host didn't respond.",
|
||||
|
||||
Reference in New Issue
Block a user