release: ship validated Mentor PDF exporter v1.0.0
This commit is contained in:
1 parent
d4928af5b6
commit
0334f2b85b
50 files changed
+3998
-219
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Mentor PDF UI Dependency Font Color Implementation Plan
|
||||
|
||||
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox syntax for tracking.
|
||||
|
||||
**Goal:** Make dependency selection clearly optional, refresh the UI to blue/gray, and add evidence-backed native font/print-color profiles.
|
||||
**Architecture:** Keep isolated project export and pre-publication safety intact. Add per-run private configuration and process-only environment overrides, never global/user environment or installed Mentor config edits. Native behavior must be verified before claiming Chinese correctness.
|
||||
**Tech Stack:** Existing Python 3.12 / PySide6 / pywin32 / pypdf / local EE7.9.5.
|
||||
**Spec:** Approved preceding chat design: rename/hide optional project dependency library, blue-gray interface, high-contrast print palette, Arial font mapping comparison; no library-content export.
|
||||
|
||||
## Global Constraints
|
||||
- Empty library_override means preserve original .prj CentralLibrary, never require manual selection or silently pick another library.
|
||||
- All native adjustments occur in copied project or run-owned config; source CAD, installed Mentor files and user environment unchanged.
|
||||
- Preserve Job-before-resume, whole-queue path guards, source fingerprints, commit pre-records, no-overwrite default and traceable failure results.
|
||||
- Do not promise Arial fixes Chinese without actual rendered evidence. Distinguish font mapping from UI typography and from byte encoding.
|
||||
- Native/private config feasibility first. If native color/font settings are ignored or unsupported, record it and use a verified approach or expose a clearly labelled experimental option; never ship a no-op as a working feature.
|
||||
|
||||
### Task 1: Native probe and profile semantics
|
||||
Files: tests/test_profiles.py, tests/test_workspace.py, src/mentor_pdf_export/{models,profiles,workspace,engine}.py; throwaway probes under artifacts/v02.
|
||||
- [ ] Establish baseline/Arial/Chinese-font comparison on isolated PON data and inspect PDF resources/text/rendering.
|
||||
- [ ] Test private colors.def PRINT_COLOR scope; distinguish screen/display from output palette.
|
||||
- [ ] Write failing tests for empty library preservation, font profiles, print palette, process-only config and original-file safety.
|
||||
- [ ] Implement the smallest verified configuration route; run red/green tests.
|
||||
|
||||
### Task 2: UI clarity and blue-gray styling
|
||||
Files: tests/test_ui.py, src/mentor_pdf_export/ui.py.
|
||||
- [ ] Red tests: optional dependency section hidden by default, explicit selection reveals it, empty dependency exports unchanged, font/color controls flow to options, no scroll reset.
|
||||
- [ ] Implement advanced dependency wording/help, blue-gray style and profile controls with accurate warnings.
|
||||
- [ ] Verify UI tests and capture native-window screenshot.
|
||||
|
||||
### Task 3: Delivery
|
||||
Files: README.md, docs/testing, version/packaging metadata; release v0.2.0.
|
||||
- [ ] Run full suite, scoped safety review, real final exe native batch and rendered PDF comparison.
|
||||
- [ ] Package versioned portable directory/ZIP without deleting v0.1.0 release; test extracted runtime and confirm source/global configuration hashes unchanged.
|
||||
- [ ] Commit source on feat/pdf-export and report exact remaining limitations.
|
||||
Reference in new issue
Block a user