Skip to content

fix(members): exclude archived members from the roster and counts#15

Merged
SiteRelEnby merged 2 commits into
mainfrom
fix/member-count-excludes-archived
Jun 29, 2026
Merged

fix(members): exclude archived members from the roster and counts#15
SiteRelEnby merged 2 commits into
mainfrom
fix/member-count-excludes-archived

Conversation

@SiteRelEnby

Copy link
Copy Markdown
Collaborator

Archived members were showing in the Members tab roster and being counted.

Cause: the members list endpoint returns archived members (by design, so historical surfaces can resolve them). The #12 archive work filtered them out of the secondary MembersScreen, but the live Members tab is PeopleScreen, which only search-filtered, and the Settings stat counted the raw list.

Fix:

  • PeopleScreen: filter archived out of the roster list and its count.
  • SettingsViewModel: count active members only for the "N members" stat.

Archived members remain viewable/restorable in Settings > System > Archived members (and the MembersScreen collapsible section).

Compiles clean. Note: member pickers (group membership, switch sheet) may still list archived members from the full list - tracked as a separate follow-up sweep.

The list endpoint returns archived members, but the Members tab
(PeopleScreen) showed them in the roster and counted them, and the
Settings member-count stat counted them too. Filter archived out of the
People roster + its count, and the Settings member count. Archived
members remain viewable in Settings > System > Archived members.

(The archive PR filtered the secondary MembersScreen, not the live
PeopleScreen Members tab.)
@SiteRelEnby SiteRelEnby merged commit 4f62360 into main Jun 29, 2026
1 check passed
@SiteRelEnby SiteRelEnby deleted the fix/member-count-excludes-archived branch June 29, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant