Skip to content

Commit 3dc2e71

Browse files
committed
chore(ui): Refactor RelatedModels.tsx
Major cleanup of RelatedModels.tsx for improved readability, structure, and maintainability. Dried out repetitive logic Consolidated model type sorting into reusable helpers Added disallowed model type relationships to prevent broken connections (e.g. VAE ↔ LoRA) - Aware this introduces a new constraint—open to feedback (see PR comment) Some naming and types may still need refinement; happy to revisit
1 parent 89d6070 commit 3dc2e71

File tree

1 file changed

+187
-136
lines changed
  • invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel

1 file changed

+187
-136
lines changed

0 commit comments

Comments
 (0)