Repository navigation
OpenConceptLab/ocl_online#327 | "View in TBv3" goes to app.<env>, not app.v3.<env> - #66
Merged
Merged
Conversation
…re TBv3 now is, not app.v3.<env> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…env>].openconceptlab.org hosts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Quick pass: ready to merge once CodeQL is green
🤖 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). TBv2's "View in TBv3" chip still builtapp.v3.<env>links, so every click took a redirect hop.Change
toTBv3Origin(src/common/env.js):app.v2[.<env>](orapp[.<env>]), it returnsapp[.<env>].http://localhost:4002.https://app.openconceptlab.org. Before, that default wasapp.v3.openconceptlab.org.toV3URLuses it. The path, referrer andauth=trueare unchanged.isV3URLstill acceptsapp.v3, so links from TBv3 pages opened on the old host still count as TBv3.Checks
node --test src/common/__tests__/env.test.js src/common/__tests__/announcement.test.js: 27 pass. NewtoTBv3Origincases cover production, staging, qa, staging.who, localhost and other hosts.🤖 Generated with Claude Code