Repository navigation
Conversation
… 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
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
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.
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).getNameToCopyinsrc/common/mappings.jsis 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