Skip to content

Conversation

@rkishan516
Copy link
Contributor

@rkishan516 rkishan516 commented Mar 18, 2025

Refactor: Move Slider and RangeSlider components to slider_parts.dart and range_slider_parts.dart
fixes: #162510

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
  • All existing and new tests are passing.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Mar 18, 2025
@dkwingsmt
Copy link
Contributor

dkwingsmt commented Mar 27, 2025

@rkishan516 Maybe you're still working on it but make sure to add some tests. Thank you! (from triage)

@rkishan516
Copy link
Contributor Author

@rkishan516 Maybe you're still working on it but make sure to add some tests. Thank you! (from triage)

@dkwingsmt This PR is just migrating code into separate file. So, don't need any test.

@dkwingsmt dkwingsmt self-requested a review April 2, 2025 18:34
@dkwingsmt
Copy link
Contributor

I see! Sorry for the confusion.

@TahaTesser Can you take a look if this is what you asked for? If it is then we can approve this since it seems a trivial change.

@Piinks
Copy link
Contributor

Piinks commented Apr 7, 2025

@rkishan516 @dkwingsmt we still need to follow the process the bot provided to get test exemption. @rkishan516 can you follow the instructions to reach out on Discord to the right folks?

@rkishan516
Copy link
Contributor Author

rkishan516 commented Apr 8, 2025

@rkishan516 can you follow the instructions to reach out on Discord to the right folks?

Sure.

@rkishan516
Copy link
Contributor Author

Also @dkwingsmt & @Piinks, Rather than creating multiple PRs, I have pushed all changes in this single PR but with multiple commits. Thoughts ?

@dkwingsmt
Copy link
Contributor

Yeah, I think for a trivial refactor like moving code doing it together should be preferred. Thanks!

@stuartmorgan-g
Copy link
Contributor

test-exempt: code refactor with no semantic change

@rkishan516 rkishan516 changed the title Refactor: Move paddle slider value indicator shape Refactor: Move Slider and RangeSlider components to slider_parts.dart and range_slider_parts.dart Apr 8, 2025
@TahaTesser
Copy link
Member

I see! Sorry for the confusion.

@TahaTesser Can you take a look if this is what you asked for? If it is then we can approve this since it seems a trivial change.

This looks good! Just have to make sure nothing is missed when moving the code as it is hard to verify every single line is correctly moved.

@Piinks
Copy link
Contributor

Piinks commented Apr 10, 2025

Also @dkwingsmt & @Piinks, Rather than creating multiple PRs, I have pushed all changes in this single PR but with multiple commits. Thoughts ?

Hey @rkishan516 as we discussed in #162858, it is preferred to break this up into smaller changes so we can review and land it more easily. Regressions are easy to introduce in large code moves like this. #162858 landed after reducing to a smaller segment of moves. Can we continue that as planned?

@rkishan516
Copy link
Contributor Author

Hey @rkishan516 as we discussed in #162858, it is preferred to break this up into smaller changes so we can review and land it more easily. Regressions are easy to introduce in large code moves like this. #162858 landed after reducing to a smaller segment of moves. Can we continue that as planned?

@Piinks So that review become easy, I have divided that into commits which can be reviewed easily. But if still required i can change this back. Should i ?

Copy link
Contributor

@dkwingsmt dkwingsmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've verified that the code are moved verbatim (by copying everything back and check git diff).

I'll leave @Piinks to confirm that this is the desired movement.

@dkwingsmt dkwingsmt requested a review from Piinks April 23, 2025 18:12
Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 29, 2025
@auto-submit auto-submit bot added this pull request to the merge queue Apr 29, 2025
Merged via the queue into flutter:master with commit b44f00c Apr 29, 2025
74 of 75 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 2, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 3, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 3, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 4, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 14, 2025
romanejaquez pushed a commit to romanejaquez/flutter that referenced this pull request Aug 14, 2025
… and range_slider_parts.dart (flutter#165361)

Refactor: Move Slider and RangeSlider components to slider_parts.dart
and range_slider_parts.dart
fixes: flutter#162510

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Slider and RangeSlider components from slider_theme.dart to a separate file

5 participants