Skip to content

Conversation

@AjobK
Copy link
Member

@AjobK AjobK commented Sep 23, 2024

Closes #6554

@AjobK AjobK marked this pull request as draft September 23, 2024 13:05
@ThiefMaster ThiefMaster changed the title Draft: Pdf timetable Generate PDF timetable using Weasyprint Sep 23, 2024
Copy link
Member

@ThiefMaster ThiefMaster left a comment

Choose a reason for hiding this comment

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

I know it's still WIP, just a few comments on things I noticed while skimming over the diff

@AjobK
Copy link
Member Author

AjobK commented Sep 24, 2024

I will get to the comments after the refactor as some of this might not be relevant anymore. However, I'll keep the points in mind for the new code and will check these things when the PoC is done.

@AjobK AjobK marked this pull request as ready for review October 25, 2024 09:02
@AjobK AjobK requested review from ThiefMaster and tomasr8 October 25, 2024 09:02
@AjobK AjobK changed the title Generate PDF timetable using Weasyprint Revamp and generate PDF timetable using Weasyprint Oct 25, 2024
@AjobK
Copy link
Member Author

AjobK commented Oct 25, 2024

As discussed with @ThiefMaster , we will remove the old code and logic once the current changes are approved.

@AjobK
Copy link
Member Author

AjobK commented Oct 25, 2024

Example of generated PDF for large event (350 pages) with everything displayed and only the 'each session on new page' flag disabled:

ICHEP 2024 example

@AjobK AjobK requested a review from ThiefMaster November 1, 2024 08:57
@AjobK
Copy link
Member Author

AjobK commented Nov 1, 2024

@tomasr8 @ThiefMaster

I have modified the code so that the old PDF export is easy to remove. Use the PDF button for the new PDF generation, and the PDF (Legacy) button for the old generation. When this PR is approved I will simply remove all the code associated with the old PDF.

Copy link
Member

@ThiefMaster ThiefMaster left a comment

Choose a reason for hiding this comment

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

everything works nicely now :)

@ThiefMaster ThiefMaster merged commit a2384cd into indico:master Dec 12, 2024
9 checks passed
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.

Timetable export with Weasyprint

3 participants