formatting

This commit is contained in:
Scott Chacon 2024-06-05 13:04:23 +02:00
parent 82edcab1a6
commit ecff9e5b3a
No known key found for this signature in database
2 changed files with 13 additions and 24 deletions

View File

@ -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

View File

@ -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
>.