-
Notifications
You must be signed in to change notification settings - Fork 149
[dev] [Marfuen] mariano/fix-policies #1243
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added `onboard-organization-helpers.ts` to encapsulate functions for revalidating organization paths, extracting vendors and risks, and processing policy updates. - Refactored `onboard-organization.ts` to utilize the new helper functions, streamlining the onboarding workflow and improving code organization. - Introduced `update-policies-helpers.ts` for policy content generation and updates, enhancing the policy management process. - Updated `update-policies.ts` to leverage the new helper functions for better maintainability and clarity.
…seed data - Added `@types/node` and updated `ts-node` and `typescript` versions in `package.json`. - Updated Prisma configuration to include a seed script path. - Refined seed data by removing outdated entries and adding new requirements and tasks, enhancing the overall framework structure. - Adjusted relationships in seed data to reflect the latest changes in control templates and requirements.
- Renamed and reorganized functions in `onboard-organization-helpers.ts` to improve clarity and maintainability, including creating dedicated functions for finding comment authors, creating vendors, and managing risks. - Updated `onboard-organization.ts` to utilize the new helper functions, streamlining the onboarding workflow by replacing direct processing calls with higher-level orchestration functions. - Improved logging for vendor creation and onboarding completion, enhancing traceability during the onboarding process.
- Updated the "ai" package version to 5.0.10 in package.json and bun.lock. - Upgraded "@trycompai/db" to version 1.3.3 in apps/api/package.json. - Modified the policy generation process to include frameworks, allowing for tailored policy updates based on selected frameworks. - Enhanced the prompt generation logic to sanitize document content and remove auditor artifacts. - Added framework handling in onboarding tasks to ensure compliance with selected frameworks during policy updates.
- Added local-only prefill for onboarding fields to streamline development. - Introduced a "Complete now" button for local environments in the PostPaymentOnboarding component. - Updated the usePostPaymentOnboarding hook to include a completeNow function for immediate onboarding completion. - Adjusted createOrganizationMinimal action to provide default access during local development. - Enhanced policy update tasks to ensure compliance with original template structure.
- Introduced a new 'geo' field in the onboarding schema and related components to capture data location preferences. - Updated onboarding forms and hooks to handle the new 'geo' field, ensuring consistent data collection across the application.
- Restored the version field in package.json and reorganized scripts for better clarity. - Updated imports from '@trigger.dev/sdk/v3' to '@trigger.dev/sdk' across multiple files for consistency. - Removed unused queue configuration in onboarding tasks to streamline the code. - Adjusted zod schema definitions for improved type safety in update-policies-helpers.ts.
- Downgraded the "ai" package version from "^5.0.10" to "^5.0.0" in package.json and bun.lock for compatibility. - Adjusted the "@ai-sdk/openai" version from "^2.0.10" to "^2.0.0" in the app's package.json to align with the SDK's requirements. - Ensured consistency across dependency versions to maintain project stability.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to merge mariano/fix-policies into dev.
It was created by the [Auto Pull Request] action.