feat(directory): add subtype templates picker, fuzzy merge search, auto-ignore openbao, inherit parent host agent, truncate resource names, key badge positioning (#177)

This commit is contained in:
2026-08-08 19:38:42 -04:00
committed by GitHub
parent 9025feef1b
commit 583b822e4a
4 changed files with 133 additions and 17 deletions
+5 -1
View File
@@ -78,6 +78,8 @@ module.exports = {
const ports = (c.Ports || []).map(p => p.PublicPort ? `${p.PublicPort}:${p.PrivatePort}` : `${p.PrivatePort}`).join(', ');
const isOwnStack = !!(stackProject && composeProject === stackProject);
const isIgnored = name.includes('openbao') || name.includes('bao-renewer') || composeService.includes('openbao') || composeService.includes('bao-renewer');
resources.push({
kind: 'container',
name: composeService || name,
@@ -87,13 +89,15 @@ module.exports = {
state: c.State,
status: c.Status,
ports: ports,
subType: 'docker',
composeProject: composeProject || undefined,
composeService: composeService || undefined,
containerName: name,
sourceId: stableKey,
ignored: isIgnored ? true : undefined,
// Part of the deployment we are running inside: already
// accounted for, not something to promote.
managed: isOwnStack ? true : undefined
managed: (isOwnStack || isIgnored) ? true : undefined
}
});