-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Add support to action registration #169
refactor: Add support to action registration #169
Conversation
@i-asimkhan I believe this will address what we discussed in #110, enabling the registration of custom actions. |
.../mirai/lib/src/parsers/mirai_actions/mirai_navigate_action/mirai_navigate_action_parser.dart
Outdated
Show resolved
Hide resolved
@RodolfoSilva Thanks for this. Just have a look at the crashing PR Checks.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this immensely impt refactoring, please check my comments. Thanks
packages/mirai/lib/src/parsers/mirai_elevated_button/mirai_elevated_button.dart
Outdated
Show resolved
Hide resolved
packages/mirai/lib/src/parsers/mirai_floating_action_button/mirai_floating_action_button.dart
Outdated
Show resolved
Hide resolved
packages/mirai/lib/src/parsers/mirai_icon_button/mirai_icon_button.dart
Outdated
Show resolved
Hide resolved
packages/mirai/lib/src/parsers/mirai_list_tile/mirai_list_tile.dart
Outdated
Show resolved
Hide resolved
packages/mirai/lib/src/parsers/mirai_text_button/mirai_text_button.dart
Outdated
Show resolved
Hide resolved
Thanks @i-asimkhan. I've resolved all comments and fixed all crashes reported by PR Checks: flutter analyze
dart format --set-exit-if-changed . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@divyanshub024 Please have a look
@i-asimkhan @divyanshub024 any updates on this PR? |
Hey @RodolfoSilva!! Sorry for bit delay. I'm on vacation and traveling a lot these days. I'll try to review and merge your PR soon. |
Oh sorry, have a nice vacation @divyanshub024. I hope you are enjoying this time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RodolfoSilva !!
I wanted to start by expressing my gratitude for your incredible pull request. This PR is bound to have a significant impact on the Mirai framework, opening up numerous possibilities for creating custom actions and triggers. Fantastic work! 💯
I have some minor suggestions. Please check them.
packages/mirai/lib/src/parsers/mirai_actions/mirai_actions.dart
Outdated
Show resolved
Hide resolved
...es/mirai/lib/src/parsers/mirai_actions/mirai_request_action/mirai_request_action_parser.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this amazing PR @RodolfoSilva 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍 👍
Description
Added support for registering custom actions in the registry and refactored the existing actions to have the new format.
Related Issues
The dicussion has started in the PR #110 and closes the issue #50 and the discussion #120.
Type of Change