Closed go-jay closed 3 months ago
The recent changes across multiple files in the web application focus on refactoring code to utilize constants from a global module instead of hardcoding string values. This enhances maintainability and consistency. The modifications include updating imports, replacing hardcoded strings with constants, and adjusting logic for handling dates and status values.
Files | Change Summary |
---|---|
issue-details.component.ts |
Updated imports and used constants from global for status values and error messages, adjusted date and status handling logic. |
global.ts |
Added common labels and constants for statuses and literal values like SUCCESS , EXEMPTED , NO_DATA , and DASH . |
utils.service.ts |
Replaced hardcoded string comparisons with constants from global , updated import statements. |
In code so bright, constants take flight,
No more hard strings, just global rings,
WithSUCCESS
andDASH
, our errors dash,
EXEMPT
andENFORCED
, logic reinforced,
A rabbit's delight, in code so tight! 🐇✨
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?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Description
https://paladincloud.atlassian.net/browse/UIUX-701
As described in UIUX-701, Added Fix related to Date format inconsistency in Violation audit log table.
Problem
Violation audit log where Expiry Date formate is incorrect
Solution
Violation audit log where Expiry Date formate is incorrect
Type of change
How Has This Been Tested?
Checklist:
Other Information:
List any documentation updates that are needed for the Wiki
Summary by CodeRabbit
Improvements
Bug Fixes