Skip to content
This repository was archived by the owner on Sep 24, 2023. It is now read-only.

Conversation

@notmart
Copy link

@notmart notmart commented Jun 10, 2019

We are using Charm and Activity report (printing as PDF) internally in the company and had several issues with it:

  • The user name disappeared from the report for several users, it seems a problem of the user name copy to and from the metadata, where sometimes it went blank. Now it checks explicitly for blank values in that cache
  • The activity report header had wrong dates printed, as I do a report for "Last Month", the result says 1st May - 1st June, instead of 1st May - 31st May. Now the correct range appears
  • In the final PDF, the links are visible, which make the printout look quite broken. Now the next/previous function is in outside pushbuttons

notmart added 4 commits June 10, 2019 13:05
charm does not include the last day of the range, tough to change this
it should be heavily refactored
happened that the user name gets forgotten and the report
generates with an empty name. if it's empty, the one taken from the user
table takes precedence

Why a cached value of the user name is needed in metadata in the first
place?
previous and next links should never be in the printed report.
move them to external push buttons
need to fit very long text in the comments, use a normal flow with a <p>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant