Skip to content

Commit bc0b8df

Browse files
Tim020claude
andcommitted
Upgrade bootstrap-vue-next to 1.0.1 in client-v3
Jumps straight to the first stable 1.x release rather than the 0.46.x dependabot bump, since resolver config, plugin registration, and peer deps are all unchanged in this range. The one real breaking change is BFormCheckbox's unchecked-value default flipping from false to undefined (landed in 0.46.0) - restored the old behavior explicitly on all 14 affected checkboxes across 7 files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 0a3a5f5 commit bc0b8df

9 files changed

Lines changed: 89 additions & 15 deletions

File tree

client-v3/package-lock.json

Lines changed: 59 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@vuelidate/core": "^2.0.3",
3535
"@vuelidate/validators": "^2.0.4",
3636
"bootstrap": "^5.3.8",
37-
"bootstrap-vue-next": "^0.45.7",
37+
"bootstrap-vue-next": "^1.0.1",
3838
"bootswatch": "^5.3.8",
3939
"contrast-color": "1.0.1",
4040
"core-js": "^3.50.0",

client-v3/src/components/config/ConfigLogs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</BFormGroup>
4949

5050
<BFormGroup label="Live:" label-cols="auto" class="mb-0">
51-
<BFormCheckbox v-model="liveRefresh" switch />
51+
<BFormCheckbox v-model="liveRefresh" :unchecked-value="false" switch />
5252
</BFormGroup>
5353

5454
<BButton :disabled="loading || liveRefresh" size="sm" variant="secondary" @click="fetchLogs">

client-v3/src/components/config/ConfigSettings.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
v-model="editSettings[String(key)]"
7676
:name="`${key}-input`"
7777
:disabled="!setting.can_edit"
78+
:unchecked-value="false"
7879
switch
7980
/>
8081
</BFormGroup>

client-v3/src/components/config/ConfigUsers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
>
8888
<BForm v-if="editFormState">
8989
<BFormGroup label="User Type">
90-
<BFormCheckbox v-model="editFormState.is_admin" switch>
90+
<BFormCheckbox v-model="editFormState.is_admin" :unchecked-value="false" switch>
9191
{{ editFormState.is_admin ? 'Admin' : 'Standard User' }}
9292
</BFormCheckbox>
9393
</BFormGroup>

client-v3/src/components/show/config/acts_and_scenes/ConfigActs.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@
7373
<BFormInvalidFeedback>This is a required field.</BFormInvalidFeedback>
7474
</BFormGroup>
7575
<BFormGroup label="Interval After" label-for="new-interval-input" label-cols="4">
76-
<BFormCheckbox id="new-interval-input" v-model="newFormState.interval_after" />
76+
<BFormCheckbox
77+
id="new-interval-input"
78+
v-model="newFormState.interval_after"
79+
:unchecked-value="false"
80+
/>
7781
</BFormGroup>
7882
<BFormGroup label="Previous Act" label-for="new-previous-act-input" label-cols="4">
7983
<BFormSelect
@@ -104,7 +108,11 @@
104108
<BFormInvalidFeedback>This is a required field.</BFormInvalidFeedback>
105109
</BFormGroup>
106110
<BFormGroup label="Interval After" label-for="edit-interval-input" label-cols="4">
107-
<BFormCheckbox id="edit-interval-input" v-model="editFormState.interval_after" />
111+
<BFormCheckbox
112+
id="edit-interval-input"
113+
v-model="editFormState.interval_after"
114+
:unchecked-value="false"
115+
/>
108116
</BFormGroup>
109117
<BFormGroup label="Previous Act" label-for="edit-previous-act-input" label-cols="4">
110118
<BFormSelect

client-v3/src/components/user/settings/StageDirectionStyles.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
/>
4747
</BFormGroup>
4848
<BFormGroup label="Text Colour" label-for="default-text-colour-input">
49-
<BFormCheckbox v-model="defaultFormState.enableTextColour" switch class="mb-1">
49+
<BFormCheckbox
50+
v-model="defaultFormState.enableTextColour"
51+
:unchecked-value="false"
52+
switch
53+
class="mb-1"
54+
>
5055
Override text colour
5156
</BFormCheckbox>
5257
<BFormInput
@@ -195,6 +200,7 @@
195200
<BFormCheckbox
196201
id="new-background-colour-enable"
197202
v-model="newStyleFormState.enableBackgroundColour"
203+
:unchecked-value="false"
198204
switch
199205
/>
200206
</BFormGroup>
@@ -270,6 +276,7 @@
270276
<BFormCheckbox
271277
id="edit-background-colour-enable"
272278
v-model="editStyleFormState.enableBackgroundColour"
279+
:unchecked-value="false"
273280
switch
274281
/>
275282
</BFormGroup>

client-v3/src/components/user/settings/UserSettingsConfig.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
id="enable-autosave-input"
1414
v-model="state.enable_script_auto_save"
1515
name="enable-autosave-input"
16+
:unchecked-value="false"
1617
switch
1718
/>
1819
</BFormGroup>
@@ -43,6 +44,7 @@
4344
id="cue-position-input"
4445
v-model="state.cue_position_right"
4546
name="cue-position-input"
47+
:unchecked-value="false"
4648
switch
4749
/>
4850
</BFormGroup>
@@ -90,6 +92,7 @@
9092
id="character-mru-sort-input"
9193
v-model="state.character_mru_sort"
9294
name="character-mru-sort-input"
95+
:unchecked-value="false"
9396
switch
9497
/>
9598
</BFormGroup>
@@ -103,6 +106,7 @@
103106
id="character-combined-dropdown-input"
104107
v-model="state.character_combined_dropdown"
105108
name="character-combined-dropdown-input"
109+
:unchecked-value="false"
106110
switch
107111
/>
108112
</BFormGroup>
@@ -116,6 +120,7 @@
116120
id="show-current-cue-footer-input"
117121
v-model="state.show_current_cue_footer"
118122
name="show-current-cue-footer-input"
123+
:unchecked-value="false"
119124
switch
120125
/>
121126
</BFormGroup>

client-v3/src/views/electron/ServerSelector.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@
248248
</BFormGroup>
249249

250250
<BFormGroup>
251-
<BFormCheckbox v-model="manualForm.sslEnabled">Use SSL (HTTPS)</BFormCheckbox>
251+
<BFormCheckbox v-model="manualForm.sslEnabled" :unchecked-value="false"
252+
>Use SSL (HTTPS)</BFormCheckbox
253+
>
252254
</BFormGroup>
253255

254256
<BButton

0 commit comments

Comments
 (0)