feat(dashboard): show audit log retention - #561
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThe dashboard runtime configuration now exposes logging retention days from application settings. The audit logs page formats valid retention values and conditionally displays a styled retention notice, with backend and frontend tests covering configured, indefinite, and invalid values. ChangesAudit retention visibility
Sequence Diagram(s)sequenceDiagram
participant AppConfig
participant AdminRuntimeConfig
participant WorkflowRuntimeConfig
participant AuditList
participant AuditPage
AppConfig->>AdminRuntimeConfig: expose LOGGING_RETENTION_DAYS
AdminRuntimeConfig-->>WorkflowRuntimeConfig: return normalized value
WorkflowRuntimeConfig->>AuditList: provide retention configuration
AuditList->>AuditPage: render auditRetentionText()
AuditPage-->>AuditPage: show retention note when text is non-empty
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Summary
0days as indefinite retention and hide invalid or unavailable valuesTests
make testmake test-dashboardSummary by CodeRabbit
New Features
Bug Fixes
Tests