Automattic / Automattic/simplenote-macos

Metrics: Newlines are counted as characters

Open
#653 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

> New lines are treated as characters in the character count on macOS but not iOS.

> To reproduce, just open a new note and hit Enter a couple of times — the Metrics UI in the top-right corner will show a count corresponding to the number of Enter presses.

h/t @guarani (Thank you Paul!!)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Metrics UI at the top-right of a new note, then locate the macOS character-count implementation. Compare its newline handling with the iOS behavior described in the report. Done means pressing Enter no longer increases the macOS character count unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.