unoplatform/uno

Switching branches clears recent/favorite samples in Samples app

开放

#14,306 创建于 2023年11月6日

 (5 条评论) (1 个反应) (2 位负责人)C# (837 个派生)batch import
area/contributor-experiencedifficulty/starter 🚀good first issuekind/bug

仓库指标

星标
 (9,789 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南