Skip to content

Mapper: a reopened project forgets the names of a target mapped from the Search tab #2916

Closed
OpenConceptLab/oclmap
#104

Description

@paynejd

Follow-up to #2909 (Codex's F3.1 on OpenConceptLab/oclmap#102).

A reopened project rebuilds each mapped target from the project file, which holds only its id, display name and URL. oclmap#102 fills in a target's names and match highlight from the row's restored candidates, but a target mapped from the Search tab isn't among them: its grid cell leads with the repository's name, not the input-language name, and its matched name never comes back.

Every save already sends each mapped target's full concept, with its names and search highlight, in the project's matches, and opening a project returns it. oclmap never reads it back, so the first save after a reopen (an autosave included) overwrites it with the stripped target.

Acceptance criteria

  • A reopened project restores each mapped target's names and match highlight from its saved matches entry, when that entry is for the same concept.
  • Saving a reopened project keeps those names and that highlight in matches.
  • A project whose matches entries lack them opens as it does today.

Components: src/components/map-projects/MapProject.jsx (setProjectFromData, onSave).

Activity

  1. added this to the P3 · Mapper: GA milestone on Oct 16, 2026
  2. self-assigned this
    on Oct 16, 2026
  3. added 3 commits that reference this issue on Oct 16, 2026
  4. added a commit that references this issue on Oct 16, 2026
  5. added a commit that references this issue on Oct 19, 2026
    0645163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions