mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-01 12:26:02 +03:00
Introduce comments to clarify context of component usage
This commit is contained in:
parent
f9ca7374e8
commit
1645073d92
@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
// This is always displayed in the context of not having a cooresponding vbranch or remote
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import Link from '$lib/components/Link.svelte';
|
||||
import Tag from '$lib/components/Tag.svelte';
|
||||
|
@ -1,4 +1,9 @@
|
||||
<script lang="ts">
|
||||
// This page is displayed when:
|
||||
// - A pr is found
|
||||
// - And it does NOT have a cooresponding vbranch
|
||||
// - And it does NOT have a cooresponding remote
|
||||
// It may also display details about a cooresponding pr if they exist
|
||||
import FullviewLoading from '$lib/components/FullviewLoading.svelte';
|
||||
import PullRequestPreview from '$lib/components/PullRequestPreview.svelte';
|
||||
import { GitHubService } from '$lib/github/service';
|
||||
|
@ -1,4 +1,8 @@
|
||||
<script lang="ts">
|
||||
// This page is displayed when:
|
||||
// - A remote branch is found
|
||||
// - And it does NOT have a cooresponding vbranch
|
||||
// It may also display details about a cooresponding pr if they exist
|
||||
import FullviewLoading from '$lib/components/FullviewLoading.svelte';
|
||||
import RemoteBranchPreview from '$lib/components/RemoteBranchPreview.svelte';
|
||||
import { GitHubService } from '$lib/github/service';
|
||||
|
@ -1,4 +1,7 @@
|
||||
<script lang="ts">
|
||||
// This page is displayed when:
|
||||
// - A vbranch is found
|
||||
// It may also display details about a cooresponding remote and/or pr if they exist
|
||||
import BranchLane from '$lib/components//BranchLane.svelte';
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import FullviewLoading from '$lib/components/FullviewLoading.svelte';
|
||||
|
Loading…
Reference in New Issue
Block a user