Conversation
… export encryption.
…ebar.tsx by extracting common callbacks into named functions
- Updated AuditSidebar component to utilize the updated `encryptPDF` function from the audits service, which now includes additional parameters such as `auditId`, `auditName`, `setIsOpenModal`, and `setIsGeneratingPDF`. This change ensures proper encryption of PDF files when handling audit-related functionalities.
- Refactored the `encryptPDF` function in `audits.ts` to return a Promise that resolves with a Blob or null. - Updated the `handleSubmitEncrypt` function in `AuditSidebar.tsx` to handle the new Promise return structure, display error messages, and manage modal state appropriately.
…rror message display in AuditSidebar
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughEl pull request introduce varias modificaciones significativas en el código, incluyendo la adición de una nueva variable de entorno Changes
Possibly related PRs
Suggested reviewers
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Descripción
Cambia color en botón Save en Custom Section del Audit
Motivación y Contexto
Consistencia de UX/UI
Tipos de cambios
Lista de verificación:
Summary by CodeRabbit
Nuevas Funciones
CVSS_MODEL_URLpara la configuración del modelo CVSS./cvsspara procesar solicitudes de clasificación CVSS.AuditSidebary se ha introducido un nuevo componenteSections.Mejoras en la Localización
Correcciones de Errores