Skip to content

Commit e53350b

Browse files
committed
Fix spelling errors
Signed-off-by: Mark Yen <mark.yen@suse.com>
1 parent f8278de commit e53350b

9 files changed

Lines changed: 117 additions & 95 deletions

File tree

.github/actions/spelling/expect.txt

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ alibaba
1717
aliyun
1818
aliyunecs
1919
aliyunkubernetescontainerservice
20+
allcols
2021
allusers
2122
alpl
2223
alpline
2324
alsa
25+
altgraph
2426
amazonec
2527
amazoneks
2628
ANamespace
@@ -41,6 +43,10 @@ AProject
4143
ARPNOMODIFY
4244
ARPPRODUCTICON
4345
ARPURLINFOABOUT
46+
arrowdown
47+
arrowleft
48+
arrowright
49+
arrowup
4450
asar
4551
assumeyes
4652
atk
@@ -80,6 +86,7 @@ bosco
8086
bottlesofbeeronthewall
8187
bpf
8288
bpffs
89+
browserhome
8390
brucebean
8491
bsd
8592
bsdextrautils
@@ -99,6 +106,7 @@ Buttondrop
99106
cacerts
100107
camelpunch
101108
CAPI
109+
capslock
102110
caroot
103111
catalogtemplate
104112
cbr
@@ -114,6 +122,7 @@ chirico
114122
cidata
115123
cidfile
116124
Cim
125+
clickable
117126
clientcmd
118127
clientset
119128
clonefile
@@ -196,6 +205,7 @@ DETECTEXCEPTIONS
196205
developercertificate
197206
dfile
198207
dhclient
208+
didinit
199209
diffdisk
200210
digitalocean
201211
dirents
@@ -249,6 +259,7 @@ errgroup
249259
Errorln
250260
Errorw
251261
errwrap
262+
escapehtml
252263
estargz
253264
ESXi
254265
etcdbackup
@@ -275,8 +286,8 @@ fdx
275286
featurename
276287
FEEEFEEE
277288
femto
278-
Fflags
279289
ffi
290+
Fflags
280291
ficlone
281292
filekey
282293
filestat
@@ -359,6 +370,7 @@ hwnd
359370
hyperv
360371
iana
361372
icns
373+
ics
362374
Idempotently
363375
identitytoken
364376
ies
@@ -385,6 +397,7 @@ ipaddr
385397
iptable
386398
iputils
387399
Isf
400+
islabel
388401
isthebestmeshuggahalbum
389402
istio
390403
istiod
@@ -501,6 +514,7 @@ marshel
501514
maxdepth
502515
mcapps
503516
mcnulty
517+
mediaselect
504518
messageformat
505519
metainfo
506520
metricsection
@@ -586,6 +600,7 @@ NSISUNINSTALLCOMMAND
586600
nspr
587601
nss
588602
nullglob
603+
numlock
589604
nuxt
590605
nxt
591606
oapi
@@ -614,8 +629,10 @@ osx
614629
osxkeychain
615630
otccce
616631
overlayfs
632+
pagedown
617633
pageload
618634
pagerduty
635+
pageup
619636
pango
620637
parsesection
621638
pascalize
@@ -629,8 +646,8 @@ persistentvolumeclaim
629646
PFlags
630647
pgid
631648
pgrep
632-
pidfile
633649
pidfd
650+
pidfile
634651
pidof
635652
pids
636653
PII
@@ -644,10 +661,10 @@ pkill
644661
plists
645662
plusplus
646663
plutil
647-
POLLIN
648664
podmetrics
649665
podmonitor
650666
podsecuritypolicytemplate
667+
POLLIN
651668
poppins
652669
POptions
653670
portbinding
@@ -760,14 +777,15 @@ screenshots
760777
scriptdir
761778
scriptname
762779
scriptpath
780+
scrolllock
763781
sddl
764782
secretservice
765783
Segoe
766784
serveraddress
767785
servernum
768786
serviceaccount
769-
servicemonitor
770787
serviceapi
788+
servicemonitor
771789
servicewatcher
772790
setfattr
773791
setproxy
@@ -791,6 +809,7 @@ skopeo
791809
sku
792810
SLAs
793811
SLIRP
812+
slo
794813
SLSA
795814
smanager
796815
smokris
@@ -856,6 +875,7 @@ tmpconfig
856875
tmpfs
857876
tmppath
858877
tmutil
878+
toggleable
859879
togglefullscreen
860880
tonistiigi
861881
Toolset
@@ -896,6 +916,7 @@ vcenter
896916
vcpus
897917
vcs
898918
vde
919+
VDropdown
899920
ventura
900921
VERSIONSTRING
901922
vertificate
@@ -976,6 +997,7 @@ yac
976997
yamlfmt
977998
yarker
978999
Yehuda
1000+
youmightnotneedjquery
9791001
YPUy
9801002
YSW
9811003
Yubi

