Skip to content

Conversation

@hardillb
Copy link
Contributor

fixes #4602

Description

This allows teams that have ended trials to reduce the membership count allowing them to change to a small team type.

It re-enables the Team -> Memebers menu item, but only the members list (not invites)

It also only allows removing members

Related Issue(s)

#4602

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

fixes #4602

This allows teams that have ended trials to reduce the membership
count allowing them to change to a small team type.
@hardillb hardillb requested a review from cstns October 20, 2025 15:53
@hardillb hardillb self-assigned this Oct 20, 2025
@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.83%. Comparing base (e124181) to head (5760c25).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6153   +/-   ##
=======================================
  Coverage   76.83%   76.83%           
=======================================
  Files         381      381           
  Lines       19321    19321           
  Branches     4649     4649           
=======================================
  Hits        14846    14846           
  Misses       4475     4475           
Flag Coverage Δ
backend 76.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@cstns cstns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, behaves as expected.

Made one quick change to hide the members cta from the main menu if the team trial expired.

Keeping an eye on tests, will merge when they pass

@cstns cstns merged commit 5e2d5e5 into main Oct 21, 2025
23 checks passed
@cstns cstns deleted the allow-expired-trial-to-reduce-users branch October 21, 2025 12:05
@knolleary knolleary removed this from the 2.23 milestone Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

Team with expired billing can not downgrade if too many members

4 participants