Open popovaevgeniya opened 21 hours ago
The pull request introduces several updates across multiple components, primarily focusing on enhancing the clarity of options in select inputs and improving validation logic. The MitigationSection
and CreateProjectForm
components have updated select options for risk classifications and statuses. The FileUpload
component has modifications related to button properties and typography. Additionally, the BasicTable
component now supports a customizable label for pagination. Changes also include updates to the ProjectSettings
component's state management and link attributes for security. The overall structure and functionality of the components remain intact.
File Path | Change Summary |
---|---|
Clients/src/presentation/components/AddNewRiskForm/MitigationSection/index.tsx | Updated select options for "Mitigation status" and "Current risk level"; adjusted validation logic in validateForm . |
Clients/src/presentation/components/CreateProjectForm/index.tsx | Updated select options for "AI risk classification" and "Type of high risk role". |
Clients/src/presentation/components/Modals/FileUpload/index.tsx | Modified button properties and typography; removed button's onClick event handler. |
Clients/src/presentation/components/Table/index.tsx | Added optional label property to BasicTable for pagination customization. |
Clients/src/presentation/pages/ProjectView/ProjectSettings/index.tsx | Updated handleDateChange to include reviewDate ; added security attributes to Link components. |
Clients/src/presentation/pages/ProjectView/RisksView/index.tsx | Added label property to BasicTable based on title prop. |
MitigationSection
and CreateProjectForm
.MitigationSection
in managing and validating form inputs.MitigationSection
.MitigationSection
changes regarding risk-related data handling.MitigationSection
.🐇 In the fields where risks do play,
New labels bloom, brightening the way.
With options clear, our forms align,
Validation checks, all by design.
A hop, a skip, through code we glide,
Enhancements made, with joy and pride! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fixes by https://github.com/bluewave-labs/verifywise/issues/247
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
deadline
anddateOfAssessment
fields in the Add New Risk Form.Style