Closed melpsh closed 1 week ago
This pull request introduces several changes across multiple files, including the addition of a new Visual Studio Code settings file for custom color configurations and modifications to various components and controllers. Notably, it includes enhancements to the CustomModal
for handling response messages, updates to the BasicTable
for improved data representation, and adjustments to compliance-related controllers and routes, particularly regarding the handling of mock data and authentication middleware.
File Path | Change Summary |
---|---|
.vscode/settings.json |
New configuration file with custom color settings for the Visual Studio Code workbench. |
Clients/src/infrastructure/api/networkServices.ts |
Added logging statement in the get method to log API responses. |
Clients/src/presentation/components/Modals/Controlpane/index.tsx |
Updated CustomModal to manage response messages and handle status codes with a new state variable. |
Clients/src/presentation/components/Table/index.tsx |
Introduced LinearProgress for data representation, added TableData interface, and updated row handling functions. |
Clients/src/presentation/mocks/compliance.data.ts |
Modified compliance data for the second row, changing a value from "33%" to "22%" . |
Clients/src/presentation/pages/ComplianceTracker/index.tsx |
Integrated context management and data fetching for compliance data, modified confirmation handling in modal. |
Servers/controllers/complianceList.ctrl.ts |
Hardcoded MOCK_DATA_ON to "true" and reformatted function signatures for readability. |
Servers/controllers/complianceTracker.ctrl.ts |
Changed MOCK_DATA_ON to a hardcoded value, affecting compliance tracker operations. |
Servers/routes/complianceList.route.ts |
Commented out authenticateJWT middleware from all route definitions, removing authentication requirement. |
Servers/routes/complianceTracker.route.ts |
Commented out authenticateJWT middleware from all route handlers, allowing unauthenticated access. |
frontend
, documentation
🐇 In the code where colors play,
A modal waits to save the day.
With progress bars that shine so bright,
Compliance checks now feel just right.
Let's hop along and celebrate,
For every change, we elevate! 🌈
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?
Summary by CodeRabbit
New Features
CustomModal
component to provide feedback based on response messages.BasicTable
component.Bug Fixes
Improvements
Compliance
component.Chores