// #44: the upload modal gets an in-modal "Upload destination" picker so users // can target any configured storage connection (R2 / B2 / custom S3) without // leaving the modal. Selection is per-modal and wins over the account default; // a stale selection (connection deleted meanwhile) falls back to the default. // // test_integrity_note: // change_type: ["new_tests"] // scenarios: // - id: SCN-upload-destination-picker // given: "0..n configured connections, with/without a default and a per-modal selection" // when: "pickTargetConnection resolves the target and renderConnectionPicker renders the select" // then: "selection > default > first; stale selections reset; picker hidden under two connections; default labelled" // observable_outcomes: // - "resolved target connection object" // - "rendered