-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add ensa version sap system details #1559
Conversation
@@ -12,6 +12,9 @@ import { | |||
systemInstancesTableConfiguration, | |||
} from './tableConfigs'; | |||
|
|||
export const renderEnsaVersion = (ensaVersion) => |
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'm not sure if the place for this function is the best one.
Suggestions?
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.
You can both leave it here or have a dedicated file, if we maybe get to have more and more render functions we can have something like renderers.js
or something like that. For now I think we can leave it
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.
(if you happen to find another file name that isn't utils
feels free)
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
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
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.
Great job!
Well, I feel guilty about the many keysToCamel
you were forced to add 🙈
The initial intent about it was enabling the possibility to transform snake_case api responses/requests to camelCase objects in the code and vice-versa, but it never happened 😅
I guess we could just get rid of it, we use snake_case mixed with camelCase anyway.
Feel also free to track debt.
Done! Ticket to track this added to our refinement backlog |
Description
Add ensa version value to SAP system details view. By now, using
main
branch the default "-" will be shown, as the backend part isderegistration
branch. I'm sending the PR tomain
to avoid yet much more conflictsStorybook stories added for SAP system and Database details.
How was this tested?
Tested and stories added