Repository navigation
OpenConceptLab/ocl_online#327 | Links to TBv3 go to app.<env>, not app.v3.<env> - #142
Merged
Merged
Conversation
…TBv3 now is, not app.v3.<env> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Quick pass: ready to merge
🤖 Generated with Claude Code |
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.
TBv3 is now the default Term Browser at
app.<env>, andapp.v3.<env>only redirects there (302). Every Mapper link to TBv3 still builtapp.v3.<env>, so each click took a redirect hop.Change (
src/common/appUrls.js)resolveIntegratedV3URLmaps an official Mapper hostmap[.<env>]toapp[.<env>]instead ofapp.v3[.<env>].PRODUCTION_TERMBROWSER_URL(the default for custom hosts) ishttps://app.openconceptlab.org.getV3URL/toV3URL, so they all pick this up: the left menu, owner, entity and repo-version chips, breadcrumbs, header search, the logo, user menu and create menu, and the "open in TermBrowser" links on concepts, bridge concepts, configuration, imports and logs.No change to sign-in hand-offs:
isOtherOCLClientURLalready accepts referrers from TBv3 onapp.<env>(throughisV2URL'shttps://app.check), andisV3URLstill acceptsapp.v3for links from pages opened on the old host.Checks
npm test: 823 pass. TheappUrlstests now expectapp[.<env>]for production, qa, staging and staging.who.🤖 Generated with Claude Code