-
Notifications
You must be signed in to change notification settings - Fork 24
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
ADDON-34277: Implemented filter functionality in the table component #121
ADDON-34277: Implemented filter functionality in the table component #121
Conversation
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
function TableFilter(props) { | ||
|
||
return ( | ||
<> |
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.
@tbalar-splunk Please remove the empty fragment since it has a single child element
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.
This is because we need to add some style to the filter component. (Currently, we have not added a style to this component)
What do you think should I removed now and will add later when needed?
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.
it's fine then
* @param row {Object} row | ||
*/ | ||
const changeStatus = (row) => { | ||
// let oldData = rowData['sfdc_event_log']; |
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.
@tbalar-splunk Please remove commented code.
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 have removed all the commented code. this is for reference as this is going to be implemented in the next PR
<TableWrapper | ||
isInput={isInput} | ||
isInput={isInput} | ||
isInput={isInput} |
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.
@tbalar-splunk Please remove duplicate props.
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.
It's removed
Expected release notes (by @tbalar-splunk) features: fixes: others (will not be included in Semantic-Release notes):
|
🎉 This PR is included in version 4.4.0-develop.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 5.0.0-develop.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 5.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
JIRA Ticket: https://jira.splunk.com/browse/ADDON-34277
Filter functionality is working in the table. For that, we have created a TableFilter component and a filter will also be performed on input type as well.
Note:
For this PR we are passing the data to the component using props only, in the upcoming PR we will be implementing React context API to pass the data to the child component.