fix: rename hasEngagedEcology → hasEngagedBoard in onboarding status, clean up stale ecology references

This commit is contained in:
Jennie Robinson Faber 2026-04-14 12:25:24 +01:00
parent 74b2287d48
commit a0f60bcdc0
8 changed files with 24 additions and 24 deletions

View file

@ -35,7 +35,7 @@
<div v-if="currentSuggestion.key === 'empty'" class="ow-prompt">&gt; look</div>
<div v-if="currentSuggestion.key === 'empty'" class="ow-message ow-message--dim">{{ currentSuggestion.text }}</div>
<!-- Recommendation (event, ecology, or wiki) -->
<!-- Recommendation (event, board, or wiki) -->
<template v-if="currentSuggestion.key !== 'empty'">
<div class="ow-prompt">&gt; look</div>
<div class="ow-message">{{ currentSuggestion.text }}</div>

View file

@ -144,9 +144,9 @@
</dd>
</div>
<div class="meta-row">
<dt>Ecology Engaged</dt>
<dd :class="hasEcologyEngaged ? 'status-ok' : 'status-dim'">
{{ hasEcologyEngaged ? '✓ Complete' : '— Incomplete' }}
<dt>Board Engaged</dt>
<dd :class="hasBoardEngaged ? 'status-ok' : 'status-dim'">
{{ hasBoardEngaged ? '✓ Complete' : '— Incomplete' }}
</dd>
</div>
<div class="meta-row">
@ -354,7 +354,7 @@ const hasProfileTags = computed(() => {
return m.craftTags?.length > 0 && m.board?.topics?.length > 0
})
const hasEcologyEngaged = computed(() => {
const hasBoardEngaged = computed(() => {
const m = member.value
if (!m) return false
return m.onboarding?.boardPageVisited && m.board?.topics?.some(

View file

@ -53,7 +53,7 @@
<div
v-for="suggestion in filteredSuggestions"
:key="suggestion.member._id"
class="member-card ecology-card"
class="member-card board-card"
>
<div class="mc-head">
<div class="mc-avatar">
@ -246,7 +246,7 @@ const loadBoard = async () => {
const data = await getSuggestions()
suggestions.value = data.suggestions || []
// Build ecology tag options from user's own topics
// Build board tag options from user's own topics
const allCoopTags = cooperativeTagOptions.value
const myTopicSlugs = (memberData.value?.board?.topics || []).map((t) => t.tagSlug)
boardTagOptions.value = myTopicSlugs.length

View file

@ -508,7 +508,7 @@ useHead({
}
/* ====================================================
TWO-COLUMN: Craft Tags + Community Ecology
TWO-COLUMN: Craft Tags + Board
==================================================== */
.profile-two-col {