-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: modified UI to use patternfly #78
base: main
Are you sure you want to change the base?
feat: modified UI to use patternfly #78
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ilan-pinto The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Ilan Pinto <[email protected]>
635f7ea
to
1d79d00
Compare
@IlonaShishov, can you run a quick test on this branch? |
using patternfly react Signed-off-by: Ilan Pinto <[email protected]>
1d79d00
to
4ef114e
Compare
faaf134
to
92c5166
Compare
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.
@ilan-pinto Very good work, sorry it took me so long to review this, you can take it up with my manager. ;-)
Honestly, very good work. Me being the 'yeke' that I am, most of my comments/change requests are semantics only.
.vscode/settings.json
Outdated
"typescript.tsc.autoDetect": "off", | ||
"cSpell.words": [ | ||
"klusterlet" | ||
] |
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.
As a former cscpell
user myself, on multiple occasions, I clicked the "add to project settings" instead of "add to user settings". :-)
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 think I accidently marked line 10 too, but I only meant the cSpell.words
array. I think you also deleted "typescript.tsc.autoDetect": "off"
when resolving this. Sorry.
// get the loader instance | ||
let load = loader.Load.getLoader(); | ||
|
||
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 think you can configure VSCode to auto-delete stuff like this on-save.
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.
how? what is the problem?
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.
The spaces your IDE allows you to mistakenly add to line endings in files you open. VSCode has an option to auto delete these when you hit save.
"@patternfly/react-core": "^4.276.8", | ||
"@patternfly/react-styles": "^4.92.6", | ||
"@patternfly/react-table": "^4.113.0", | ||
"@types/d3-shape": "^3.1.1", |
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 noticed you added the patternfly dependencies to both the root project.json and the webui one. Is this necessary?
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.
to be honest, i am not sure.
only after adding it to both spaces it worked.
but it could that should have added part of in root and rest in other folder
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 think they should go only in webui, I also see other dependencies that exist only in webui and not the root, and it works well. Can you please try building while keeping this only in webui?
f42c771
to
ac4cc5b
Compare
Signed-off-by: Ilan Pinto <[email protected]> fixed PR comments Signed-off-by: Ilan Pinto <[email protected]>
ac4cc5b
to
1852719
Compare
// get the loader instance | ||
let load = loader.Load.getLoader(); | ||
|
||
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.
The spaces your IDE allows you to mistakenly add to line endings in files you open. VSCode has an option to auto delete these when you hit save.
- global |
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 think global
should suffice. New ManagedClusters are only members in the default
set until they are moved to their own set.
@@ -7,5 +7,4 @@ | |||
"out": true // set this to false to include "out" folder in search results | |||
}, | |||
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts | |||
"typescript.tsc.autoDetect": "off" |
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.
"typescript.tsc.autoDetect": "off"
was here before this PR, see my next comment.
.vscode/settings.json
Outdated
"typescript.tsc.autoDetect": "off", | ||
"cSpell.words": [ | ||
"klusterlet" | ||
] |
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 think I accidently marked line 10 too, but I only meant the cSpell.words
array. I think you also deleted "typescript.tsc.autoDetect": "off"
when resolving this. Sorry.
test-workspace/.vscode/settings.json
Outdated
@@ -0,0 +1,3 @@ | |||
{ |
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 don't see you did. Regardless, it's not quite necessary.
We're ok with a test-workspace
inside the test
folder, we use it for testing and we crafted our .gitignore
to ignore just its content.
But you accidentally copied test/test-workspace
folder to test-workspace
. Simply delete test-workspace
from the root (only from the root) and we're good.
@@ -9,14 +9,27 @@ | |||
"sourceMap": true, | |||
"rootDirs": [ | |||
"src", | |||
"test" | |||
"test", | |||
"styles" |
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 think we don't, can you try removing it and build?
"@patternfly/react-core": "^4.276.8", | ||
"@patternfly/react-styles": "^4.92.6", | ||
"@patternfly/react-table": "^4.113.0", | ||
"@types/d3-shape": "^3.1.1", |
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 think they should go only in webui, I also see other dependencies that exist only in webui and not the root, and it works well. Can you please try building while keeping this only in webui?
PR needs rebase. Instructions 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. |
No description provided.