feat(draftworkflow): display metadata columns in restricted drafts (#16758)#16761
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #16761 +/- ##
==========================================
+ Coverage 24.10% 24.35% +0.24%
==========================================
Files 3271 3273 +2
Lines 173270 174726 +1456
Branches 42959 43594 +635
==========================================
+ Hits 41767 42554 +787
- Misses 131503 132172 +669
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the Restricted Drafts page (opencti-front) to show the same “metadata” columns as the main Drafts page when the DRAFT_WORKFLOW feature flag is enabled, while preserving the previous column set when the flag is disabled.
Changes:
- Extend the Relay fragment for restricted drafts to fetch metadata fields (createdBy, assignee/participant, workflow status, etc.).
- Add a feature-flag-driven switch between the legacy columns and the metadata column set.
- Add runtime-sorting awareness (OpenSearch vs Elasticsearch) and a guard hook to mitigate persisted runtime-only sort fields.
|
Working well :) |
…ftStatusChip and fix runtime sort guard race condition (#16758)
|
Ready for 2nd review. 🧩 Column alignment ♻️ DraftStatusChip extraction 🐛 Race condition fix — OpenSearch UnsupportedError 🧹 Minor cleanup |
Proposed changes
Related issues
How to test this PR
Checklist