-
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
Add custom saved queries and fix duplicate requests #7090
Add custom saved queries and fix duplicate requests #7090
Conversation
plugins/main/public/components/common/search-bar/use-search-bar.ts
Outdated
Show resolved
Hide resolved
TEST 🟢 DISCOVERPeek.2024-10-10.17-03.discover.mp4Peek.2024-10-10.17-40.mp4Peek.2024-10-10.17-42.mp4 |
plugins/main/public/components/common/wazuh-discover/wz-flyout-discover.tsx
Show resolved
Hide resolved
plugins/main/public/components/common/wazuh-discover/wz-flyout-discover.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/common/wazuh-discover/wz-flyout-discover.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/management/cluster/dashboard/dashboard.tsx
Show resolved
Hide resolved
plugins/main/public/components/overview/amazon-web-services/dashboards/dashboard.tsx
Show resolved
Hide resolved
plugins/main/public/components/overview/compliance-table/compliance-table.tsx
Show resolved
Hide resolved
plugins/main/public/components/overview/github/panel/config/drilldown-action.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/overview/github/panel/config/drilldown-actor.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/overview/github/panel/config/drilldown-data-grid.tsx
Outdated
Show resolved
Hide resolved
TestsLegend: UI
Click the refresh button to update the data grid with the results for the new time range.Screen.Recording.2024-10-14.at.3.20.02.PM.movScreen.Recording.2024-10-15.at.9.25.27.AM.movRender the tabs and verify whether the requests are duplicated (approximately two per visualization).Screen.Recording.2024-10-14.at.3.06.50.PM.movScreen.Recording.2024-10-15.at.9.26.37.AM.movUtilize the saved query UI handler to save, update, remove, or clear entriesScreen.Recording.2024-10-14.at.3.12.41.PM.movScreen.Recording.2024-10-15.at.9.33.14.AM.movAdjust the filters and ensure there are no duplicate requests.Screen.Recording.2024-10-14.at.3.14.08.PM.movScreen.Recording.2024-10-15.at.9.35.15.AM.movImplement a filter using an absolute time range, which should only update upon clicking the refresh button.Screen.Recording.2024-10-14.at.3.16.09.PM.movScreen.Recording.2024-10-15.at.9.37.16.AM.movImplement data grid pagination and verify that the results remain consistent when navigating through pages while the filters stay unchanged.Screen.Recording.2024-10-14.at.3.18.34.PM.movScreen.Recording.2024-10-15.at.9.38.58.AM.movUtilize the auto-refresh feature for time filters and verify the requests.Screen.Recording.2024-10-14.at.3.59.39.PM.movApply filters using visualizationsScreen.Recording.2024-10-14.at.4.01.25.PM.movScreen.Recording.2024-10-15.at.9.41.15.AM.movCreate a report and verify the results displayed in the PDF.Screen.Recording.2024-10-14.at.4.02.23.PM.movScreen.Recording.2024-10-15.at.9.42.17.AM.movCheck cluster, endpoints summary, statisticsScreen.Recording.2024-10-14.at.4.04.25.PM.movScreen.Recording.2024-10-15.at.9.43.18.AM.movFor vulnerability detection, examine filters and review saved queriesScreen.Recording.2024-10-14.at.4.05.46.PM.movScreen.Recording.2024-10-15.at.9.45.30.AM.mov |
TestsLegend: Discover and all sections with a search bar🟢 Render the tabs and verify whether the requests are duplicated (approximately two per visualization).CHROME - 🟢 Click the refresh button to update the data grid with the results for the new time range.CHROME - 🟢 Adjust the filters and ensure there are no duplicate requests.CHROME - 🟢 Peek.2024-10-14.22-00.webmImplement data grid pagination and verify that the results remain consistent when navigating through pages while the filters stay unchanged.CHROME - 🟢 Peek.2024-10-14.22-09.webmUtilize the auto-refresh feature for time filters and verify the requests.CHROME - 🟢 Peek.2024-10-14.22-13.webmApply filters using visualizationsCHROME - 🟢 Peek.2024-10-14.22-26.webmCreate a report and verify the results displayed in the PDF.CHROME - 🟢 Peek.2024-10-15.10-53.mp4FIREFOX - 🟢 Peek.2024-10-15.10-57.mp4SAFARI - ⚫ Check cluster, endpoints summary, statisticsCHROME - 🟢 Peek.2024-10-15.11-02.mp4FIREFOX - 🟢 Peek.2024-10-15.11-04.mp4SAFARI - ⚫ For vulnerability detection, examine filters and review saved queriesCHROME - 🟢 Peek.2024-10-15.11-10.mp4FIREFOX - 🟢 Peek.2024-10-15.11-12.mp4SAFARI - ⚫ |
@Machi3mfl, this seems to work with the latest changes. Could you update the development branch and try again?
@guidomodarelli, this seems to work with the latest changes. Could you update the development branch and try again?
|
|
|
|
wdp-pr-7090Legend: UI
Details 🟢 Render the tabs and verify whether the requests are duplicated (approximately two per visualization).Chrome - 🟢 Safari - ⚫ 🟢 Click the refresh button to update the data grid with the results for the new time range.Safari - ⚫ 🟢 Utilize the saved query UI handler to save, update, remove, or clear entriesSafari - ⚫ 🟢 Implement a filter using an absolute time range, which should only update upon clicking the refresh button.Safari - ⚫ 🟢 Implement data grid pagination and verify that the results remain consistent when navigating through pages while the filters stay unchanged.Safari - ⚫ 🟢 Utilize the auto-refresh feature for time filters and verify the requests.Safari - ⚫ 🟢 For vulnerability detection, examine filters and review saved queriesSafari - ⚫ |
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!
Description
This PR fixes automatic dashboard refresh and duplicate queries on the dashboard's initial load.
Issues Resolved
#7083
Evidence
Peek.2024-09-25.11-44.mp4
Test
Important
Peek.2024-09-27.13-27.mp4
Check List
yarn test:jest