Skip to content

OpenConceptLab/ocl_online#487 | The mapping form fills in a concept's name only if the concept is public - #67

Draft
paynejd wants to merge 3 commits into
masterfrom
ocl_online-487-mapping-form
Draft

paynejd wants to merge 3 commits into
masterfrom
ocl_online-487-mapping-form

Conversation

@paynejd

@paynejd paynejd commented Dec 3, 2026

Copy link
Copy Markdown
Member

Draft: merge it once OpenConceptLab/oclapi2#1122 is in production.

What changes

The mapping form fills in and saves a concept's name only if the concept is public. A private concept's name stays empty, and the author can type one. Everyone who can view a mapping sees the name saved on it.

With a public concept the form works as before.

Closing the mapping form also lets go of the concepts it was opened with. The next form (New Mapping, or Create Similar) used to open with them.

How

A list doesn't say whether a concept is public, so the form asks for the concept itself (public_can_view). getNameToCopy in src/common/mappings.js is the rule, with a test. TBv3's form has the same one.

Checked

Unit tests and ESLint.

Refs OpenConceptLab/ocl_online#487.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AaZ4qUWvM4HRKZktm5NSVk

paynejd and others added 3 commits December 3, 2026 07:49
… name only if the concept is public

Everyone who can view a mapping sees the name saved on it. A private concept's
name stays empty for the author to type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qUWvM4HRKZktm5NSVk
…ows its concept

When the ends are swapped or an end becomes another concept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qUWvM4HRKZktm5NSVk
…he concepts it was opened with

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qUWvM4HRKZktm5NSVk
@paynejd
paynejd requested a review from snyaggarwal December 3, 2026 12:50
@paynejd

paynejd commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

Reviews: Codex passes, a check of the commits after them and a simplification review, recorded on OpenConceptLab/ocl_online#487. No P0 or P1 is open.

This branch has not been deployed

No deployments
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.

1 participant