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

⬆️ - chore: update @maykin-ui/admin-ui (and migrate code acco… #538

Merged
merged 5 commits into from
Dec 10, 2024

Conversation

svenvandescheur
Copy link
Contributor

…rdingly)

Depends on release and pinning of: maykinmedia/admin-ui#160

@svenvandescheur svenvandescheur marked this pull request as draft December 9, 2024 14:29
@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 91.80328% with 5 lines in your changes missing coverage. Please review.

Project coverage is 80.31%. Comparing base (95cf008) to head (601011d).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
frontend/src/pages/landing/Landing.tsx 0.00% 2 Missing ⚠️
...essReviewPage/DestructionListProcessReviewPage.tsx 50.00% 1 Missing ⚠️
...s/destructionlist/review/DestructionListReview.tsx 66.66% 1 Missing ⚠️
frontend/src/pages/login/Login.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #538      +/-   ##
==========================================
+ Coverage   80.14%   80.31%   +0.16%     
==========================================
  Files         205      204       -1     
  Lines        5585     5577       -8     
  Branches      556      549       -7     
==========================================
+ Hits         4476     4479       +3     
+ Misses       1109     1098      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@svenvandescheur svenvandescheur requested a review from Xaohs December 9, 2024 15:52
String(einddatum).split("/");
const [archiefactiedatum__gte = "", archiefactiedatum__lte = ""] =
String(archiefactiedatum).split("/");
const [startdatum__gte = null, startdatum__lte = null] = (startdatum &&
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't particularly enjoy these assertions, but I tried fiddling with the types and it's quite difficult to get it working neatly due to the TypedSerializedFormData.. type

setCombinedSearchParams({
...(filterData as AttributeData<string>),
...(filterData as object),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm pretty sure this type assertion isn't necessary as T already extends object

const onSelectionChange = useCallback(
(selectedRows: ShortProcedureSetting[]) => {
const newSelected = new Set(
(selectedRows as unknown as ShortProcedureSetting[]).map(
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this type assertion is unecessary

@svenvandescheur svenvandescheur marked this pull request as ready for review December 10, 2024 14:34
Copy link
Contributor

@Xaohs Xaohs left a comment

Choose a reason for hiding this comment

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

👍

@svenvandescheur svenvandescheur merged commit a7bc9c9 into main Dec 10, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants