From d4b64069792957c82191304b308e784c5b97b25c Mon Sep 17 00:00:00 2001 From: Don Walizer <12420708+dwalizer@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:02:59 -0500 Subject: [PATCH 01/14] #2218 Initial ability to collapse groups --- .../components/progress/SkillProgress.vue | 9 +++++++-- .../progress/skill/SkillProgressNameRow.vue | 12 +++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/dashboard/src/skills-display/components/progress/SkillProgress.vue b/dashboard/src/skills-display/components/progress/SkillProgress.vue index b97b51f2f..7753d74e3 100644 --- a/dashboard/src/skills-display/components/progress/SkillProgress.vue +++ b/dashboard/src/skills-display/components/progress/SkillProgress.vue @@ -120,6 +120,10 @@ const pointsEarned = (pts) => { } const isSkillComplete = computed(() => props.skill && props.skill.meta && props.skill.meta.complete) +const expanded = ref(false); +const toggleRow = () => { + expanded.value = !expanded.value; +}