feat(cv): expand builder studio tools

This commit is contained in:
cesnimda
2026-08-29 01:45:30 +02:00
parent f794265e3e
commit 0f17d95c57
10 changed files with 434 additions and 47 deletions
+4
View File
@@ -31,6 +31,8 @@ public sealed class CvRenderSection
public List<string> Tags { get; set; } = new();
public List<CvRenderEntry> Entries { get; set; } = new();
public List<CvRenderSkillGroup> SkillGroups { get; set; } = new();
public string? Presentation { get; set; }
public int Columns { get; set; } = 1;
public bool IsEmpty => Bullets.Count == 0 && Tags.Count == 0 && Entries.Count == 0 && SkillGroups.Count == 0;
}
@@ -158,6 +160,8 @@ public static class CvVariantResolver
{
section.Entries = ReorderByKey(section.Entries, cfg.ItemOrder);
}
section.Presentation = cfg.Presentation;
section.Columns = cfg.Columns is 2 ? 2 : 1;
}
else if (customHiddenByKey.TryGetValue(key, out var customHidden) && customHidden)
{