Commits
Marek Vsechovsky committed 82463566e74
Session 155, Step 10: Consolidate AiCreditProviderMode into AiCreditProviderType bitmask and fix input file generation - AIM-2999 Fix silent failure in input file generation when clicking Start processing - AIM-3000 Fix credit dialog not showing for Used mode with 0 used - AIM-3001 Consolidate AiCreditProviderMode into AiCreditProviderType as a bitmask - AIM-3002 Fix incorrect AiCreditProviderCreditRemaining value - AIM-3003 Generate SQL migration script for bitmask consolidation Outcome: Fixed five issues: added error handling to input file generation so failures are no longer silent; removed the `startCredit > 0` gate that blocked the credit dialog for 'Used' mode providers with 0 used; consolidated `AiCreditProviderMode` into `AiCreditProviderType` as a 3-bit bitmask (bit 1=dollars/tokens, bit 2=remaining/used, bit 4=absolute/percentage); fixed the incorrect `AiCreditProviderCreditRemaining` value (174→87) with a SQL migration that recalculates from actual purchase sums; and created migration script `126_ConsolidateAiCreditProviderModeIntoType.sql` that performs the bitmask conversion, data repair, and column removal. Session 147, Step 15: Crop & Annotate: Delete button, auto-select tool, Delete key, z-index fix - AIM-3004 Add Delete button to Crop & Annotate header with confirmation - AIM-3005 Auto-select correct toolbar tool when clicking annotation element - AIM-3006 Fix delete for labels, titles, and paragraphs - AIM-3007 Add Delete key keyboard handler for annotation elements - AIM-2994 Fix Save As dialog appearing behind Crop & Annotate overlay Outcome: All 5 features/fixes implemented successfully. Build passes with 0 errors.