pkg/rancher-desktop/components/SortableTable/THead.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102
// check if user clicked outside the table cols options box
103103
window.addEventListener('click', this.onClickOutside);
104104
105-
// update filtering options and toggable cols every time dropdown is open
105+
// update filtering options and toggleable cols every time dropdown is open
106106
this.$emit('update-cols-options');
107107
} else {
108108
// unregister click event

pkg/rancher-desktop/components/SortableTable/advanced-filtering.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
default: false
2929
},
3030
/**
31-
* Flag that controls visibility of labels as possibe toggable cols to be displayed on the Sortable Table
31+
* Flag that controls visibility of labels as possible toggleable cols to be displayed on the Sortable Table
3232
*/
3333
advFilterHideLabelsAsCols: {
3434
type: Boolean,
@@ -72,7 +72,7 @@ export default {
7272
// check if user clicked outside the advanced filter box
7373
window.addEventListener('click', this.onClickOutside);
7474

75-
// update filtering options and toggable cols every time dropdown is open
75+
// update filtering options and toggleable cols every time dropdown is open
7676
this.updateColsOptions();
7777
} else {
7878
// unregister click event
@@ -97,7 +97,7 @@ export default {
9797
},
9898

9999
methods: {
100-
handleColsVisibilyAndFiltering(cols) {
100+
handleColsVisibilityAndFiltering(cols) {
101101
const allCols = cols;
102102

103103
this.columnOptions.forEach((advCol) => {

pkg/rancher-desktop/components/SortableTable/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// =========================================================================================
44
// Debug helper
5-
// Adds a bunch of watches to help dignose computed properties bring re-evaluated
5+
// Adds a bunch of watches to help diagnose computed properties bring re-evaluated
66
// =========================================================================================
77

88
export default {

pkg/rancher-desktop/components/SortableTable/index.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export default {
314314
default: false
315315
},
316316
/**
317-
* Manaul force the update of live and delayed cells. Change this number to kick off the update
317+
* Manually force the update of live and delayed cells. Change this number to kick off the update
318318
*/
319319
forceUpdateLiveAndDelayed: {
320320
type: Number,
@@ -472,7 +472,7 @@ export default {
472472
if (neu) {
473473
this._altLoadingDelayTimer = setTimeout(() => {
474474
this.isLoading = true;
475-
}, 200); // this should be higher than the targetted quick response
475+
}, 200); // this should be higher than the targeted quick response
476476
} else {
477477
clearTimeout(this._altLoadingDelayTimer);
478478
this.isLoading = false;
@@ -579,7 +579,7 @@ export default {
579579
580580
// handle cols visibility and filtering if there is advanced filtering
581581
if (this.hasAdvancedFiltering) {
582-
const cols = this.handleColsVisibilyAndFiltering(out);
582+
const cols = this.handleColsVisibilityAndFiltering(out);
583583
584584
return cols;
585585
}
@@ -619,12 +619,12 @@ export default {
619619
},
620620
621621
hasDelayedColumns() {
622-
const delaeydColumns = this.columns.find((c) => c.delayLoading);
622+
const delayedColumns = this.columns.find((c) => c.delayLoading);
623623
624-
return !!delaeydColumns;
624+
return !!delayedColumns;
625625
},
626626
627-
columnFormmatterIDs() {
627+
columnFormatterIDs() {
628628
const columnsIds = {};
629629
630630
this.columns.forEach((c) => {
@@ -640,7 +640,7 @@ export default {
640640
// ensures we only call methods like `valueFor` once
641641
displayRows() {
642642
const rows = [];
643-
const columnFormmatterIDs = this.columnFormmatterIDs;
643+
const columnFormatterIDs = this.columnFormatterIDs;
644644
645645
this.groupedRows.forEach((grp) => {
646646
const group = {
@@ -697,7 +697,7 @@ export default {
697697
delayed: c.delayLoading,
698698
live: c.formatter?.startsWith('Live') || c.liveUpdates,
699699
label: this.labelFor(c),
700-
dasherize: columnFormmatterIDs[c.formatter] || '',
700+
dasherize: columnFormatterIDs[c.formatter] || '',
701701
});
702702
});
703703
});
@@ -958,7 +958,7 @@ export default {
958958
handleActionButtonClick(i, event) {
959959
// Each row in the table gets its own ref with
960960
// a number based on its index. If you are using
961-
// an ActionMenu that doen't have a dependency on Vuex,
961+
// an ActionMenu that doesn't have a dependency on Vuex,
962962
// these refs are useful because you can reuse the
963963
// same ActionMenu component on a page with many different
964964
// target elements in a list,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Its quicker to render if we directly supply the components for the formatters
2-
// rather than just the name of a global component - so create a map of the formatter comoponents
2+
// rather than just the name of a global component - so create a map of the formatter components
33
// NOTE: This is populated by a plugin (formatters.js) to avoid issues with plugins
44
export const FORMATTERS = {};

pkg/rancher-desktop/components/SortableTable/sorting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { uniq } from '@pkg/utils/array';
44
/**
55
* Always sort by something, this is the best guess on properties
66
*
7-
* Can be overriden
7+
* Can be overridden
88
*/
99
const DEFAULT_MANDATORY_SORT = ['nameSort', 'id'];
1010

pkg/rancher-desktop/plugins/shortkey.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ const bindValue = (value, el, binding, vnode) => {
2525
const avoid = binding.modifiers.avoid === true;
2626
const focus = !binding.modifiers.focus === true;
2727
const once = binding.modifiers.once === true;
28-
const propagte = binding.modifiers.propagte === true;
28+
const propagate = binding.modifiers.propagate === true;
2929

3030
if (avoid) {
31-
objAvoided = objAvoided.filter((itm) => {
32-
return !itm === el;
31+
objAvoided = objAvoided.filter((item) => {
32+
return !item === el;
3333
});
3434
objAvoided.push(el);
3535
} else {
3636
mappingFunctions({
37-
b: value, push, once, focus, propagte, el: vnode.el,
37+
b: value, push, once, focus, propagate, el: vnode.el,
3838
});
3939
}
4040
};
@@ -194,7 +194,7 @@ const dispatchShortkeyEvent = (pKey) => {
194194
}
195195
const elm = mapFunctions[pKey].el;
196196

197-
if (!mapFunctions[pKey].propagte) {
197+
if (!mapFunctions[pKey].propagate) {
198198
elm[elm.length - 1].dispatchEvent(e);
199199
} else {
200200
elm.forEach(elmItem => elmItem.dispatchEvent(e));
@@ -214,7 +214,7 @@ if (process && process.env && process.env.NODE_ENV !== 'test') {
214214

215215
// Check avoidable elements
216216
if (availableElement(decodedKey)) {
217-
if (!mapFunctions[decodedKey].propagte) {
217+
if (!mapFunctions[decodedKey].propagate) {
218218
pKey.preventDefault();
219219
pKey.stopPropagation();
220220
}
@@ -234,7 +234,7 @@ if (process && process.env && process.env.NODE_ENV !== 'test') {
234234
const decodedKey = ShortKey.decodeKey(pKey);
235235

236236
if (availableElement(decodedKey)) {
237-
if (!mapFunctions[decodedKey].propagte) {
237+
if (!mapFunctions[decodedKey].propagate) {
238238
pKey.preventDefault();
239239
pKey.stopPropagation();
240240
}
@@ -248,20 +248,20 @@ if (process && process.env && process.env.NODE_ENV !== 'test') {
248248
}
249249

250250
const mappingFunctions = ({
251-
b, push, once, focus, propagte, el,
251+
b, push, once, focus, propagate, el,
252252
}) => {
253253
for (const key in b) {
254254
const k = ShortKey.encodeKey(b[key]);
255255
const elm = mapFunctions[k] && mapFunctions[k].el ? mapFunctions[k].el : [];
256-
const propagated = mapFunctions[k] && mapFunctions[k].propagte;
256+
const propagated = mapFunctions[k] && mapFunctions[k].propagate;
257257

258258
elm.push(el);
259259
mapFunctions[k] = {
260260
push,
261261
once,
262262
focus,
263263
key,
264-
propagte: propagated || propagte,
264+
propagate: propagated || propagate,
265265
el: elm,
266266
};
267267
}

0 commit comments

Comments
 (0)