Automattic / Automattic/simplenote-electron

Synchronization issues with Tags

Open
#2,454 6 comments 0 reactions 0 assignees View on GitHub
[feature] sync [feature] tags bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

Renaming a tag from iOS results in a blank tag showing inside a note in the web app.
Trying to do something with this tag later in the web app results in tags duplication and synchronization issues.

Please take a look at the following video:
[Tags.mov.zip](https://github.com/Automattic/simplenote-electron/files/5501332/Tags.mov.zip)

### Expected
Tags look and order is the same on all devices.

### Observed
* Tags are in a different order
* Renaming a tag on iOS results in an empty tag on the web
* Duplicated tags
* Invincible tags that can't be deleted

### Reproduced
0. Open the web app and iOS app
1. On the web: add tags `t1`, `t2`, `t3`, `t4` to the note
2. See that the order of tags is different
3. iOS: Rename `t2` to `t2-1`
4. Web: Tag `t2` in the note becomes empty
5. Web: Rename tag `t2-1` to `t2-1-1`
6. Web: There are now 2 tags `t2-1-1`

### Where did you see the bug
- System Make: Apple
- System Model: Macbook
- OS: Catalina
- OS version: 10.15.7
- Browser (if applicable): Safari
- Browser version (if applicable): 14
- Simplenote app version:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the tag workflow across the web app and iOS app using the listed steps, and compare tag order and names after each synchronization. Done means renamed tags remain non-empty, unique, deletable, and in the same order on all devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.