Skip to content
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

Merged
merged 4 commits into from Mar 10, 2021

Conversation

tbalar-splunk
Copy link
Contributor

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.

@github-actions
Copy link

github-actions bot commented Mar 9, 2021

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


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 (
<>
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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'];
Copy link
Contributor

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.

Copy link
Contributor Author

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}
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's removed

@github-actions
Copy link

github-actions bot commented Mar 9, 2021

Expected release notes (by @tbalar-splunk)

features:
Removed logs (36476ac)
Resolved comments (5a6088b)
Removed commented code (bbdda12)
Implemented filter functionality in the table component (4a77545)
Added localization in titles (24f663b)
Set configuration page to default (6b7150a)
Updated file name (8640413)
Refactored table component (4206ce3)
Added table component with actions button (f550769)
Removed log line (1f51cb4)
Added schemaGenerator.py file (be0b945)
Fixed issue (887f419)
Fixed typo (668d2a5)
Added error modal component (bbde4cf)
Added parsing and validation functionality for globalConfig.json file (e690000)

fixes:
title in input and configuration page templates (6328fdf)
commented oauth realated logic from ucc-gen temporarily (6d08509)

others (will not be included in Semantic-Release notes):
9f482e6 ADDON-34284:integrated form and components
bdca5c5 sync with ucc_ui_lib migration
Add singleselect component (1263f82)
Updated CheckBox and Text components (9cb3558)
updated components name in COntrolTypeMap (79e9fb4)
Added basic Error Message utilities and added imutability-helper lib (f859212)
Updated Text, Radio and CheckBox components (057b670)
Added Text, Radio and CheckBox components (200b680)
Tooltip Support Added & Lodash dep. removed (b2e7c76)
d7746da Add mulitselect compomemt
84b0e1e ADDON-34285 reverting script removal for link:app
feat: added axios call wrapper and updated package.json (5cb5f13)
Added ControlTypeMap.js and minor changes (f1144f9)
Initial commit for BaseForm View (72a8369)
ucc_ui_lib: updated webpack config according to guideline mentioned in react doc for code-splitting (57a81ec)
ucc_ui_lib: removed unused import (e490b81)
ucc_ui_lib: updated configs and structure to have single entry point js and template file (e04d1db)
d234bfb fix the output path for static files
update build scripts and circle ci config (a949f40)
ef5c95a removed old ucc ui lib
migrate to splunk-ui template structure and ci (bd099f4)

  • I hereby acknowledge these release notes are 🥙 AWESOME 🥙

@tbalar-splunk tbalar-splunk merged commit 06ff51f into ucc_ui_lib_migration Mar 10, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2021
@tbalar-splunk tbalar-splunk deleted the feature/ADDON-34277-table-filter branch March 10, 2021 07:07
@ryanfaircloth
Copy link
Contributor

🎉 This PR is included in version 4.4.0-develop.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ryanfaircloth
Copy link
Contributor

🎉 This PR is included in version 5.0.0-develop.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ryanfaircloth
Copy link
Contributor

🎉 This PR is included in version 5.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants