-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integration with the generate and create api #314
Conversation
WalkthroughWalkthroughThe update enriches the Changes
Poem
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (3)
Files skipped from review as they are similar to previous changes (3)
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 1
@@ -16,7 +16,7 @@ | |||
/> --> | |||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | |||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | |||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].13-campaign/dist/index.css" /> | |||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].14-campaign/dist/index.css" /> |
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.
Tip
Codebase Verification
Verification Result: Issue with CSS Version Link
The verification process aimed to confirm the accessibility of the updated version 1.0.14-campaign
of @egovernments/digit-ui-css
at the specified URL. The script executed returned a 404
HTTP status code, indicating that the resource is not found at the provided URL.
Action Required:
- Please check the version number and the URL for any typographical errors.
- Verify if the version
1.0.14-campaign
is correctly published and available on the CDN. - Consider reverting to a previous version if the current one is not yet deployed.
Analysis chain
Confirm that the updated version 1.0.14-campaign
of @egovernments/digit-ui-css
is correctly deployed and accessible at the specified URL.
Scripts Executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check if the specified CSS version is accessible.
curl -o /dev/null -s -w "%{http_code}\n" https://unpkg.com/@egovernments/[email protected]/dist/index.css
Length of output: 122
body: { | ||
"ResourceDetails": { | ||
"type": data?.uploadFacility?.[0]?.type, | ||
"hierarchyType": "ADMIN", |
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.
@Bhavya-egov make this also as a param
url: `/project-factory/v1/data/_generate`, | ||
changeQueryName : `${type}-${hierarchyType}`, | ||
params: { | ||
tenantId: "mz", |
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.
const tenantId = Digit.ULBService.getCurrentTenantId();
better to use this hook instead of directly setting value as mz
const filesArray = [fileStoreIds?.[0]?.fileStoreId]; | ||
const { data: { fileStoreIds: fileUrl } = {} } = await Digit.UploadServices.Filefetch(filesArray, tenantId); | ||
const fileData = fileUrl.map((i) => { | ||
const t = i?.url?.split("/"); |
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.
rename , dont use t or dd give proper names
tenantId: tenantId, | ||
type: type, | ||
forceUpdate: false, | ||
hierarchyType: "ADMIN", |
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.
hirarchy type should only be present in 1 file
Summary by CodeRabbit
New Features
UploadData
).@egovernments/digit-ui-css
to1.0.14-campaign
.Enhancements
Bug Fixes
package.json
with theajv
package dependency.