Skip to content

Provide a more structured dependency injection framework for components - #3832

Draft
cbeer wants to merge 3 commits into
mainfrom
di-components
Draft

Provide a more structured dependency injection framework for components#3832
cbeer wants to merge 3 commits into
mainfrom
di-components

Conversation

@cbeer

@cbeer cbeer commented May 20, 2026

Copy link
Copy Markdown
Member

Straw-man for future discussion. The hope and dream is a slightly more structured + formal dependency injection framework could make support for multiple UI frameworks (e.g. Bootstrap 5 + 6) more possible and ease one barrier for upgrading.

TODO:

  • build out + extract some of the system/"component library" UI components, anticipating that could handle most of the Bootstrap 5 -> 6 pain.
  • align injected components with the "right" level (not too high-level as to be exhausting to customize, not so low-level that we end up with a large number of injection points)
  • align the parameters to injected components for greater consistency (e.g. all document-keyed components get a document presenter on an expected key)
  • maybe nice to pull the components configuration up to the top-level of configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant