(#76) Styling improvements for Lesson and Materials PDF/Google Doc exports - #80
Open
alexsdev91 wants to merge 2 commits into
Open
(#76) Styling improvements for Lesson and Materials PDF/Google Doc exports#80alexsdev91 wants to merge 2 commits into
alexsdev91 wants to merge 2 commits into
Conversation
alexsdev91
force-pushed
the
76-styling-lessons-materials
branch
from
July 17, 2026 15:27
2eacd10 to
215957c
Compare
alexsdev91
force-pushed
the
72-pdf-via-gdoc
branch
from
July 27, 2026 15:04
11a8a2f to
41cd770
Compare
- Apply shared design tokens across pdf.scss, pdf_plain.scss and gdoc.scss - Rework lesson/unit/material headers and footers for PDF and Gdoc, moving logo, lesson type and estimated time into the running header - Style the Gdoc footer by template placeholder so blank copyright/course lines no longer misstyle the unit/lesson line - Render the Settings brandmark in the Gdoc header via Apps Script, passing it inline as base64 instead of a fetched URL - Inline Gdoc CSS with premailer and emit headings as pure tags with styled inner spans so Google Docs maps them to native heading styles - Render activities flat with a configurable activity-type mapping in Settings - Add a client-configurable Lesson Type label map - Resolve material tokens in Lesson Preparation and show material titles instead of identifiers - Clear preview links on document (re)import so previews regenerate fresh - Fix SeedPdfSettings migration hitting Solid Cache before its table exists - Harden asset handling: external-asset URL escaping, image-id whitespace, SVG mime sniffing, material-token N+1, non-expiring S3 URLs - Add specs for headers, presenters, callout tags and the HTML sanitizer Signed-off-by: Sergei Alekseenko <alekseenkoss@gmail.com>
alexsdev91
force-pushed
the
76-styling-lessons-materials
branch
from
July 27, 2026 15:31
1cd4d2b to
f932058
Compare
alexsdev91
force-pushed
the
76-styling-lessons-materials
branch
from
August 11, 2026 18:00
fcf8ef9 to
19ea37e
Compare
alexsdev91
force-pushed
the
76-styling-lessons-materials
branch
from
August 13, 2026 16:46
19ea37e to
6c8f002
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements default styling for lesson, unit, and material exports across both PDF and Google Doc formats, plus a new plugin for exporting PDFs via the Google Docs API.