-
Notifications
You must be signed in to change notification settings - Fork 9
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
Refactor: Updated location of components. #26
Conversation
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.
function findId(array: Array<any>, id: string) { | ||
var apiTemp = array.find(api => api.id === id); | ||
if (apiTemp != undefined) { | ||
function findId(array: any[], id: string) { |
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.
Why use an inline function like this rather than e.g. a static method? Also either way it should probably have a declared return value in the signature.
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.
fixed
packages/studio/package.json
Outdated
@@ -35,6 +35,7 @@ | |||
"jest": "^24.1.0", | |||
"keycloak-js": "9.0.0", | |||
"mini-css-extract-plugin": "^0.4.5", | |||
"nodemon": "2.0.2", |
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.
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.
lol I love the image. It was originally added because I was working on a fix for for rebuilding the model and services and thought about using nodemon. I'll remove it lol.
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.
Looks good to me other than the enduring mystery of the "No Demon" dependency. :)
packages/studio/src/app/components/api/apiDrawer/apiDrawerPanelContent.tsx
Outdated
Show resolved
Hide resolved
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.
seeing the same thing as @jenny-s51 and @mfrances17 reported here
@christiemolloy @EricWittmann @jenny-s51 @mfrances17 Addressed review comments. Let me know if there's anything else. Thanks. |
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.
LGTM @dlabaj! Working as expected now.
padding: 0 !important; | ||
} | ||
|
||
.ap--drawer-panel-body .pf-c-drawer__panel-body { |
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.
incorrect spelling this is why the padding is there
93c20a9
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.
thanks
Refactor code to move components into components folder. Updated some of the components name to correspond with where they are used. Added barrel files for imports.
Fixes issue #20