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:
@@ -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>
|
||||
`;
|
||||
}
|
||||
|
||||
+1
-8
@@ -394,13 +394,6 @@
|
||||
dependencies: ['moviesCache', 'seriesCache'],
|
||||
description: 'Library cache facade for KefinTweaks'
|
||||
},
|
||||
{
|
||||
name: 'externalList',
|
||||
script: 'externalList.js',
|
||||
css: null,
|
||||
dependencies: ['libraryCache', 'libraryCacheUtils', 'apiHelper'],
|
||||
description: 'MDBList external list matching for home sections'
|
||||
},
|
||||
{
|
||||
name: 'skinManager',
|
||||
script: 'skinManager.js',
|
||||
@@ -518,7 +511,7 @@
|
||||
name: 'homeScreen',
|
||||
script: 'homeScreen3.js',
|
||||
css: 'homeScreen.css',
|
||||
dependencies: ['cardBuilder', 'localStorageCache', 'utils', 'userHelper', 'homeScreenConfig2', 'homeScreen-configuration', 'peopleCache', 'studiosCache', 'moviesCache', 'seriesCache', 'libraryCache', 'libraryCacheUtils', 'externalList', 'indexedDBCache', 'homeScreenConfigCommunity', 'dataHelper', 'apiHelper', 'sectionHelper', 'homeScreen-migration', 'homeScreen-user-configuration', 'homeScreenSectionConfigure', 'homeScreenPin'],
|
||||
dependencies: ['cardBuilder', 'localStorageCache', 'utils', 'userHelper', 'homeScreenConfig2', 'homeScreen-configuration', 'peopleCache', 'studiosCache', 'moviesCache', 'seriesCache', 'libraryCache', 'libraryCacheUtils', 'indexedDBCache', 'homeScreenConfigCommunity', 'dataHelper', 'apiHelper', 'sectionHelper', 'homeScreen-migration', 'homeScreen-user-configuration', 'homeScreenSectionConfigure', 'homeScreenPin'],
|
||||
priority: true, // Load immediately after dependencies to reduce UI disruption
|
||||
description: 'Adds custom home screen sections'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user