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

Envelope labels #173

Merged
merged 4 commits into from
Jan 24, 2022
Merged

Envelope labels #173

merged 4 commits into from
Jan 24, 2022

Conversation

frenzymadness
Copy link
Owner

Nová možnost tisknout štítky na obálky.

Copy link
Collaborator

@adelpopelkova adelpopelkova left a comment

Choose a reason for hiding this comment

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

It seems to work well. I did a bit of manual testing. Here are a few findings:

  • One tiny detail: the buttons seem to be too close to each other (this doesn't affect the functionality).
  • Then the error message when entering a higher/lower number does not seem to be in Czech.
  • With the Skipping first x number of labels maybe preparing the system for the situation when nothing is added (an empty field is sent). At the moment you get an error.
  • With the labels sheet itself - is it planned to print out the whole page on the pre-cut labels? And does this layout fit the labels?

Comment on lines +125 to +130
if not (0 <= self.skip.data < 16):
flash("Vynechat lze 0 až 15 štítků.", "danger")
return False
Copy link
Collaborator

Choose a reason for hiding this comment

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

I tested this manually and the propper message does not seem to show itself. I see only an info message in English.

Copy link
Owner Author

Choose a reason for hiding this comment

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

It works if you have disabled javascript. If you use JS, the browser doesn't allow you to send the request to the server.

@frenzymadness
Copy link
Owner Author

* Then the error message when entering a higher/lower number does not seem to be in Czech.

Those are messages produced by the browser, I believe. I will test it today on a system with Czech locales.

* With the _Skipping first x number of labels_ maybe preparing the system for the situation when nothing is added (an empty field is sent). At the moment you get an error.

Good catch, will use 0 in that case.

* With the labels sheet itself - is it planned to print out the whole page on the pre-cut labels? And does this layout fit the labels?

Yes, exactly, I'll add a comment to the top od the HTML page.

@frenzymadness frenzymadness merged commit 2024e85 into master Jan 24, 2022
@frenzymadness frenzymadness deleted the envelope_labels branch January 24, 2022 07:40
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.

None yet

2 participants