Repository navigation
OpenConceptLab/ocl_issues#3061, OpenConceptLab/ocl_online#863, OpenConceptLab/ocl_online#865 | Saved text and links show the same way everywhere, and requests with a token go to the app's own servers - #124
Merged
Conversation
…ser bios show through the sanitized display - About renders with MarkdownContent, as the repository About tab does, for organizations with and without a banner and for user bios. Text stored as HTML or Markdown keeps its headings, lists, links and other formatting. - The hidden copy of the text, which nothing read, is gone. - The display also keeps underlines, phone links and pasted images, which the About editor saves, and the ids and names that in-page links use: names on links, and ids in lower case or with a hyphen, as the change log's anchors have. A text nested too deeply to format shows as it was written. - A bio of up to three lines still has no Read more. A longer one closes to exactly three lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
…rough the sanitized display's rules It also keeps what the editor writes and the display leaves out: alignment, indents, fonts and checklists, and the colors that come with pasted text, so saving doesn't lose them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
…ed synonym as text, with every matched part in bold Only the first matched part was bold; the others were in italics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
…ches a repository from this server only Another server's address in copyFrom is filled in, for the person to fetch. The app's own Create similar links are to this server, and the box for an OCL address still takes other servers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
…the app's own servers only - overrideURL takes a path, or a full address on the OCL API. Anything else fails as a request that never reached the server does. Where a request with a token goes is checked again when it's sent, by whole origin. This is the Classic Term Browser's check (OpenConceptLab/oclweb2#56). - The server set for the app, or chosen in it, is the API. The others are the analytics server, which the usage pages read, and the OCL AI Assistant, which writes change comments, each as set for the app. Their redirects aren't followed. - The compare pages say when a concept, mapping or version in their link can't be found, and an answer for a link that's been left changes nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
… of it Ids given to users(), orgs() and the like are encoded, and one that's already encoded isn't encoded twice. A backslash in any path stays inside its part, where a browser would read it as a slash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
…hone address Links can hold addresses that people saved, such as a mapping's target source. One check of every click covers them all. Downloads work as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
… of a path A request for one is refused, however the dots are encoded. Ids with dots in them, such as v1.0 or 1D62.1, work as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8
Member
Author
|
Reviews. These were done on a private ticket, the first seven commits' before they went to production. This is the summary.
|
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.
Please merge this at once. Production already runs the first seven commits. Until they're on main, a production deploy from main would undo them.
Text, links and addresses that people save in OCL are handled the same way everywhere, and requests with a person's token go to the app's own servers.
Closes OpenConceptLab/ocl_issues#3061. Part of OpenConceptLab/ocl_online#863 and OpenConceptLab/ocl_online#865. The first seven commits are live as 3.0.59-alpha-3de288df. This brings them to main, with one more from their review.
One commit each:
MarkdownContent, as the repository About tab does. Text stored as HTML or Markdown keeps its headings, lists, links, underlines, phone links, pasted images and in-page links. The hidden copy of the text, which nothing read, is gone.RTEditor, in the organization and repository forms) opens stored text through the same rules. It also keeps what the editor writes and the page leaves out: alignment, indents, fonts, checklists and colors, so saving doesn't lose them.copyFrom) fetches a repository from this server only. Another server's address is filled in, for the person to fetch.overrideURLtakes a path, or a full address on the API. This is the Classic Term Browser's check (API requests only go to the API host oclweb2#56). The compare pages now say when a concept, mapping or version in their link can't be found, where they showed a spinner.v1.0or1D62.1, work as before.What looks different
[icd.who.int](…).errors.version_404is new, in en, es, pt-BR and zh.For whoever adds a request or a link
getAppServers()(APIService.js). Anything else is refused, and fails as a request that never reached the server does.request()passes on only the config keys inREQUEST_CONFIG_KEYS. To set a whole address, setservice.URL.Checks
npm testpasses: 410 tests, 53 of them new. No new dependency:loadComponent.jscompiles the app's own components with Babel, and the tests read their static markup.🤖 Generated with Claude Code
https://claude.ai/code/session_01AaZ4qWA7kift9SmfdNbRe8