fix: add tips widget to BlockRegistry#1960
Conversation
A recent refactor introduced the BlockRegistry to add different types of widgets. This was missing the tips widget, so it has been added to correct that.
|
Caution Review failedThe pull request is closed. WalkthroughThe changes add a new import of a view model from a designated module and update the block registry to include this view model under a specific key. This configuration ensures that when the block system requests the corresponding view type, it will instantiate the newly imported view model. The update is limited to the registration of this new mapping and does not alter any related logic, error handling, or control flow within the application. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
A recent refactor introduced the BlockRegistry to add different types of widgets. This was missing the tips widget, so it has been added to correct that.
A recent refactor introduced the BlockRegistry to add different types of widgets. This was missing the tips widget, so it has been added to correct that.