Feature: Report Page#495
Conversation
src/app/component/report-activity/report-activity.component.html
Outdated
Show resolved
Hide resolved
|
Than you @sawankshrma , comments in the review. |
HI @wurstbrot . Thank You for the review. See, this component ( In further iterations I am going to replace this component completely to provide for an Exportable/Printable "Report" page. I hope you understand :) |
d54772e to
a7c47fd
Compare
a7c47fd to
9203121
Compare
What's Changed in the above commit?
New Tabular Layout
|
|
I think this looks awesome, @sawankshrma :) I found a couple of issues:
@wurstbrot: What is your take on this? |
Totally missed the part that progress was configurable 😅. And yes symbols won't work now. We should show just the progress definitions name in the table cell itself.
Got It! Will move the teams' selection outside of the config modal. And will make sure the group name is visible in the dropdown label.
We could adjust the warning text based on the current app configuration (dark mode and menu state). However, the margin warning would still appear every time the user attempts to print.
Anways, will be waiting for @wurstbrot 's opinion on it and proceed accordingly. |
|
:) Excellent! Regarding the warning about margin. I feel that having a counter is more hassle then the value. Complicates code. And if people print with huge margin, they'll notice on first (failed) attempt. I think it is nice to include the margin warning if we are displaying a warning. But people know how to print. Let's keep it simple. :) |
|
Hi @sawankshrma , thank you, it looks good so far. The report is there to be handed over to the auditor. Therefore, to list and configure the different mappings (specially OWASP SAMM and ISO 27001) is important. I do not see that to be configured as filter or in the overview. |

Description
A new "Report" page is created.
It "dumps" all activities at one page in order to provide it to an auditor, Preferably in a
pdfformat.For now, a slightly modified version of the already existing
ActivityDescriptionComponentis used in this page to display all/some activities on the page. => This is of-course not exportable/printable for now and will be fixed in later iterations.The activities (types, individual) and their attributes are configurable as to what we'd like to show in the report and eventually provide to the auditor. The configurations are stored in the localStorage in the browser like all other informations.
Resolves Issue: #494
What's Changed?
ReportComponentis created which dumps all the activities rendered in a modifiedActivityDescriptionComponentcalledReportConfigModalComponent--> this component is going to be replaced by something better which can be exportable.ReportConfigModalComponent. All the configurations of the report can be altered through this modal. The new configurations are then modified and saved in the localStorage and theReportpage is then re-rendered with those modified configurations.modelfile calledreport-config.tsis created which exports somefunctionsandinterfacesuseful to the "Report" page.app-routing.module.tsandsidenav-buttons.component.tsfiles are modified to contain the new "Report" page.