Skip to content

open links from user data in new tabs#1631

Merged
Pascal-Delange merged 3 commits into
mainfrom
pascal/ingested-data-link-open-in-new-tab
Jun 11, 2026
Merged

open links from user data in new tabs#1631
Pascal-Delange merged 3 commits into
mainfrom
pascal/ingested-data-link-open-in-new-tab

Conversation

@Pascal-Delange

@Pascal-Delange Pascal-Delange commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  • Open links in a new tab
Capture d’écran 2026-06-11 à 13 08 48
  • Allow to open "go to next case" in a new tab too

Summary by CodeRabbit

  • New Features

    • External links now open in a new tab for improved browsing experience.
  • Style

    • External links feature updated styling with a visual northeast arrow indicator for better clarity.

@Pascal-Delange Pascal-Delange marked this pull request as ready for review June 11, 2026 11:09
@Pascal-Delange Pascal-Delange requested a review from a team June 11, 2026 11:09
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Pascal-Delange, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 38 minutes and 20 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 77c43739-03c3-4b8f-b356-e1a41a260725

📥 Commits

Reviewing files that changed from the base of the PR and between 5c2145f and edd9b7f.

📒 Files selected for processing (5)
  • packages/app-builder/src/components/CaseManagerV2/PageLayout.tsx
  • packages/app-builder/src/components/Data/DataVisualisation/DataField.tsx
  • packages/app-builder/src/routeTree.gen.ts
  • packages/app-builder/src/routes/_app/_builder/cases/_detail/s.$caseId/old.tsx
  • packages/app-builder/src/routes/ressources/cases/next-unassigned.$caseId.ts
📝 Walkthrough

Walkthrough

StringLink, a component for rendering URLs in the Data Visualisation section, now opens links in a new browser tab with security attributes, updated styling for consistency, and a trailing icon to signal external navigation to users.

Changes

External Link Enhancement

Layer / File(s) Summary
StringLink external link rendering
packages/app-builder/src/components/Data/DataVisualisation/DataField.tsx
The anchor element gains target="_blank" and rel="noopener noreferrer" to open in a new tab securely, updates styling to text-purple-primary inline-flex items-center gap-0.5 for proper layout and color, and appends a trailing Icon component to indicate external navigation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

A link doth open to worlds anew, 🌐
With purple hue and icon true,
In tabs beyond, the traveler goes,
Safe from danger that nav bestows. ↗️

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: StringLink now opens URLs in new tabs with external link indicators, exactly as described in the raw summary.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pascal/ingested-data-link-open-in-new-tab

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@william-schlegel william-schlegel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Pascal-Delange Pascal-Delange enabled auto-merge (rebase) June 11, 2026 13:22
@Pascal-Delange Pascal-Delange force-pushed the pascal/ingested-data-link-open-in-new-tab branch from 8f9a748 to edd9b7f Compare June 11, 2026 13:22
@Pascal-Delange Pascal-Delange merged commit 9149f7b into main Jun 11, 2026
6 checks passed
@Pascal-Delange Pascal-Delange deleted the pascal/ingested-data-link-open-in-new-tab branch June 11, 2026 13:26
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.

2 participants