-
Notifications
You must be signed in to change notification settings - Fork 186
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
Fix the search in the agent inventory data tables #5196
Fix the search in the agent inventory data tables #5196
Conversation
- Replace search by q API parameter
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.
Wazuh dashboard
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
Test | Chrome | Firefox | Safari |
---|---|---|---|
Empty input in the search bar of the agent inventory tables should display all the results | 🟢 | ⚫ | ⚫ |
Add a search text input in the search bar of the agent inventory tables should display filtered the results | 🟢 | ⚫ | ⚫ |
Export to CSV each table in agents inventory with an empty search query should display all the results | 🟢 | ⚫ | ⚫ |
Export to CSV each table in agents inventory with a search query should display results filtered | 🟢 | ⚫ | ⚫ |
Details
🟢 Empty input in the search bar of the agent inventory tables should display all the results
Chrome - 🟢
Kazam_screencast_00009.mp4
Firefox - ⚫
Safari - ⚫
🟢 Add a search text input in the search bar of the agent inventory tables should display filtered the results
Chrome - 🟢
Kazam_screencast_00010.mp4
Firefox - ⚫
Safari - ⚫
🟢 Export to CSV each table in agents inventory with an empty search query should display all the results
Chrome - 🟢
Kazam_screencast_00011.mp4
Firefox - ⚫
Safari - ⚫
🟢 Export to CSV each table in agents inventory with a search query should display results filtered
Chrome - 🟢
Kazam_screencast_00011.mp4
Firefox - ⚫
Safari - ⚫
Wazuh dashboardLegend: UI
Details 🟢 Empty input in the search bar of the agent inventory tables should display all the resultsChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 Add a search text input in the search bar of the agent inventory tables should display filtered the resultsChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 Export to CSV each table in agents inventory with an empty search query should display all the resultsChrome - 🟢 Firefox - ⚫ Safari - ⚫ |
… into fix/support-171-agents-inventory-search-q-parameter
Changes
New tests were added:
|
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.
The search bar placeholder of Network ports should be Search | 🟢 |
The search bar placeholder of Packages should be Search | 🟢 |
The search bar placeholder of Processes ports should be Search | 🟢 |
Details
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.
Wazuh dashboard
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
Test | Chrome | Firefox |
---|---|---|
Empty input in the search bar of the agent inventory tables should display all the results | 🟢 | ⚫ |
Add a search text input in the search bar of the agent inventory tables should display filtered the results | 🟢 | ⚫ |
Export to CSV each table in agents inventory with an empty search query should display all the results | 🟢 | ⚫ |
Export to CSV each table in agents inventory with a search query should display results filtered | 🟢 | ⚫ |
Details
🟢 Empty input in the search bar of the agent inventory tables should display all the results
Chrome - 🟢
Firefox - ⚫
🟢 Add a search text input in the search bar of the agent inventory tables should display filtered the results
Chrome - 🟢
Firefox - ⚫
🟢 Export to CSV each table in agents inventory with an empty search query should display all the results
Chrome - 🟢
Firefox - ⚫
7f0ac99
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.16 4.4-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.16
# Create a new branch
git switch --create backport-5196-to-4.4-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4fadc4e0f6311f86b0f4adfdc0d0b00bc72337fe
# Push it to GitHub
git push --set-upstream origin backport-5196-to-4.4-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.16 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.10 4.4-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.10
# Create a new branch
git switch --create backport-5196-to-4.4-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4fadc4e0f6311f86b0f4adfdc0d0b00bc72337fe
# Push it to GitHub
git push --set-upstream origin backport-5196-to-4.4-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.10 Then, create a pull request where the |
* fix: change the search in the agents inventory tables - Replace search by q API parameter * changelog: add pull request entry * fix(agent-inventory): change the search bar placeholder to `Search` * fix(changelog): fix entry * fix: replace string * fix(changelog): moved entry to Fixed --------- Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com> (cherry picked from commit 4fadc4e)
* fix: change the search in the agents inventory tables - Replace search by q API parameter * changelog: add pull request entry * fix(agent-inventory): change the search bar placeholder to `Search` * fix(changelog): fix entry * fix: replace string * fix(changelog): moved entry to Fixed --------- Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com> (cherry picked from commit 4fadc4e)
…a tables (#5346) Fix the search in the agent inventory data tables (#5196) * fix: change the search in the agents inventory tables - Replace search by q API parameter * changelog: add pull request entry * fix(agent-inventory): change the search bar placeholder to `Search` * fix(changelog): fix entry * fix: replace string * fix(changelog): moved entry to Fixed --------- Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com> (cherry picked from commit 4fadc4e)
…a tables (#5345) Fix the search in the agent inventory data tables (#5196) * fix: change the search in the agents inventory tables - Replace search by q API parameter * changelog: add pull request entry * fix(agent-inventory): change the search bar placeholder to `Search` * fix(changelog): fix entry * fix: replace string * fix(changelog): moved entry to Fixed --------- Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com> (cherry picked from commit 4fadc4e) Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Description
This pull request changes the query parameter used to search in the agent inventory tables.
Issues Resolved
https://github.com/wazuh/support/issues/171
Evidence
Test
UI
template_test_cases.md
Check List
yarn test:jest