-
Notifications
You must be signed in to change notification settings - Fork 815
feat: added guide for robotic arm #2801
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
base: flutter
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis PR extends the Robotic Arm screen with an interactive instrument guide: it introduces state variables and helper methods to build and toggle a guide overlay, integrates the guide into the widget tree via a Stack, and enriches localization resources with new guide text entries. Class diagram for Robotic Arm screen state changesclassDiagram
class _RoboticArmScreenState {
- bool _showGuide
- static const imagePath
+ void _hideInstrumentGuide()
+ List<Widget> _getRoboticArmContent()
}
_RoboticArmScreenState --> InstrumentOverviewDrawer : uses
_RoboticArmScreenState --> InstrumentIntroText : uses
_RoboticArmScreenState --> InstrumentImage : uses
_RoboticArmScreenState --> ServoCard : uses
_RoboticArmScreenState --> TimelineScrollView : uses
InstrumentOverviewDrawer : Widget
InstrumentIntroText : Widget
InstrumentImage : Widget
ServoCard : Widget
TimelineScrollView : Widget
Class diagram for new localization entries in AppLocalizationsclassDiagram
class AppLocalizations {
+ String get roboticArmIntro
+ String get roboticArmConnection
}
class AppLocalizationsEn {
+ String get roboticArmIntro
+ String get roboticArmConnection
}
AppLocalizations <|-- AppLocalizationsEn
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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 @rahul31124 - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Build successful. APKs to test: https://github.com/fossasia/pslab-app/actions/runs/16448553788/artifacts/3588800265 |
Changes
Recording
robotic_arm_guide.webm
Checklist:
strings.xml
,dimens.xml
andcolors.xml
without hard coding any value.strings.xml
,dimens.xml
orcolors.xml
.Summary by Sourcery
Add an interactive guide overlay for the Robotic Arm screen with localized introduction and connection instructions.
New Features:
Enhancements: