feat(hotkeys modal): ⚡ loading state + performance improvements by joshistoast · Pull Request #8694 · invoke-ai/InvokeAI

Summary

With so many hotkey list items, each of which coming with a lot of functionality, the result is a modal that takes a full second or so to open. This PR contains some general performance improvements, and a loading state for the modal so it opens instantly while everything loads.

Added

  • hotkey list items inherit more functions from parent
  • loading state for hotkeys modal
  • tooltip on hotkey edit button

Improved

  • Split up large components into smaller ones
  • Cut down on large function initializations in list item components
Screencast_20251224_024858.webm

Related Issues / Discussions

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)