Skip to content

Commit d7511ce

Browse files
chore: fix spelling & grammar (#2651)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2d613b2 commit d7511ce

33 files changed

Lines changed: 49 additions & 50 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
branches:
1313
- main
1414

15-
# cancel in-progress runs on new commits to same PR (gitub.event.number)
15+
# cancel in-progress runs on new commits to same PR (github.event.number)
1616
concurrency:
1717
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
1818
cancel-in-progress: true

.storybook/.public/mockServiceWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async function handleRequest(event, requestId, requestInterceptedAt) {
123123
const response = await getResponse(event, client, requestId, requestInterceptedAt)
124124

125125
// Send back the response clone for the "response:*" life-cycle events.
126-
// Ensure MSW is active and ready to handle the message, otherwise
126+
// Ensure MSW is active and ready to handle the message; otherwise,
127127
// this message will pend indefinitely.
128128
if (client && activeClientIds.has(client.id)) {
129129
const serializedRequest = await serializeRequest(requestCloneForEvents)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ If you're working on admin features (org management, package access controls, op
232232
pnpm mock-connector
233233
```
234234

235-
This starts a mock connector server pre-populated with sample data (orgs, teams, members, packages). No npm login is required &mdash; operations succeed immediately without making real npm CLI calls.
235+
This starts a mock connector server prepopulated with sample data (orgs, teams, members, packages). No npm login is required &mdash; operations succeed immediately without making real npm CLI calls.
236236

237237
The mock connector prints a connection URL to the terminal, just like the real connector. Click it (or paste the token manually) to connect the UI.
238238

@@ -242,7 +242,7 @@ The mock connector prints a connection URL to the terminal, just like the real c
242242
pnpm mock-connector # default: port 31415, user "mock-user", sample data
243243
pnpm mock-connector --port 9999 # custom port
244244
pnpm mock-connector --user alice # custom username
245-
pnpm mock-connector --empty # start with no pre-populated data
245+
pnpm mock-connector --empty # start with no prepopulated data
246246
```
247247

248248
**Default sample data:**

app/components/Chart/SplitSparkline.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const configs = computed(() => {
101101
? Array.from(new Set([...(unit.dashIndices ?? []), lastIndex]))
102102
: unit.dashIndices
103103
104-
// Ensure we loop through available palette colours when the series count is higher than the avalable palette
104+
// Ensure we loop through available palette colours when the series count is higher than the available palette
105105
const fallbackColor = palette[i] ?? palette[i % palette.length] ?? palette[0]!
106106
const seriesColor = unit.color ?? fallbackColor
107107
const lightenedSeriesColor: string = unit.color

app/components/Header/MobileMenu.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ onUnmounted(deactivate)
209209
<template v-for="(group, index) in links">
210210
<div
211211
v-if="group.type === 'separator'"
212-
:key="`seperator-${index}`"
212+
:key="`separator-${index}`"
213213
class="mx-4 my-2 border-t border-border"
214214
/>
215215

app/components/Noodle/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type Noodle = {
99
timezone?: string
1010
// Date for the noodle
1111
date?: string
12-
// Date to for the noodle
12+
// `Date to` for the noodle
1313
dateTo?: string
1414
// Logo for the noodle - could be any component. Relative parent - intro section
1515
logo: Component

app/components/Package/TrendsChart.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ function drawEstimationLine(svg: Record<string, any>) {
11901190
11911191
/**
11921192
* The following svg elements are injected in the #svg slot of VueUiXy:
1193-
* - a line overlay covering the plain path bewteen the last datapoint and its ancestor
1193+
* - a line overlay covering the plain path between the last datapoint and its ancestor
11941194
* - a dashed line connecting the last datapoint to its ancestor
11951195
* - a circle for the last datapoint
11961196
*/
@@ -1280,9 +1280,9 @@ function drawLastDatapointLabel(svg: Record<string, any>) {
12801280
12811281
/**
12821282
* Build and return a legend to be injected during the SVG export only, since the custom legend is
1283-
* displayed as an independant div, content has to be injected within the chart's viewBox.
1283+
* displayed as an independent div, content has to be injected within the chart's viewBox.
12841284
*
1285-
* Legend items are displayed in a column, on the top left of the chart.
1285+
* Legend items are displayed in a column, at the top left of the chart.
12861286
*/
12871287
function drawSvgPrintLegend(svg: Record<string, any>) {
12881288
const data = Array.isArray(svg?.data) ? svg.data : []
@@ -1416,7 +1416,7 @@ const chartConfig = computed<VueUiXyConfig>(() => {
14161416
svg: $t('package.trends.download_file', { fileType: 'SVG' }),
14171417
annotator: $t('package.trends.toggle_annotator'),
14181418
stack: $t('package.trends.toggle_stack_mode'),
1419-
altCopy: $t('package.trends.copy_alt.button_label'), // Do not make this text dependant on the `copied` variable, since this would re-render the component, which is undesirable if the minimap was used to select a time frame.
1419+
altCopy: $t('package.trends.copy_alt.button_label'), // Do not make this text dependent on the `copied` variable, since this would re-render the component, which is undesirable if the minimap was used to select a time frame.
14201420
open: $t('package.trends.open_options'),
14211421
close: $t('package.trends.close_options'),
14221422
},

app/components/Package/VersionDistribution.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const chartConfig = computed<VueUiXyConfig>(() => {
196196
img: $t('package.trends.download_file', { fileType: 'PNG' }),
197197
svg: $t('package.trends.download_file', { fileType: 'SVG' }),
198198
annotator: $t('package.trends.toggle_annotator'),
199-
altCopy: $t('package.trends.copy_alt.button_label'), // Do not make this text dependant on the `copied` variable, since this would re-render the component, which is undesirable if the minimap was used to select a time frame.
199+
altCopy: $t('package.trends.copy_alt.button_label'), // Do not make this text dependent on the `copied` variable, since this would re-render the component, which is undesirable if the minimap was used to select a time frame.
200200
open: $t('package.trends.open_options'),
201201
close: $t('package.trends.close_options'),
202202
},

app/components/PaginationControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const pageSizeSelectValue = computed(() => String(pageSize.value))
1717
// Whether we should show pagination controls (table view always uses pagination)
1818
const shouldShowControls = computed(() => props.viewMode === 'table' || mode.value === 'paginated')
1919
20-
// Table view forces pagination mode, otherwise use the provided mode
20+
// Table view forces pagination mode; otherwise, use the provided mode
2121
const effectiveMode = computed<PaginationMode>(() =>
2222
shouldShowControls.value ? 'paginated' : 'infinite',
2323
)

app/components/User/Avatar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const { data: gravatarUrl } = useLazyFetch(
5959
:height="sizePixels"
6060
class="w-full h-full object-cover"
6161
/>
62-
<!-- Else fallback to initials (use svg to avoid underline styling) -->
62+
<!-- Else fall back to initials (use svg to avoid underline styling) -->
6363
<svg
6464
v-else
6565
xmlns="http://www.w3.org/2000/svg"

0 commit comments

Comments
 (0)