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

Html time export #21

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

StephanRichter
Copy link
Contributor

Hey, Philip. Ich bins mal wieder. Ich hatte ja schon mal irgendwann im Forum geschrieben, dass die gegenwärtige PDF-Export-Lösung unbefriedigend ist.
Ich habe deshalb die Zeiterfassung um eine html-Export-Funktion ergänzt. Die macht ein hübsche Tabelle, in der auch die html-Annotation hinhaut, und welche ich anschließend einfach als pdf drucken kann.

Schau dir's mal an ;)

liebe Grüße aus Jena,
Stephan

@philippK-de
Copy link
Owner

So this looks quite good in all. Just one thing: I'd like to see a compelling use case for this. What does this add that PDF and CSV export do not provide ?

@StephanRichter
Copy link
Contributor Author

as i wrote in the forum, pdf export is unusable at the moment, as long texts in the comments field just get squezed into the column and thus unreadable.
a i normally use html formatting in the comments of the timetracking, those formattings happen to vanisch on csv export.
html export gives me both: proper line breaking and formatting. and with my pdf printer, i can generate an pdf, which is READABLE.

@philippK-de
Copy link
Owner

Sorry i find this wholly unconvincing. Yes it's true there are some problems with the comments field because it lacks automatic line break. Now, i don't see how the solution to that is to re-implement the export to create an html table.
Yes you can use that with a "PDF printer" - but few people use such a workflow.
Wouldn't it be better to fix the PDF export by including automatic line breaks ?

@StephanRichter
Copy link
Contributor Author

Even if you don't print to pdf, it's at the moment the best solution to make a printable document, which fits a page, respects all html in the comments and can be viewed needing nothing more than a web browser.
And you are right, fixing the pdf thing would be a good thing, but i don't know so much about the pdf internals (or the internals of the pdftool you use) - so i did this workaround for my installation and afterwards just wanted to offer it to other users.

@philippK-de
Copy link
Owner

i'm not sure about this. i will think about it some more.

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.

2 participants