unoplatform/uno

Switching branches clears recent/favorite samples in Samples app

オープン

#14,306 opened on 2023/11/06

 (5 件のコメント) (1 件のリアクション) (2 人の担当者)C# (837 件のフォーク)batch import
area/contributor-experiencedifficulty/starter 🚀good first issuekind/bug

Repository metrics

Stars
 (9,789 個のスター)
PR merge metrics
 (平均マージ 14d 8h) (30d で 130 merged PRs)

説明

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

コントリビューターガイド