feat: customize placeholder in ID columns to 'Search ID'
Closes #1553
Description
Customized the placeholder text in ID column filters from "Search keyword.." to "Search ID" for better user clarity.
Added filterPlaceholder: "Search ID" to the ID column definition in all 5 table files:
- [analyzablesTableColumns.jsx]
- [analyzablesHistoryTableColumns.jsx]
- [investigationTableColumns.jsx]
- [jobTableColumns.jsx]
- [userEventsTableColumns.jsx]
Companion PR for certego-ui library change: https://github.com/certego/certego-ui/pull/93
Type of change
- [x] New feature (non-breaking change which adds functionality).
Checklist
- [x] I have read and understood the rules about [how to Contribute] to this project
- [x] The pull request is for the branch
develop - [x] I have updated the certego-ui library if needed (companion PR link above)
- [x] The tests are passing locally
Greetings @mlodic, I’ve completed the implementation for #1553 (customizing the placeholder in ID column filters) and addressed it at both the library and IntelOwl levels. Everything has been tested locally and all CI checks are passing. Whenever you get a chance, could you please review this PR? I’d really appreciate your feedback and I’m happy to make any changes if needed. Thanks
https://github.com/user-attachments/assets/946141a1-37ea-4f12-971b-5812f87c8a6a
sorry but the quality of the video is very bad. Can you please share where did you find that filterPlaceholder attribute? thanks
Greetings @mlodic, sorry for the bad video quality
filterPlaceholder is not an existing attribute. I created it myself by extending the [DefaultColumnFilter] component in the certego-ui library to accept this new optional prop.
The companion PR showing this change is here: https://github.com/certego/certego-ui/pull/93
In that PR, now reads filterPlaceholder from the column definition and uses it as the input placeholder, falling back to "Search keyword.." if not provided.
Please let me know if this approach is correct. Thanks
we'll keep open until the certego-ui PR is merged
Greetings @mlodic, May I start working on another issue? Please let me know. Thanks
sure