mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-07-02 23:41:16 -03:00
fix(ui): unify HF file selection UI, remove cloud icon, add select-all, cleanup dead code (#965, #977)
- Unify single-URL and multi-URL HF repo flows to use the same batch preview interface (remove separate repoFileStep) - Remove unnecessary cloud icon from HF batch preview items - Use formatFileSize() instead of hardcoded MB text - Change default selection to unchecked (no preselected files) - Add select all / deselect all checkbox with dynamic Next button - Clean up dead CSS, HTML template, and JS methods from removed repoFileStep - Add selectAll i18n key with translations for all 10 locales - Fix batch progress bar name fallback for HF items
This commit is contained in:
@@ -22,24 +22,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Step 1b: HF Repo File Explorer (shown when HF repo URL is detected) -->
|
||||
<div class="download-step" id="repoFileStep" style="display: none;">
|
||||
<div class="input-group">
|
||||
<label>{{ t('modals.download.selectHfFiles') }}</label>
|
||||
<div class="hf-repo-header">
|
||||
<span id="hfRepoLabel" class="hf-repo-label"></span>
|
||||
</div>
|
||||
<div class="repo-file-list" id="repoFileList">
|
||||
<!-- Files will be inserted here dynamically -->
|
||||
</div>
|
||||
<div class="error-message" id="repoFileError"></div>
|
||||
</div>
|
||||
<div class="modal-actions">
|
||||
<button class="secondary-btn" id="backToUrlFromHfBtn">{{ t('common.actions.back') }}</button>
|
||||
<button class="primary-btn" id="nextFromHfFiles">{{ t('common.actions.next') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Step 2: Batch Preview (multi-URL mode) -->
|
||||
<div class="download-step" id="batchPreviewStep" style="display: none;">
|
||||
<div class="batch-preview-list" id="batchPreviewList">
|
||||
|
||||
Reference in New Issue
Block a user