Skip to content

feat: add a company location to work experience - #135

Merged
rimzzlabs merged 1 commit into
mainfrom
feat/experience-company-location
Aug 1, 2026
Merged

feat: add a company location to work experience#135
rimzzlabs merged 1 commit into
mainfrom
feat/experience-company-location

Conversation

@rimzzlabs

Copy link
Copy Markdown
Owner

Closes #132.

Experience and internship entries now carry a location. It renders after the company on the same line, comma-joined ("Acme Corp, San Francisco, CA"), in the preview, all six templates, all six PDF documents, the .docx, and the plain-text export.

Education already had a location field in its form, but no renderer ever read it, so anything typed there was stored and silently dropped. It now renders next to the institution the same way. Existing documents with a filled education location will start showing it.

Keeping the location on the employer/institution line rather than in a column of its own means the pair stays one contiguous phrase for text extractors. A linked company keeps its hyperlink on the company name only. Every render path goes through a single resume-entry-location helper, so the join cannot drift between the preview and an export.

Schema version 20 to 21, with a bail-safe ladder rung that stamps an empty location onto existing experience and internship entries. Entries that already carry one keep it, and anything that is not entry-shaped is skipped. The interchange schema is registry-driven, so JSON and YAML round-trip the new field, and exports made before this change still import.

Testing

pnpm typecheck, pnpm lint, and pnpm validate:exports pass. The export gate now also asserts an employer location and a school location survive extraction in every format; the PDF extracts Acme Corp, San Francisco, CA as one contiguous phrase, and the text export reads Senior Frontend Engineer - Acme Corp, San Francisco, CA - Mar 2022 - Present.

Opened a document written before this change: it migrates on read, renders unchanged with no stray comma, and gets a pre-migration backup snapshot. Typing a location updates the preview live and persists. The Location field shows up under Company in both the experience and internship forms, and the What's new sheet renders the new entry in English and Indonesian.

Experience and internship entries now carry a `location` field. It
renders after the company on the same line, comma-joined ("Acme Corp,
San Francisco, CA"), in the preview, all six templates, all six PDF
documents, the .docx, and the plain-text export. Requested in #132.

Education already had a `location` field in its form, but no renderer
ever read it: anything typed there was stored and silently dropped. It
now renders next to the institution the same way, so existing documents
with a filled education location will start showing it.

The pair rides on the employer/institution line rather than a column of
its own, so it stays one contiguous phrase for text extractors, and a
linked company keeps its hyperlink on the company name only. All render
paths go through one `resume-entry-location` helper so the join can
never drift between the preview and an export.

Schema version 20 to 21, with a bail-safe ladder rung that stamps an
empty location onto existing experience and internship entries; entries
that already carry one keep it, and anything that is not entry-shaped is
skipped. The interchange schema is registry-driven, so JSON and YAML
round-trip the new field and older exports without it still import.

Verified by opening a v20 document in the app: it migrates, renders
unchanged, snapshots a pre-migration backup, and a typed location
reaches the preview and persists. The export gate now asserts an
employer and a school location survive extraction in every format.

Signed-off-by: Rizki Citra <rimzzlabs@proton.me>
@rimzzlabs
rimzzlabs merged commit ac382ab into main Aug 1, 2026
4 checks passed
@rimzzlabs
rimzzlabs deleted the feat/experience-company-location branch August 1, 2026 18:21
rimzzlabs pushed a commit that referenced this pull request Aug 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.11.0](v0.10.2...v0.11.0)
(2026-08-01)


### Features

* add a company location to work experience
([#135](#135))
([ac382ab](ac382ab))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

feat: company location in work experience

1 participant