12h ago
renaming (parent) tag to empty string deletes tag (tree)
( This is duplicate to Discord submission here https://discord.com/channels/763107030223290449/763112403943… )
(Probably a stupid thing to do, but also a bad & unexpected failure mode.)
{TMI context: I have fairly deeply nested hierarchy of `#tag`s, originally conceived as using one letter prefixes for ~(super)type of referent. I had/have a “using” hierarchy where e.g. `#u/sw/noteplan` refers to (using software:) NotePlan [b/c I’m a dev this was intended to differentiate from e.g. `#o/sw` outputs of software I wrote, but)
This morning I admitted that after a couple years I’ve never put anything else under `#u` and wanted to reparent `#u/sw/*` → `#sw/`. I was on the treadmill at the time, w/o laptop so, out of curiosity as much as anything}
**what I did:** long pressed on `#u` on iOS sidebar, selected “Rename”, hit `⌫` on keyboard then `Done`
**what I expected to happen**: in ideal world (today) this would achieve the reparenting, rewriting every tag of the form `#u/sw/…` to `#sw/`; realistically I probably expected a “tag name can’t be empty” error message or so
**what actually happened:** all 236 instances of 72 tags of form `#u/sw/…` were deleted entirely
(I was able to mostly restore from backup on Mac, for the most part)
Pending