Repository navigation
Comparing changes
Open a pull request
base repository: LiaScript/LiaScript-Exporter
base: 3.6.9
head repository: LiaScript/LiaScript-Exporter
compare: 3.7.0
- 6 commits
- 31 files changed
- 2 contributors
Commits on Nov 20, 2026
-
feat(pdf): --pdf-form, quizzes as a fillable form that checks itself
Chrome prints no form fields. Before printing, every field and quiz button of the page gets an empty link laid over it that names it (appended where Elm draws, behind the gap where LiaScript writes HTML, as both redraw a field that is moved); Chrome writes each link with its place on its page. pdf-lib swaps the links for AcroForm fields: text, check box, radio group, dropdown, and LiaScript's drawn Check and solution buttons, whose scripts compare with the solutions of the course description (fulljson-meta) and show LiaScript's feedback texts in the course language. Works in readers with PDF JavaScript (Acrobat, Firefox/pdf.js); elsewhere it is still a form to fill in. Surveys and tasks become fillable fields. CLI and server only: the web app prints through the browser's dialog. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40e1d46 - Browse repository at this point
Copy the full SHA 40e1d46View commit details -
feat(pdf-form): close solved quizzes, submit surveys
As in LiaScript, a solved or resolved quiz is closed: its fields become read only and its buttons do nothing more. Surveys get their Submit button, which closes the survey once every question (or matrix row) is answered and otherwise says what is missing, in LiaScript's texts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f461d2 - Browse repository at this point
Copy the full SHA 6f461d2View commit details -
feat(pdf-form): trial count on the check button
As LiaScript does, the check button shows how often it was pressed: "Check 1", "Check 2", … until the quiz is solved. A read-only field in room made next to the button's label, in its color and size. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cceb714 - Browse repository at this point
Copy the full SHA cceb714View commit details -
feat(pdf-form): the web app makes the same form, in two steps
The web app prints through the browser's dialog and never sees the PDF. So its print tab marks the fields as the CLI does, and the saved PDF goes back to the status page, which turns it into the form with pdf-lib (loaded on demand). Needs a PDF saved by Chrome or Edge, which keep links. For that the printed PDF carries all the form needs: the feedback link of each quiz holds the quiz, its solution and the language. addForm takes just the bytes, and returns null for a PDF without the links. The marking moved to pdf-form-marks.ts, free of pdf-lib, as the print tab runs it from its source. The web app gets the solutions by running the Exporter for pdf with a capturing pdf exporter, as the CLI gets them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bd088b - Browse repository at this point
Copy the full SHA 0bd088bView commit details -
fix(pdf-form): solutions for course URLs and projects; action inputs
A course URL was printed without parsing it, and a project handed its courses to the PDF export without their description, so neither form could check its quizzes. With --pdf-form a URL is now parsed as for RDF, and a project with --project-generate-pdf parses its courses with the solutions and passes each one on, as it does for ePub and DOCX. The GitHub Action gets the inputs pdf-form and pdf-timeout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5e26d6 - Browse repository at this point
Copy the full SHA b5e26d6View commit details -
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8d596b - Browse repository at this point
Copy the full SHA a8d596bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.6.9...3.7.0