-
Notifications
You must be signed in to change notification settings - Fork 45
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
front: refacto stdcm op schedule #10192
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #10192 +/- ##
===========================================
+ Coverage 81.53% 87.50% +5.97%
===========================================
Files 1059 31 -1028
Lines 104459 1537 -102922
Branches 722 0 -722
===========================================
- Hits 85166 1345 -83821
+ Misses 19252 192 -19060
+ Partials 41 0 -41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2c31a7d
to
b5f5574
Compare
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.
Good work. I have nothing to say about the code. I'm still testing the application's behavior.
Thanks for the refacto.
daac10b
to
b5f5574
Compare
b8af3cb
to
3a36df3
Compare
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.
Really great refacto !
front/src/applications/stdcm/components/StdcmForm/StdcmOpSchedule.tsx
Outdated
Show resolved
Hide resolved
3a36df3
to
ccd7409
Compare
b6412be
to
4481c3a
Compare
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 and tested, good job !
front/tests/utils/setup-utils.ts
Outdated
@@ -177,8 +177,8 @@ export async function createDataForTests(): Promise<void> { | |||
|
|||
const stdcmEnvironment = { | |||
infra_id: smallInfra.id, | |||
search_window_begin: '2024-10-17T00:00:00Z', | |||
search_window_end: '2024-10-18T23:59:59Z', | |||
search_window_begin: new Date('2024-10-17T00:00:01+02:00').toISOString(), |
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.
Why not directly use the calculated date?
'search_window_begin": "2024-10-16T22:00:01Z'
and
'search_window_end": "2024-10-18T21:59:59Z'
Signed-off-by: Clara Ni <[email protected]>
Signed-off-by: Clara Ni <[email protected]>
Signed-off-by: Clara Ni <[email protected]>
Signed-off-by: Clara Ni <[email protected]>
…agement Signed-off-by: Clara Ni <[email protected]>
Signed-off-by: Clara Ni <[email protected]>
695d82d
to
4c5c097
Compare
4c5c097
to
577c2ad
Compare
closes #10190
See commits