microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
322 stars 55 forks source link

Creator Kit - DetailsList BUG: sort is no longer working #486

Closed gruering closed 3 months ago

gruering commented 4 months ago

in the latest release (1.1.34) we can no longer sort items in the DetailsList

To Reproduce Steps to reproduce the behavior:

  1. Install the latest release of the PowerCat Code Components (May 24)
  2. Open the Creator Kit Reference App (Canvas)
  3. Play the app in Power Apps Studio
  4. Navigate to DetailsList and try to sort
  5. Sort does not work

After re-publishing the app and refreshing the browser cache sort is also no longer working in the published version of the app

Expected behavior By following the documentation for manual sorting, the DetailsList should support sorting on any sort-enabled column.

Screenshots Sorting has no effect: image

image

Additional context I did already verify the collection used in the DetailsList items. It is sorted correctly and differently to what is displayed.

Workaround needed I have already tried to revert back to a previous version without success. Kit is installed from AppSource. How can I remove it and use a previous version? I am happy to try any workarounds until this is fixed in a later release. What options do I have to make this work now?

AB#3905

OliverDumrique commented 4 months ago

Hi, we are aware of this issue impacting the sorting order of datasets in controls such as the Details List and are working to deploy a fix soon. In the meantime, please revert back to Canvas studio version v3.24072 (by appending "&studio-version=v3.24072.6.302069373" to the studio URL) to fix this issue.

You can refer to this known issue for live updates as the fix deploys. https://admin.powerplatform.microsoft.com/knownissues/4238060

OliverDumrique commented 3 months ago

The fix has been deployed, please verify and close the bug when you can.

JamesSnaps commented 3 months ago

This was all working for me but now I'm seeing it's broken again. I published an app yesterday and the details list no longer sorts. This is on version 3.24081.10. Switching back to 3.24075.18 fixes it for me.

eric-duncan-pdx commented 3 months ago

I'm seeing similar behavior but on the Navigation Breadcrumbs component. The ItemKey is no longer sorting the items in the navigation using Studio version 3.24081.10. Reverting to 3.24.075.18 appears to properly sort the items.

cyoung07 commented 3 months ago

I am also seeing sort issues with the details list as of today. It will only sort by the first column in the collection used for its items. I am on the same Studio version as above: 3.24081.10

ericgregorich commented 3 months ago

I'm still seeing sorting issues also on version 3.24081.10.

Jenefer-Monroe commented 3 months ago

I just had a user report this to me too, hadnt noticed it broke. 3.24081.10 is the current suggested version but if I bump to 3.24083.10 it works again.

denise-msft commented 3 months ago

For anyone who is still experiencing the issue in the latest studio version, It's possible that there could still be some side effects if this app was saved with the sort issue in 8.1.

Can you please help validate if the issue occurs if you replace the details list control?

  1. Save the property values to a notepad
  2. Delete the broken details list component
  3. Re-add a fresh details list control and paste back the values into the respective properties
jh-sigmadx commented 3 months ago

I can confirm that the Sorting issue (as well as the Adding of new Fields issue) is fixed in PowerApps Studio version 3.24083.14.

I'll let you know if it creeps back into future builds -

(I'm hoping this Creator Kit Team have better links to the Studio Dev Team if reporting these bugs - poor little Devs like myself only have the Power Platform Support Ticket mechanism to use, which is pretty much useless in these genuine BUG scenarios)

denise-msft commented 3 months ago

Thank you very much for confirming. Closing the issue since it's been resolved from what we can confirm as well, please feel free to reopen if anyone is still hitting this issue after following the mitigation steps for existing apps posted above.

We have been experiencing better support recently with certain groups in the product team. We have also been able to coordinate more resources for triage.

We do recommend that you bring issues specific to the Creator Kit components to this GitHub instead of opening a support ticket if it is related to the Creator Kit components themselves. However, if you're experiencing an issue with the underlying framework or studio product then please open a support ticket in that case.