[shots] Add bulk shot generation to the Create shots modal#2070
Conversation
Add a "Bulk" tab to the Create shots modal that generates a range of shot names from a start name, count and step (e.g. SH010, SH020, ...), previews them, and creates them in one pass via the existing CSV import. Adds a `generateBulkShotNames` string helper and a `bulkCreateShots` store action. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| this.newShot(shot).then(callback).catch(console.error) | ||
| }, | ||
|
|
||
| addShotsBulk(payload, callback) { |
There was a problem hiding this comment.
Please don't use callback. Use only promises.
|
Two small guards worth adding to the bulk tab:
Minor, non-blocking: on import failure the modal only does |
Add a "Bulk" tab to the Create shots modal that generates a range of shot names from a start name, count and step (e.g. SH010, SH020, ...), previews them, and creates them in one pass via the existing CSV import. Adds a
generateBulkShotNamesstring helper and abulkCreateShotsstore action.