Skip to content

Fix Schedule Dialog#5313

Merged
greenbonebot merged 5 commits into
mainfrom
fix-schedule-dialog
May 26, 2026
Merged

Fix Schedule Dialog#5313
greenbonebot merged 5 commits into
mainfrom
fix-schedule-dialog

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Fix Schedule Dialog

Why

Sadly my session refactoring did break the ScheduleDialog unnoticed. Therefore convert the ScheduleComponent to TypeScript to catch such type issues early in future.

References

#5309
https://jira.greenbone.net/browse/GEA-1807

@bjoernricks bjoernricks requested a review from a team as a code owner May 26, 2026 09:00
@greenbonebot greenbonebot enabled auto-merge (rebase) May 26, 2026 09:01
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA df5d416.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

The component itself is already converted to TypeScript.
This issue got introduced with the session refactoring and shows again
how important TypeScript can be for the whole application.

Closes #5309
@bjoernricks bjoernricks force-pushed the fix-schedule-dialog branch from 6a6c881 to fd3d81e Compare May 26, 2026 09:09
@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

❌ Patch coverage is 91.22807% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.17%. Comparing base (40cf157) to head (df5d416).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/web/pages/schedules/ScheduleComponent.tsx 91.07% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5313      +/-   ##
==========================================
+ Coverage   79.08%   79.17%   +0.09%     
==========================================
  Files        1222     1222              
  Lines       32207    32204       -3     
  Branches     9626     9624       -2     
==========================================
+ Hits        25470    25498      +28     
+ Misses       6030     6001      -29     
+ Partials      707      705       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Use TypeScript to catch possible type errors early.
Set labels to allow to find elements by role and label.
Ensure ScheduleComponent works and the dialog can be opened.
@bjoernricks bjoernricks force-pushed the fix-schedule-dialog branch from fd3d81e to df5d416 Compare May 26, 2026 10:27
@greenbonebot greenbonebot merged commit bac09f5 into main May 26, 2026
25 checks passed
@greenbonebot greenbonebot deleted the fix-schedule-dialog branch May 26, 2026 10:40
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