Files
threshold-ui/ui/desktop/app/components/settings-card/application/index.hbs
T
CyberCoveandClaude Sonnet 5.5 89089dbb9a Rebrand Boundary UI to Threshold; neutralize HashiCorp update/phone-home endpoints
- Product name, app id, installer names, translations, titles -> Threshold
- Desktop: look for threshold CLI first, then boundary; migrate legacy
  Boundary user-data dir; updater/release lookups disabled unless configured
- Remove HashiCorp/IBM logos and art (plain placeholder mark), GitHub
  release workflows and HashiCorp release metadata
- Add NOTICE and README 'About this fork'

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 12:24:16 -07:00

86 lines
2.4 KiB
Handlebars

{{!
Copyright IBM Corp. 2021, 2026
SPDX-License-Identifier: BUSL-1.1
}}
<SettingsCard @header={{t 'settings.application'}} @icon='shield'>
<:body>
<div>
<Hds::Text::Display>
{{t 'settings.client'}}
</Hds::Text::Display>
<Hds::Text::Body @tag='p' @weight='medium'>
{{@model.desktopVersion}}
</Hds::Text::Body>
</div>
<div>
<Hds::Text::Display>
{{t 'settings.cli'}}
</Hds::Text::Display>
<Hds::Text::Body @tag='p' @weight='medium'>
{{@model.cliVersion}}
</Hds::Text::Body>
</div>
<div>
<Hds::Text::Display>
{{t 'settings.cache-daemon'}}
</Hds::Text::Display>
<Hds::Text::Body @tag='p' @weight='medium' data-test-cache-version>
{{#if @model.cacheDaemonStatus.version}}
{{@model.cacheDaemonStatus.version}}
<Hds::Badge
@text={{t 'states.running'}}
@icon='running'
@color='success'
/>
{{else}}
<Hds::Badge
@text={{t 'states.not-running'}}
@icon='stop-circle'
@color='neutral'
/>
{{/if}}
</Hds::Text::Body>
</div>
{{#if @model.cacheDaemonStatus.errors}}
<Hds::Alert @type='inline' @color='warning' as |A|>
<A.Title>{{t 'settings.alerts.cache-daemon'}}</A.Title>
<A.Description>
<Hds::Reveal
@text={{t 'actions.show-errors'}}
@textWhenOpen={{t 'actions.hide-errors'}}
>
{{#each @model.cacheDaemonStatus.errors as |error|}}
<Hds::Text::Body @tag='p'>
{{#if error.name}}
<strong>{{error.name}}: </strong>
{{/if}}
{{error.message}}
</Hds::Text::Body>
{{/each}}
</Hds::Reveal>
</A.Description>
</Hds::Alert>
{{/if}}
<Hds::Form::Select::Field
name='theme'
@width='100%'
{{on 'change' @toggle}}
as |F|
>
<F.Label>{{t 'settings.color-theme'}}</F.Label>
<F.Options>
{{#each this.themes as |theme|}}
<option
value={{theme.value}}
selected={{eq this.session.data.theme theme.value}}
>
{{t (concat 'themes.' theme.label)}}
</option>
{{/each}}
</F.Options>
</Hds::Form::Select::Field>
</:body>
</SettingsCard>