mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Remove External List option from Section Editor until KefinTweaks backend plugin is made
This commit is contained in:
1 parent
1b77c6f0f7
commit
b1bf068e05
4 files changed
+5
-31
No files matched your search
@@ -2082,13 +2082,6 @@
|
||||
${buildSelect('home-maxPeopleCount', maxPeopleOptions, String(maxPeopleCount), 'Maximum Person Count')}
|
||||
</div>
|
||||
</div>
|
||||
<div class="hsc-settings-group" style="${settingsGroupStyle}">
|
||||
<div class="listItemBodyText" style="font-weight: 500; font-size: 1.1em;">External Integrations</div>
|
||||
<div class="listItemBodyText secondary" style="font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.75em;">
|
||||
Enter your personal API keys for the services below to enable support for home sections based on external lists.
|
||||
</div>
|
||||
${buildTextInput('libraryCache-mdblistApiKey', libraryCache.mdblistApiKey || '', 'MDBList API Key', 'password', 'Required for External List sections')}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
@@ -1624,15 +1624,6 @@
|
||||
<div class="listItemBodyText secondary hsae-source-desc">${escapeHtml(CUSTOM_SOURCE_DESC)}</div>
|
||||
</div>
|
||||
</button>
|
||||
<button type="button" class="hsae-source-card${itemSource === 'external' ? ' hsae-active' : ''}" data-hsae-action="set-item-source" data-item-source="external">
|
||||
<div class="hsae-source-card-text">
|
||||
<div class="listItemBodyText hsae-source-title">
|
||||
<span class="material-icons hsae-source-icon">link</span>
|
||||
External List
|
||||
</div>
|
||||
<div class="listItemBodyText secondary hsae-source-desc">Match an MDBList (or compatible) URL against your Jellyfin library by provider IDs</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
`;
|
||||
@@ -3138,6 +3129,10 @@
|
||||
|
||||
const toggleBtn = e.target.closest('.toggle-slider, .kefin-toggle-switch');
|
||||
if (toggleBtn && root.contains(toggleBtn)) {
|
||||
// Already wired by bindToggleCards — avoid double-flip (Spotlight toggles looked stuck)
|
||||
if (toggleBtn.classList.contains('kefin-toggle-switch') && toggleBtn.dataset.kefinToggleBound === 'true') {
|
||||
return;
|
||||
}
|
||||
const checkboxId = toggleBtn.dataset.checkboxId;
|
||||
if (!checkboxId) return;
|
||||
e.preventDefault();
|
||||
|
||||
@@ -1930,13 +1930,6 @@
|
||||
<div class="listItemBodyText secondary hsse-type-desc">${escapeHtml(CUSTOM_TYPE.description)}</div>
|
||||
</div>
|
||||
</button>
|
||||
<button type="button" class="hsse-type-card hsse-type-card-span${wizardState.parentType === 'External' ? ' hsse-active' : ''}" data-hsse-action="wizard-select-type" data-type="External">
|
||||
${renderMaterialIcon(EXTERNAL_TYPE.icon, 'hsse-type-icon')}
|
||||
<div>
|
||||
<div class="listItemBodyText hsse-type-label">${escapeHtml(EXTERNAL_TYPE.label)}</div>
|
||||
<div class="listItemBodyText secondary hsse-type-desc">${escapeHtml(EXTERNAL_TYPE.description)}</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user