Skip to content

Conversation

@yordan-st
Copy link
Contributor

@yordan-st yordan-st commented Nov 10, 2025

Pull request type

New feature (non-breaking change which adds functionality)


Description

  • We added comprehensive configuration and styling settings depending on the selected barcode type
  • We enhanced the generator with the ability to download the barcodes as an image

@yordan-st yordan-st changed the title Feat/wc 3165 barcode generator enhancements [WC-3165] BarcodeGenerator: Enhancements Nov 10, 2025
@yordan-st yordan-st force-pushed the feat/WC-3165_BarcodeGenerator-enhancements branch from c6f945d to 4538743 Compare November 10, 2025 16:06
@yordan-st yordan-st marked this pull request as ready for review November 10, 2025 16:06
@yordan-st yordan-st requested a review from a team as a code owner November 10, 2025 16:06
@yordan-st yordan-st force-pushed the feat/WC-3165_BarcodeGenerator-enhancements branch 3 times, most recently from 2137d49 to c7c502b Compare November 11, 2025 14:27
@yordan-st yordan-st force-pushed the feat/WC-3165_BarcodeGenerator-enhancements branch from 9e311b3 to e7b8d90 Compare November 17, 2025 13:33
Comment on lines +8 to +10
const ref = useRenderBarcode();
const { allowDownload } = useBarcodeConfig();
const { downloadBarcode } = useDownloadBarcode({ ref });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice 👍

Comment on lines +14 to +17
if (!svgElement) {
console.error("SVG element not found for download");
return;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good

@yordan-st yordan-st force-pushed the feat/WC-3165_BarcodeGenerator-enhancements branch from e7b8d90 to ad28a65 Compare November 17, 2025 13:37
iobuhov
iobuhov previously approved these changes Nov 17, 2025
Copy link
Collaborator

@iobuhov iobuhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yordan-st yordan-st force-pushed the feat/WC-3165_BarcodeGenerator-enhancements branch from ad28a65 to 5d9e04d Compare November 18, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants