Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create inkscape extension to make creating badge templates easier #40

Open
memtech3 opened this issue May 13, 2020 · 0 comments
Open

create inkscape extension to make creating badge templates easier #40

memtech3 opened this issue May 13, 2020 · 0 comments
Labels
ready for dev Ready for development user friendly improvements Issues that make LibreBadge more user friendly

Comments

@memtech3
Copy link
Member

memtech3 commented May 13, 2020

Create an inkscape extension to make creating badge templates easier

Fields and Ideas

For all fields, variable data will be passed to the svg template using html data attributes added to the svg in production template with some js
Extension prompts users for sample field data and field data variable ID.
Sample field data is shown if embedded JS determines that template is not being viewed in production based on whether or not data tag data-isProduction=true

  • Variable Text Field
  • Variable Image Field
    • image stored as base64 inside parent svg object with grey x background so that the user can visualize the placement and size of the image, background is set to none when in production
  • Variable Graphic Field
    • Make a gui wizard that helps users define logic based on the values passed in the html data attributes
  • Variable Barcode Generator
    • Uses a js barcode generator library like the one here setup to generate barcodes inside of a parent svg object that has the barcode data defined inside the parent tag
@memtech3 memtech3 added ready for dev Ready for development user friendly improvements Issues that make LibreBadge more user friendly labels May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for dev Ready for development user friendly improvements Issues that make LibreBadge more user friendly
Projects
None yet
Development

No branches or pull requests

1 participant