Feature/experimental features#1206
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Benchmark comparisonThreshold: 20% (lower is better). No benchmark regression exceeded the configured threshold. No benchmark improvement exceeded the configured threshold. All benchmark results
|
7ecc6e8 to
c07a8f5
Compare
There was a problem hiding this comment.
Pull request overview
Adds a global “experimental features” flag (persisted via QSettings) and wires it into the UI so experimental-only elements (initially the Developer/IDE view) can be exposed to users behind a restart-gated toggle.
Changes:
- Persist a global experimental-features boolean in the profile metadata (
_meta.ini) viaprofile_utils. - Add a checkable “Enable Experimental Features” menu action that persists the flag and prompts for restart.
- Conditionally register
DeveloperViewinBECMainApponly when the flag is enabled; add unit tests for default/flag persistence.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit_tests/test_main_widnow.py | Adds a test ensuring the menu action persists the experimental flag and requests restart. |
| tests/unit_tests/test_main_app.py | Adds a test ensuring the developer view is not present when experimental features are disabled. |
| tests/unit_tests/test_dock_area.py | Adds a persistence test for the global experimental-features flag. |
| bec_widgets/widgets/containers/main_window/main_window.py | Adds the “Enable Experimental Features” QAction and restart prompt handling. |
| bec_widgets/widgets/containers/dock_area/profile_utils.py | Adds settings key + getter/setter for the global experimental-features flag. |
| bec_widgets/applications/main_app.py | Gates DeveloperView registration behind the experimental-features flag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d-perl
left a comment
There was a problem hiding this comment.
this is great, I think it will be very useful and help to get stuff out the door and iterate faster
Description
This PR adds the ability to enable certain elements through a qt settings flag called "experimental features". This should allow us to gain feedback from users by giving them early access to features without officially committing to the exact interface.
A first use case is the developer view which works but could benefit from user feedback.