unoplatform/uno

Switching branches clears recent/favorite samples in Samples app

Open

#14,306 opened on Nov 6, 2023

View on GitHub
 (5 comments) (1 reaction) (2 assignees)C# (9,789 stars) (837 forks)batch import
area/contributor-experiencedifficulty/starter 🚀good first issuekind/bug

Description

Current behavior

When a new sample is created and used in a branch, and then we switch back to master, samples app will attempt to parse the recent samples list and fail as the sample type does not exist in that assembly. The same goes for favorites.

Expected behavior

The missing samples should be gracefully ignored. Even if they are lost, it should not clear the whole list (e.g. the samples available on master should remain in the list)

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

No

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia, Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Contributor guide