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>
|
||||
<div class="members-page">
|
||||
<!-- Page Header -->
|
||||
<PageHeader
|
||||
<PageShell
|
||||
title="Members"
|
||||
:subtitle="`${totalCount} member${totalCount === 1 ? '' : 's'} across 3 circles`"
|
||||
/>
|
||||
|
||||
>
|
||||
<!-- Filter Bar -->
|
||||
<div class="filter-bar">
|
||||
<input
|
||||
|
|
@ -264,7 +261,7 @@
|
|||
<NuxtLink to="/join" class="btn btn-primary">Join Ghost Guild</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</PageShell>
|
||||
</template>
|
||||
|
||||
<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'),
|
||||
// Member count text in members page filter bar
|
||||
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'),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||