Picolab/pico-engine

developer UI should not allow some picos to be deleted

开放

#495 创建于 2020年12月17日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (10 个派生)auto 404
1 - Readybugdocumentationgood first issue

仓库指标

星标
 (51 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Quoting from our documentation, "Currently, the UI does not allow you to delete a pico which has children (until you first delete all of its children, etc. recursively)."

We need to make this so.

While the engine can just up and delete an entire sub-tree of picos, we don't want this available from the UI. Such a thing should only be done programmatically, and is in the province of Wrangler.

What's asked for here is a simple UI change to not present the "delete" link for a pico that has any children.

贡献者指南