@homebridge-plugins/homebridge-matter 0.1.1-beta.1 → 0.1.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -64,6 +64,14 @@
|
|
|
64
64
|
Support
|
|
65
65
|
</button>
|
|
66
66
|
</div>
|
|
67
|
+
<div
|
|
68
|
+
id="experimentalBanner"
|
|
69
|
+
class="alert alert-danger mb-0 mt-3 text-center"
|
|
70
|
+
role="alert"
|
|
71
|
+
style="display: none; border-left: 4px solid #dc3545;"
|
|
72
|
+
>
|
|
73
|
+
<strong>⚠️ Experimental:</strong> This plugin is still in development and should be considered experimental
|
|
74
|
+
</div>
|
|
67
75
|
<div
|
|
68
76
|
id="disabledBanner"
|
|
69
77
|
class="alert alert-secondary mb-0 mt-3"
|
|
@@ -190,6 +198,7 @@
|
|
|
190
198
|
homebridge.showSpinner()
|
|
191
199
|
document.getElementById('pageIntro').style.display = 'none'
|
|
192
200
|
document.getElementById('menuWrapper').style.display = 'inline-flex'
|
|
201
|
+
showExperimentalBanner()
|
|
193
202
|
showSettings()
|
|
194
203
|
homebridge.hideSpinner()
|
|
195
204
|
})
|
|
@@ -286,6 +295,9 @@
|
|
|
286
295
|
homebridge.showSchemaForm()
|
|
287
296
|
homebridge.hideSpinner()
|
|
288
297
|
}
|
|
298
|
+
showExperimentalBanner = () => {
|
|
299
|
+
document.getElementById('experimentalBanner').style.display = 'block'
|
|
300
|
+
}
|
|
289
301
|
showDisabledBanner = () => {
|
|
290
302
|
document.getElementById('disabledBanner').style.display = 'block'
|
|
291
303
|
}
|
|
@@ -303,6 +315,7 @@
|
|
|
303
315
|
disabledEnable.addEventListener('click', () => enablePlugin())
|
|
304
316
|
if (currentConfig.length) {
|
|
305
317
|
document.getElementById('menuWrapper').style.display = 'inline-flex'
|
|
318
|
+
showExperimentalBanner()
|
|
306
319
|
showSettings()
|
|
307
320
|
if (currentConfig[0].disablePlugin) {
|
|
308
321
|
showDisabledBanner()
|
package/package.json
CHANGED