Automattic / Automattic/simplenote-macos

Retag with old tag name, doesn't show on tag list

Open
#119 1 comment 0 reactions 0 assignees View on GitHub
[feature] tags bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

If I rename an existing tag, then create a new note with the original tag, then the note gets the tag, but the tag doesn't appear on the tag list.

**Steps to Reproduce:**
1. Create a new note with tag 'tag1' => 'tag1' appears on the tag list on the left
1. Rename 'tag1' to 'tag2' on the left => 'tag2' (but not 'tag1') now appears on the tag list on the left
1. Create a second new note with tag 'tag1' => Tag 'tag1' does not appear on the list on the left, though the second new note does retain the tag even on restart

**Workaround**
1. (same as step to reproduce) Create a new note with tag 'tag1' => 'tag1' appears on the tag list on the left
1. (same as step to reproduce) Rename 'tag1' to 'tag2' on the left => 'tag2' (but not 'tag1') now appears on the tag list on the left
1. Create the second new note with tag 'tag3' => 'tag2' and 'tag3' both appear on the list on the left
1. Rename 'tag3' to 'tag1' on the list on the list on the left

Contributor guide

Open the contributing guide

Research direction

Reproduce the rename-and-reuse sequence in the macOS app, focusing on tag creation, tag renaming, and the tag list on the left. The issue is done when creating a note with the original tag makes that tag appear in the list and remain visible after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.