NETOBSERV-1942 config / status views + NETOBSERV-1945 resource calculator#763
NETOBSERV-1942 config / status views + NETOBSERV-1945 resource calculator#763jotak merged 12 commits intonetobserv:mainfrom
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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #763 +/- ##
==========================================
- Coverage 55.51% 55.37% -0.14%
==========================================
Files 197 200 +3
Lines 10522 10633 +111
Branches 1226 1247 +21
==========================================
+ Hits 5841 5888 +47
- Misses 4312 4374 +62
- Partials 369 371 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
5d6fd6f to
12ec282
Compare
7c1c429 to
28d93a4
Compare
f69f0df to
6ec375c
Compare
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=5e8b078 make set-plugin-image |
|
Rebased without changes |
Co-authored-by: Mehul Modi <memodi@redhat.com>
|
(Yet another) Rebased without changes |
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=b61a44a make set-plugin-image |
| import { K8sResourceKind } from '@openshift-console/dynamic-plugin-sdk'; | ||
| import { safeYAMLToJS } from '../../../utils/yaml'; | ||
|
|
||
| export const FlowCollector = ` |
There was a problem hiding this comment.
this also will need to be auto-generated somehow; TODO as a follow-up
| @@ -0,0 +1,33 @@ | |||
| export const K8S_UI_SCHEMA = { | |||
There was a problem hiding this comment.
nit / ok for a follow-up: constants are not all-caps (see previously #541)
| @@ -0,0 +1,57 @@ | |||
| import { prune } from './utils'; | |||
|
|
|||
| const PRUNE_DATA = { | |||
| import * as _ from 'lodash'; | ||
| import { DynamicFormSchemaError } from './types'; | ||
|
|
||
| const UNSUPPORTED_SCHEMA_PROPERTIES = ['allOf', 'anyOf', 'oneOf']; |
There was a problem hiding this comment.
/lgtm
there will be some code style (all-capitals to camelcase) and linter warnings to fix in a follow-up
Other follow-ups that I can think of:
- Auto-generate schema & samples
- 2d pass on text refinement and review again which fields to hide
- Ellipsed text: append "..."
|
@jpinsonneau: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
FYI I added my comments above in this follow-up task: https://issues.redhat.com/browse/NETOBSERV-2350 (feel free to add more feedback) |
|
another round of testing will be done post-merge; merging now! |
Description
console.page/routeto replace original implementationsdynamic-formfolder comes from https://github.com/openshift/console/tree/main/frontend/packages/console-shared/src/components/dynamic-formcompressed.webm
This is a Poc. Code can be divided into multiple PRs if you feel it's needed:
Dependencies
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.