During the MediaFile cycle, a useImageUpload hook was created with the intention of being reused between the ImageUpload and ImageSection components.
See PR: #8710
Since ImageUpload refactoring was out of scope for MediaFiles cycle we logged this as tech debt to be done at some later stage due to low priority.
It is however good to consolidate this and avoid having multiple duplicate code if we can help it.
Worth noting this is the type of ticket that may be doable by and AI, work experimenting with a Cursor to Linear integration perhaps. Will add a label
Acceptance Criteria:
- Refactor ImageUpload.tsx to use useImageUpload.tsx
During the MediaFile cycle, a useImageUpload hook was created with the intention of being reused between the ImageUpload and ImageSection components.
See PR: #8710
Since ImageUpload refactoring was out of scope for MediaFiles cycle we logged this as tech debt to be done at some later stage due to low priority.
It is however good to consolidate this and avoid having multiple duplicate code if we can help it.
Worth noting this is the type of ticket that may be doable by and AI, work experimenting with a Cursor to Linear integration perhaps. Will add a label
Acceptance Criteria: