-
Notifications
You must be signed in to change notification settings - Fork 74
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
Action Center results MVP #5622
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -32,7 +32,7 @@ export const debounce = (fn: (props?: any) => void, ms = 0) => { | |||
}; | |||
|
|||
export const formatDate = (value: string | number | Date): string => | |||
format(new Date(value), "MMMM d, Y, KK:mm:ss z"); | |||
format(new Date(value), "MMMM d, y, KK:mm:ss z"); |
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 update was a breaking change in the new version of date-fns
. It does NOT change our existing date formats.
39bfa91
to
7ac5686
Compare
fides Run #11608
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5622/merge
|
Run status |
Passed #11608
|
Run duration | 00m 48s |
Commit |
fe812008ed ℹ️: Merge 3243d5407014f2f0f4b3c363cd2fba240d182654 into 35602e771b8afb01834255fbe6ce...
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
@@ -53,7 +53,7 @@ export const useServerSidePagination = () => { | |||
setPageIndex((prev) => prev + 1); | |||
}, [setPageIndex]); | |||
const isNextPageDisabled = useMemo( | |||
() => pageIndex === totalPages, | |||
() => !!totalPages && (pageIndex === totalPages || totalPages < 2), |
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.
We should disable the "Next" button if there's only 1 page or if there was an error (0 pages).
|
||
return ( | ||
<List.Item data-testid={`monitor-result-${key}`} {...props}> | ||
<Skeleton avatar title={false} loading={showSkeleton} active> |
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 how Ant's own examples utilize skeletons during loading state. Pretty cool that it just wraps the content!
|
||
import { MonitorSummaryPaginatedResponse } from "./types"; | ||
|
||
const actionCenterApi = baseApi.injectEndpoints({ |
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 opted to create a dedicated slice for this instead of building on the D&D slice. I may decide to change that depending how big this gets.
revert Back Button enhancement in favor of Breadcrumbs migration
Update action-center.cy.ts
fd7dc1d
to
8f6b8a1
Compare
Closes HJ-290, HJ-334
Description Of Changes
As a user, I want to view the results of my website monitors in a list view that is by default grouped by monitor run, so that I can triage the results and make updates as needed to my system and data inventory.
Code Changes
Related maintenance:
date-fns
Feature work:
Steps to Confirm locally
fidesplus
repo (asachs/HJ-295
).turbo dev
from theclients
directoryPre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works