Automattic / Automattic/simplenote-macos

Note List: Very long note title can make note content disappear from note list

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

Description

### Expected

I expect the beginning of a very long note title and the beginning of the note content to always appear in the note list.

### Observed

If the note title is very long (498+ characters), no note content will appear in the note list. Instead, the beginning of the note title appears with empty space beneath it.

Note: This feels like a corner case and may not be a frequent/realistic scenario. I discovered it by accident while testing (not dogfooding) with large amounts of content. Given that, if the solution is not easy or if this scenario has already been considered, I could imagine leaving the behavior as-is.

### Reproduced

1. Create a new note.
2. Add a short title and content.
3. Notice that the title and beginning of the content appear in the note list.
4. Add more text to the title so it is 498 characters or more.
5. Notice that the note content no longer appears in the note list.

GIF showing this behavior: https://cloudup.com/ckK-SdmQBww (sorry, the file was too big to upload directly to the issue)

Make|Model|macOS Version|App Version
-|-|-|-
Apple|Macbook Pro|10.15.5|1.11.0 beta

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the macOS note list using a title of 498 or more characters and short note content. Trace the note-list presentation from that reproduction, then verify that the beginning of both the title and content remain visible for very long titles.

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
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.