-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remediation module #1126
Remediation module #1126
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1126 +/- ##
==========================================
+ Coverage 15.38% 16.13% +0.74%
==========================================
Files 919 940 +21
Lines 27233 27697 +464
Branches 5777 5860 +83
==========================================
+ Hits 4191 4469 +278
- Misses 21648 21842 +194
+ Partials 1394 1386 -8
Continue to review full report at Codecov.
|
}); | ||
}); | ||
|
||
test('should trim note when saveing a ticket', () => { |
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.
Small typo: should be "saving"
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.
After trying this out I haven't found any major problems but I think @mattmundell would have a better idea of which features to test as he implemented them in gvmd.
Parse properties for Ticket models.
Add helper functions for testing command classes.
* comment fields got renamed to note * status names got renamed * open state got an explicit note field * require always a note
Also trim the note. A user must always add a note.
A ticket can't be in the state orphaned anymore.
This has been changed for the ticket comments to support newline. By using a different paramerter (note) now this change is obsolete and should be reverted.
Use correct name for ticket status color scale.
Parse the tickets only as model instances because we currently only get ids.
If the user may access tickets and if the result is connected to one or more tickets display a ticket icon with a badge that links to the ticket list with a filter for the current result id.
Display ticket icon if a result has one or more tickets at the results list page.
Save open_note, closed_note and fixed_note when modifying a ticket.
Provide open, closed and fixed notes when saving a ticket.
Allow to edit the open, fixed and close notes of a ticket at once.
Allow for easier referencing the buttons in tests.
The name attribute wasn't evaluated but nevertheless it should be correct here.
Draft for the remediation module
Requires greenbone/gvmd@884a176
Still Missing:
Assigned To User Name -> Missing patch for gvmdTicket Details PageBetter icons for solve, close and create a ticket plus a ticket list iconWe use the standard edit icon for state changesTickets list in trashcanRestore tickets from trashcanOpened Ticket Comment -> Missing patch for gvmdUse new status names for communication with gvmdIndicator for existing tickets at result list and result details pagesDashboard ID for saving and loading the ticket dashboardPie chart Ticket StatusLine chart Status Open over timeImplemented as created tickets over timeBubble Chart: Assigned to userAll tickets independent of the state assigned to a user. Should we remove closed tickets? or should we display only open tickets?Table displays at the dashboard for ticketsTicket charts at main dashboardChecklist: