Skip to content
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(ui): migrate from golden_toolkit -> alchemist #2070

Merged
merged 18 commits into from
Dec 24, 2024

Conversation

xsahil03x
Copy link
Member

This pull request includes several changes to improve the testing framework and dependencies in the stream_chat_flutter package. The most important changes include replacing the golden_toolkit package with the alchemist package for golden tests and making minor adjustments to widget properties.

Dependency Updates:

  • Replaced golden_toolkit with alchemist in dev_dependencies across multiple files, including melos.yaml and pubspec.yaml. [1] [2]

Testing Framework Changes:

  • Updated import statements to use alchemist instead of golden_toolkit in various test files. [1] [2] [3] [4] [5] [6] [7] [8]
  • Replaced testGoldens with goldenTest and adjusted test configurations accordingly in multiple test files. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Widget Adjustments:

  • Added mainAxisSize: MainAxisSize.min to Row widget in dm_checkbox.dart to ensure minimal horizontal space usage.
  • Added crossAxisAlignment: CrossAxisAlignment.start to Column widget in stream_message_input.dart to align children to the start.

@xsahil03x xsahil03x changed the title refactor: migrate from golden_toolkit -> alchemist refactor(ui): migrate from golden_toolkit -> alchemist Dec 23, 2024
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.14%. Comparing base (e2f0177) to head (2ecf41b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2070      +/-   ##
==========================================
+ Coverage   61.03%   61.14%   +0.11%     
==========================================
  Files         336      336              
  Lines       20152    20152              
==========================================
+ Hits        12299    12322      +23     
+ Misses       7853     7830      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xsahil03x xsahil03x force-pushed the refactor/migrate-to-alchemist branch from eb7674b to a9edaa9 Compare December 23, 2024 20:44
@xsahil03x xsahil03x merged commit 714a194 into master Dec 24, 2024
14 checks passed
@xsahil03x xsahil03x deleted the refactor/migrate-to-alchemist branch December 24, 2024 13:12
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.

2 participants