fix(reporting): smart-flip queue popover + add CARD workflow type
Popover now flips above the row when it would overflow the bottom of the viewport, and clamps horizontally to stay within the window. Adds CARD as a third workflow type (for out-of-team asset disposition in CARD) alongside FP and Archer. CARD is styled in green (#10B981) across the popover toggle and queue panel badge. DB: new migration (add_card_workflow_type.js) recreates ivanti_todo_queue with an updated CHECK constraint to allow 'CARD'; run manually on dev. App-level validation in the route is updated to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// routes/ivantiTodoQueue.js
|
||||
const express = require('express');
|
||||
|
||||
const VALID_WORKFLOW_TYPES = ['FP', 'Archer'];
|
||||
const VALID_WORKFLOW_TYPES = ['FP', 'Archer', 'CARD'];
|
||||
const VALID_STATUSES = ['pending', 'complete'];
|
||||
|
||||
function isValidVendor(vendor) {
|
||||
|
||||
Reference in New Issue
Block a user