ui phase 11
This commit is contained in:
@@ -43,6 +43,14 @@ export const TICKETS_ATTACHMENTS_ENABLED = false;
|
||||
/** The admin global queue is a live worklist — a short stale window keeps it fresh without hammering. */
|
||||
export const ADMIN_TICKETS_LIST_STALE_TIME = 20 * 1000;
|
||||
|
||||
/**
|
||||
* Ticket lifecycle controls (close/reopen/assign) capability gate — mirrors the `TICKETS_ATTACHMENTS_ENABLED`
|
||||
* pattern above. Default **off**: the backend has no close/reopen/assign routes yet (REQ-063), so the
|
||||
* real-path controls stay hidden rather than pointing at a route that would 404. Flip once the endpoints
|
||||
* land — no component change beyond this flag.
|
||||
*/
|
||||
export const TICKET_LIFECYCLE_ENABLED = false;
|
||||
|
||||
/**
|
||||
* DEV-ONLY trigger for the optimistic-send **failure** path (phase §7 step 2): posting this exact message
|
||||
* body makes the mock throw a `500` so a human can watch the bubble roll back, the draft stay in the
|
||||
|
||||
Reference in New Issue
Block a user