[Bug] Ditgar: exported PDF text reads the sidebar before the main column and never shows the Summary heading, so ATS parsers misfile sections
Existing issue
- I searched the existing issues and could not find a matching report.
Product variant
Self-hosted
Reactive Resume version
5.3.2 (image amruthpillai/reactive-resume:v5.3.2, commit 7122988). Also reproduced on 5.3.1
Area
Templates, preview & export
Environment
macOS, official Docker image via Docker Compose. PDF exported through the API (GET /api/openapi/resumes/{id}/pdf)
Summary
Ditgar renders the sidebar column, which also holds the name/contact header, before the main column. react-pdf writes the PDF text layer in render order, so parsers that read the text stream get: header → sidebar sections → summary → experience.
On a 2-page resume it gets worse: page 2's sidebar sections come before the remaining Experience entries, so a sequential parser files those roles under the last sidebar heading (Interests, in my case).
Separately, the featured Summary is rendered with a hardcoded showHeading={false}, so the PDF never has a SUMMARY heading, even when the section's "Show heading" setting is on.
Reactive Resume's own PDF checker (/ats-checker) flags the exported file with the MULTI_COLUMN_LAYOUT blocker, which caps the score at 55.
Steps to reproduce
Create a resume long enough to fill 2 pages, using Ditgar's default layout: Summary, Experience and Projects in the main column; Profiles, Awards, Skills, Education, Certifications, Languages and Interests in the sidebar. Leave the Summary's "Show heading" setting on (the default).
Export the PDF (builder download or
GET /api/openapi/resumes/{id}/pdf).Extract the text in content-stream order, the way many ATS parsers read it:
from pypdf import PdfReader for n, page in enumerate(PdfReader("resume.pdf").pages, 1): print(f"--- page {n} ---\n{page.extract_text()}")Optionally, upload the same PDF to
/ats-checker.
Expected behavior
- The text layer follows the visual reading order: name and contact → Summary → Experience (all roles contiguous under one heading) → Projects → sidebar sections.
- The Summary heading renders when
summary.showHeadingistrue, as it does in the other templates.
Actual behavior
Stream order (structure only, personal data removed):
--- page 1 ---
<name> / <headline> / <email> / <phone> / <location>
PROFILES → AWARDS → SKILLS (first half)
<summary paragraph> ← no SUMMARY heading
EXPERIENCE → first 2 roles
--- page 2 ---
SKILLS (second half) → EDUCATION → CERTIFICATIONS → LANGUAGES → INTERESTS
<last bullet of the page-1 role> + 5 more roles ← no heading: a sequential parser files these under INTERESTS
PROJECTSLayout-aware extractors (pypdf extraction_mode="layout", Ghostscript txtwrite) read by position and merge the two columns on the same line:
<name> <first line of the summary>
<headline> <a later line of the summary>Ghostscript even places the first summary line above the name.
/ats-checker on the exported file: MULTI_COLUMN_LAYOUT (blocker, overall score capped at 55) plus TIGHT_LINE_SPACING. The second one is a checker false positive (lines from both columns get merged before measuring), which I'll report separately.
Template
Ditgar
Logs and screenshots
Root cause
- Render order.
DitgarPagerenders the sidebar<View>first (L99-L123), with the header inside it (L110), and only then the main column (L125-L141). react-pdf emits text in render-tree order, so the text layer follows the tree, not the visual layout. - Summary heading. The featured summary passes
showHeading={false}(L132).SectionShellrenders a heading only when both the prop andsummary.showHeadingare true (sections.tsx L323-L327, L351), so the user's setting can never win. The same prop is in Gengar L116 and Leafish L132.
Proposed fix
1. Honor the Summary heading setting (small, independent).
Remove the hardcoded showHeading={false} in Ditgar, Gengar and Leafish so SectionShell falls back to summary.showHeading. A heading gives parsers a labeled SUMMARY section.
Trade-off: the data default is showHeading: true, so existing resumes on these templates would start showing the heading. If the heading-less featured box should stay the default look, a migration or a dedicated toggle could preserve it. Either way, an explicit user choice should be respected.
2. Emit the main column first (template).
Render the main <View> before the sidebar <View>, and reverse the page direction to compensate: flexDirection: rtl ? "row" : "row-reverse" instead of r.row (L219). The page looks identical (the RTL path already relies on row-reverse), but the text layer reads main → sidebar, so every Experience entry stays under EXPERIENCE.
Caveat: the header lives in the sidebar column, so after this change it would come after the main column in the text layer. The name is still the largest text and is in the PDF Author/Title metadata. Keeping the header first would need either:
- a "full-width header" option (header above both columns), or
- a sidebar spacer sized to the measured header height.
A pure template change can't keep the header inside the sidebar and emit it first: react-pdf has no grid layout, and absolutely positioned content doesn't paginate.
3. Ship the single-column "plain" export (the robust fix). No paint order helps layout-aware parsers, which read by position and merge columns (see the extraction above). The plain export described in plan 30 (measurement harness merged in #3482, README) would work like this:
- clone the resume;
- switch to a single-column template (Onyx or Rhyhorn);
- move every section into the main column;
- show the Summary heading.
Users could keep Ditgar for people and upload a parser-safe PDF, generated from the same data, to Greenhouse, Lever or Workday.
Related
- #3521: checker-side fix for headings set in a side column. It changes the score, not the exported file.
- #2845: open request for an ATS-ready export.
Source: amruthpillai/reactive-resume