Repository navigation
Career History: remove roles, flag identical records, fix stats and search - #118
Merged
Merged
Conversation
… and flag identical records so the copies can go. Removing a role also removes its sites, details, facts, and photos on this machine, and unlinks its worklog entries. Stats count an identical record once, add up tenure without counting overlapping roles twice, and skip miles between roles held at the same time. Search matches site addresses, the counts follow the search, and an empty search says so on the map with a way to clear it. A place keeps its city when the street is abbreviated or the state carries a zip. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Oct 18, 2026
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.
Career History can now remove roles, and finds identical records so the copies can go.
Remove
DELETE /api/work-map/roles/:idremoves the role with its sites, details, facts, and photos on this machine, and unlinks its worklog entries.prepareWorkMapRoleDeleteincore/checks the request.Identical records
flagIdenticalRolesincore/marks records that match in organization, title, dates, text, and places. They show an "Identical" tag, and "Select identical" picks every copy except the first.Stats and search
Place
Tests: 325 pass. Type check: only the existing
GmailSettings.tsxerrors.