Skip to content

Enable/disable Expert Insights mode with feature flag and integrate conditional rendering in expert components#7046

Merged
hardillb merged 6 commits intomainfrom
expert/add-the-ability-to-disable-insights
Apr 9, 2026
Merged

Enable/disable Expert Insights mode with feature flag and integrate conditional rendering in expert components#7046
hardillb merged 6 commits intomainfrom
expert/add-the-ability-to-disable-insights

Conversation

@cstns
Copy link
Copy Markdown
Contributor

@cstns cstns commented Apr 8, 2026

Description

Adds the ability to conditionally render the insights/support toggle for the expert. The support mode is set by default and if no toggle is available then the switch cannot occur neither through the GUI or programmatically.

example of configuration needed

expert:
  insights:
    enabled: true

Related Issue(s)

closes https://github.com/FlowFuse/engineering/issues/23

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

@cstns cstns requested a review from hardillb April 8, 2026 13:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.29%. Comparing base (2dd3a7a) to head (405c1df).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7046   +/-   ##
=======================================
  Coverage   76.29%   76.29%           
=======================================
  Files         405      405           
  Lines       20346    20348    +2     
  Branches     4893     4895    +2     
=======================================
+ Hits        15523    15525    +2     
  Misses       4823     4823           
Flag Coverage Δ
backend 76.29% <100.00%> (+<0.01%) ⬆️

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.

Comment thread forge/ee/lib/index.js
@hardillb hardillb merged commit fff41da into main Apr 9, 2026
30 checks passed
@hardillb hardillb deleted the expert/add-the-ability-to-disable-insights branch April 9, 2026 08:43
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.

2 participants