feat(sidebar): add compliance scanner link from env config
Some checks failed
CI / Format (push) Failing after 3s
CI / Clippy (pull_request) Successful in 2m58s
CI / Security Audit (pull_request) Has been skipped
CI / Deploy (push) Has been skipped
CI / Deploy (pull_request) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Clippy (push) Successful in 3m5s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Failing after 3s
CI / Tests (pull_request) Has been skipped
CI / E2E Tests (pull_request) Has been skipped

Read COMPLIANCE_SCANNER_URL from environment via ServiceUrls config and
surface it through AuthInfo to the sidebar. The link renders with a
shield icon and opens in a new tab, only when the URL is configured.
Includes i18n translations for all five locales.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-03-09 09:10:51 +01:00
parent ca5da3c232
commit dc4cb40171
11 changed files with 39 additions and 7 deletions

View File

@@ -76,6 +76,7 @@ pub fn AppShell() -> Element {
name: info.name,
avatar_url: info.avatar_url,
librechat_url: info.librechat_url,
compliance_scanner_url: info.compliance_scanner_url,
class: sidebar_cls,
on_nav: move |_| mobile_menu_open.set(false),
}