-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle workbench not enabled #3492
base: main
Are you sure you want to change the base?
handle workbench not enabled #3492
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3492 +/- ##
==========================================
+ Coverage 85.39% 85.41% +0.01%
==========================================
Files 1352 1352
Lines 30947 30969 +22
Branches 8648 8660 +12
==========================================
+ Hits 26428 26451 +23
+ Misses 4519 4518 -1
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got some questions:
- How are we going to deal with the
Existing connected workbenches
andConnected workbench
fields in this situation?
- Should we block fetch to all the notebooks if the workbench flag is disabled?
- This button on Global project page should be disabled or hidden definitely
- I can still access the notebook controller via URL (not through the UI), should we disable the route as well?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the feature flag here
// featureFlags: [], // TODO: We want to disable, no flag exists today |
Also here so we can disable the feature flag from disableFeatureFlags banner.
export const allFeatureFlags: string[] = Object.keys({ |
Edit: I see now, we're not adding a feature flag, taking it back.
https://issues.redhat.com/browse/RHOAIENG-15252
Description
hides workbench related things when the area is not enabled
How Has This Been Tested?
disable workbenches and check that everything from jira is hidden
Test Impact
added tests to areas project list and project details
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main