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

RefreshView IsEnabled enhancements #24290

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

kubaflo
Copy link
Contributor

@kubaflo kubaflo commented Aug 17, 2024

Description of Change

This Pr is an extension of [Propagate VisualElement.IsEnabled to children]: #12488

Issues Fixed

Fixes #24228
Fixes #19897

@kubaflo kubaflo requested a review from a team as a code owner August 17, 2024 12:18
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Aug 17, 2024
Copy link
Contributor

Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jfversluis
Copy link
Member

I see some new APIs? So this probably needs to go into net9.0

@PureWeen
Copy link
Member

I see some new APIs? So this probably needs to go into net9.0

I think it's just overrides so should be fine for net8

@kubaflo kubaflo added the community ✨ Community Contribution label Sep 3, 2024
Copy link
Member

@mattleibow mattleibow left a comment

Choose a reason for hiding this comment

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

Looks good, I just see the IsRefreshing is also not a simple property and has some cross-implications.

Copy link
Member

@mattleibow mattleibow left a comment

Choose a reason for hiding this comment

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

From a code perspective, this LGTM.

I do want to give it a real test on a device tomorrow so not going to approve right now.

But, in my mind this is basically approved and if someone can test things that they have been suffering with and confirm it is just that much better we can merge. But, I will play in the morning.


void ICommandElement.CanExecuteChanged(object sender, EventArgs e)
{
if((bool)GetValue(IsRefreshingProperty))
Copy link
Member

Choose a reason for hiding this comment

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

Just a nit for if I find any issues otherwise we can fix later (or ignore) so we don't lose the nice green checkmark on this PR.

Suggested change
if((bool)GetValue(IsRefreshingProperty))
if (IsRefreshing)

@mattleibow mattleibow merged commit 5c0e6d6 into dotnet:main Sep 4, 2024
97 checks passed
@samhouts samhouts added the fixed-in-net8.0-nightly This may be available in a nightly release! label Sep 5, 2024
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Oct 1, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.2.24503.2 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Oct 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RefreshView IsEnabled not working (iOS/Android) [Android] ResfreshView IsEnabled not working
5 participants