Skip to content

Commit 40c3ef6

Browse files
CopilotByron
andcommitted
Fix spelling and grammatical errors across repository
Co-authored-by: Byron <63622+Byron@users.noreply.github.com>
1 parent 2d0eed2 commit 40c3ef6

File tree

184 files changed

+432
-432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+432
-432
lines changed

apps/desktop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Execute the following command on your terminal \
1818
cargo run -p but-server
1919
```
2020

21-
This shoud start the server on th default port 6978
21+
This should start the server on th default port 6978
2222

2323
#### 2. Run the FE dev server
2424

apps/desktop/cypress/e2e/branches.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ describe('Branches', () => {
168168
cy.getByTestId('delete-local-branch-confirmation-modal').should('not.exist');
169169
});
170170

171-
it('should be able to preivew multiple branches', () => {
171+
it('should be able to preview multiple branches', () => {
172172
// Should be able to navigate the different branches
173173
for (const branch of mockBackend.branchListings) {
174174
cy.getByTestId('branch-list-card', branch.name).first().should('be.visible').click();

apps/desktop/cypress/e2e/errorHandling.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe('Error handling - commit actions', () => {
146146
expect(mockBackend.getDiff).to.have.callCount(0);
147147
});
148148

149-
it('Fully failing to commit with rejection reasons shuold be handled graceful', () => {
149+
it('Fully failing to commit with rejection reasons should be handled graceful', () => {
150150
mockCommand('create_commit_from_worktree_changes', () =>
151151
mockBackend.commitFailureWithReasons(null)
152152
);
@@ -208,7 +208,7 @@ describe('Error handling - commit actions', () => {
208208
cy.getByTestId('commit-drawer-description-input').should('contain', newCommitMessageBody);
209209
});
210210

211-
it('Partially failing to commit with rejection reasons shuold be handled graceful', () => {
211+
it('Partially failing to commit with rejection reasons should be handled graceful', () => {
212212
const newCommitId = '29384726398746289374';
213213
mockCommand('create_commit_from_worktree_changes', () =>
214214
mockBackend.commitFailureWithReasons(newCommitId)

apps/desktop/cypress/e2e/selection.cy.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('Selection', () => {
3232
cy.getByTestId('branch-header').should('contain', mockBackend.stackId);
3333

3434
const stacks = mockBackend.getStacks();
35-
// There shuold be three stacks
35+
// There should be three stacks
3636
cy.getByTestId('stack').should('have.length', stacks.length);
3737

3838
// Select the second stack
@@ -45,7 +45,7 @@ describe('Selection', () => {
4545
cy.getByTestIdByValue('branch-header', stackName)
4646
.click()
4747
.within(() => {
48-
// Shouls have the stack url
48+
// Should have the stack url
4949
cy.urlMatches(`/${PROJECT_ID}/workspace`);
5050
});
5151
// Check if the file list is updated
@@ -68,7 +68,7 @@ describe('Selection', () => {
6868

6969
const stacks = mockBackend.getStacks();
7070
const stack = stacks[0]!;
71-
// There shuold be three stacks
71+
// There should be three stacks
7272
cy.getByTestId('stack').should('have.length', stacks.length);
7373

7474
// Select the initial commit which should be local only
@@ -92,7 +92,7 @@ describe('Selection', () => {
9292
cy.getByTestId('branch-header').should('contain', mockBackend.stackWithTwoCommits);
9393

9494
const stacks = mockBackend.getStacks();
95-
// There shuold be three stacks
95+
// There should be three stacks
9696
cy.getByTestId('stack').should('have.length', stacks.length);
9797

9898
cy.getByTestIdByValue('stack', mockBackend.stackWithTwoCommits)
@@ -153,7 +153,7 @@ describe('Selection', () => {
153153
cy.getByTestId('branch-header').should('contain', mockBackend.stackWithTwoCommits);
154154

155155
const stacks = mockBackend.getStacks();
156-
// There shuold be three stacks
156+
// There should be three stacks
157157
cy.getByTestId('stack').should('have.length', stacks.length);
158158

159159
cy.getByTestIdByValue('stack', mockBackend.stackWithTwoCommits)
@@ -239,7 +239,7 @@ describe('Selection with upstream changes', () => {
239239
cy.getByTestId('branch-header').should('contain', mockBackend.stackId);
240240

241241
const stacks = mockBackend.getStacks();
242-
// There shuold be three stacks
242+
// There should be three stacks
243243
cy.getByTestId('stack').should('have.length', stacks.length);
244244

245245
// Select the initial commit which should be local only

apps/desktop/cypress/e2e/unifiedDiffView.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ describe('Unified Diff View with complex hunks', () => {
348348
// Click on start a commit
349349
cy.getByTestId('start-commit-button').first().click();
350350

351-
// Unstage everything expet the long hunk file
351+
// Unstage everything expect the long hunk file
352352
cy.getByTestId('uncommitted-changes-file-list').within(() => {
353353
cy.getByTestId('file-list-item').each((item) => {
354354
const fileName = item.text().trim();

apps/desktop/cypress/e2e/workspace.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('Workspace', () => {
99
});
1010

1111
it('Should be redirected to the workspace', () => {
12-
// This is basically jsut a smoke test to check that the workspace is loaded
12+
// This is basically just a smoke test to check that the workspace is loaded
1313
cy.visit('/');
1414

1515
// Should be redirected to the workspac

apps/desktop/src/components/BranchHeader.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
class="branch-header"
129129
class:selected
130130
class:active
131-
class:commiting={isCommitting}
131+
class:committing={isCommitting}
132132
{onclick}
133133
onkeypress={onclick}
134134
tabindex="0"

apps/desktop/src/components/ChunkyList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script lang="ts" generics="T">
66
/**
77
* Lazily renders a list of many many items. This is intended to be used
8-
* in contexts where simply rendering the quanity of items causes the DOM
8+
* in contexts where simply rendering the quantity of items causes the DOM
99
* to have poor performance, rather than computing the initial list being
1010
* the blocker.
1111
*/

apps/desktop/src/components/CommitLineOverlay.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
interface Props {
55
hovered: boolean;
66
activated: boolean;
7-
advertize?: boolean;
7+
advertise?: boolean;
88
}
99
10-
const { hovered, activated, advertize }: Props = $props();
10+
const { hovered, activated, advertise }: Props = $props();
1111
1212
let containerElement = $state<HTMLDivElement>();
1313
let indicatorElement = $state<HTMLDivElement>();
@@ -46,7 +46,7 @@
4646
bind:this={containerElement}
4747
class="dropzone-target container"
4848
class:activated
49-
class:advertize
49+
class:advertise
5050
class:hovered
5151
>
5252
<div bind:this={indicatorElement} class="indicator-placeholder"></div>
@@ -56,7 +56,7 @@
5656
<div
5757
class="indicator-portal"
5858
class:hovered
59-
class:advertize
59+
class:advertise
6060
use:portal={stackViewElement}
6161
style:top="{indicatorRect.top}px"
6262
style:left="{indicatorRect.left}px"

apps/desktop/src/components/DraftBranchHeader.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
data-testid={TestId.BranchHeader}
3434
data-testid-branch-header={branchName}
3535
class="branch-header"
36-
class:commiting={isCommitting}
36+
class:committing={isCommitting}
3737
data-remove-from-panning
3838
>
3939
<div class="branch-header__content">

0 commit comments

Comments
 (0)