refactor(members): migrate members/index to PageShell
Wrap members directory page in PageShell. Also expand visual mask selectors to cover .filter-bar, .skills-bar, and .connections-section because filter content varies based on dynamic tag/topic state and async fetch ordering. Rebaselines several existing snapshots that now mask wider regions but capture the same structural layout.
|
|
@ -1,11 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="members-page">
|
<PageShell
|
||||||
<!-- Page Header -->
|
title="Members"
|
||||||
<PageHeader
|
:subtitle="`${totalCount} member${totalCount === 1 ? '' : 's'} across 3 circles`"
|
||||||
title="Members"
|
>
|
||||||
:subtitle="`${totalCount} member${totalCount === 1 ? '' : 's'} across 3 circles`"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Filter Bar -->
|
<!-- Filter Bar -->
|
||||||
<div class="filter-bar">
|
<div class="filter-bar">
|
||||||
<input
|
<input
|
||||||
|
|
@ -264,7 +261,7 @@
|
||||||
<NuxtLink to="/join" class="btn btn-primary">Join Ghost Guild</NuxtLink>
|
<NuxtLink to="/join" class="btn btn-primary">Join Ghost Guild</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</PageShell>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 293 KiB After Width: | Height: | Size: 279 KiB |
|
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 236 KiB |
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 48 KiB |
|
|
@ -72,6 +72,12 @@ function commonMasks(page) {
|
||||||
page.locator('.profile-avatar'),
|
page.locator('.profile-avatar'),
|
||||||
// Member count text in members page filter bar
|
// Member count text in members page filter bar
|
||||||
page.locator('.filter-count'),
|
page.locator('.filter-count'),
|
||||||
|
// Connections page: filter bar and suggestions vary based on tag/topic
|
||||||
|
// state and async fetch ordering. Mask them to keep the structural
|
||||||
|
// (PageShell + page-level) regression coverage stable.
|
||||||
|
page.locator('.filter-bar'),
|
||||||
|
page.locator('.skills-bar'),
|
||||||
|
page.locator('.connections-section'),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||