mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
formatting
This commit is contained in:
parent
82edcab1a6
commit
ecff9e5b3a
@ -184,8 +184,8 @@
|
||||
{/if}
|
||||
</Button>
|
||||
<div class="disclaimer text-base-body-12">
|
||||
Signing commits can allow other people to verify your commits if you publish the
|
||||
public version of your signing key.
|
||||
Signing commits can allow other people to verify your commits if you publish the public
|
||||
version of your signing key.
|
||||
<Link href="https://docs.gitbutler.com/features/virtual-branches/verifying-commits"
|
||||
>Read more</Link
|
||||
> about commit signing and verification.
|
||||
@ -204,8 +204,8 @@
|
||||
<SectionCard orientation="row" labelFor="allowForcePush">
|
||||
<svelte:fragment slot="title">Allow force pushing</svelte:fragment>
|
||||
<svelte:fragment slot="caption">
|
||||
Force pushing allows GitButler to override branches even if they were pushed to remote.
|
||||
We will never force push to the trunk.
|
||||
Force pushing allows GitButler to override branches even if they were pushed to remote. We
|
||||
will never force push to the trunk.
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="actions">
|
||||
<Toggle
|
||||
|
@ -134,16 +134,14 @@
|
||||
<ContentWrapper title="AI options">
|
||||
<!-- <div class="ai-settings-wrap"> -->
|
||||
<p class="text-base-body-13 ai-settings__text">
|
||||
GitButler supports multiple providers for its AI powered features. We currently support
|
||||
models from OpenAI and Anthropic either proxied through the GitButler API, or in a bring
|
||||
your own key configuration.
|
||||
GitButler supports multiple providers for its AI powered features. We currently support models
|
||||
from OpenAI and Anthropic either proxied through the GitButler API, or in a bring your own key
|
||||
configuration.
|
||||
</p>
|
||||
|
||||
{#if !$user}
|
||||
<InfoMessage>
|
||||
<svelte:fragment slot="title"
|
||||
>You must be logged in to use the GitButler API</svelte:fragment
|
||||
>
|
||||
<svelte:fragment slot="title">You must be logged in to use the GitButler API</svelte:fragment>
|
||||
</InfoMessage>
|
||||
{/if}
|
||||
|
||||
@ -189,12 +187,7 @@
|
||||
{/if}
|
||||
|
||||
{#if openAIKeyOption === KeyOption.BringYourOwn}
|
||||
<TextBox
|
||||
label="API Key"
|
||||
bind:value={openAIKey}
|
||||
required
|
||||
placeholder="sk-..."
|
||||
/>
|
||||
<TextBox label="API Key" bind:value={openAIKey} required placeholder="sk-..." />
|
||||
|
||||
<Select
|
||||
items={openAIModelOptions}
|
||||
@ -208,9 +201,7 @@
|
||||
</SelectItem>
|
||||
</Select>
|
||||
{:else if !$user}
|
||||
<WelcomeSigninAction
|
||||
prompt="A user is required to make use of the GitButler API"
|
||||
/>
|
||||
<WelcomeSigninAction prompt="A user is required to make use of the GitButler API" />
|
||||
{/if}
|
||||
</div>
|
||||
</SectionCard>
|
||||
@ -277,9 +268,7 @@
|
||||
</SelectItem>
|
||||
</Select>
|
||||
{:else if !$user}
|
||||
<WelcomeSigninAction
|
||||
prompt="A user is required to make use of the GitButler API"
|
||||
/>
|
||||
<WelcomeSigninAction prompt="A user is required to make use of the GitButler API" />
|
||||
{/if}
|
||||
</div>
|
||||
</SectionCard>
|
||||
@ -339,8 +328,8 @@
|
||||
<Section>
|
||||
<svelte:fragment slot="title">Custom AI prompts</svelte:fragment>
|
||||
<svelte:fragment slot="description">
|
||||
GitButler's AI assistant generates commit messages and branch names. Use default prompts
|
||||
or create your own. Assign prompts in the <button
|
||||
GitButler's AI assistant generates commit messages and branch names. Use default prompts or
|
||||
create your own. Assign prompts in the <button
|
||||
class="link"
|
||||
on:click={() => console.log('got to project settings')}>project settings</button
|
||||
>.
|
||||
|
Loading…
Reference in New Issue
Block a user