Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Note title sometimes missing characters in note list #2063

Merged
merged 1 commit into from
May 12, 2020

Conversation

codebykat
Copy link
Member

@codebykat codebykat commented May 6, 2020

Fix

A user reported an issue (2932709-zen) that's been present for months, where sometimes edits to the note title aren't properly reflected in the notes list, usually missing the last character.

In my testing this was inconsistent but usually easy to trigger within about 30 seconds of rapid typing/deleting in the note title and eliminating the caching for the note excerpt fixed it. At @dmsnell's suggestion this PR switches to using content rather than modificationDate as the cache key. For me this seems to completely eliminate the problem.

Test

  1. Add a new note
  2. Type rapidly in the note title, adding and deleting text quickly
  3. Verify that the notes list always displays the correct title.

Release

Not updated: Fixed a bug causing the note title to sometimes be missing characters in the note list

@codebykat codebykat added this to the 1.17 milestone May 6, 2020
@codebykat codebykat requested a review from a team May 6, 2020 22:20
@codebykat codebykat self-assigned this May 6, 2020
Copy link
Contributor

@belcherj belcherj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship

@belcherj belcherj merged commit 25a41a4 into develop May 12, 2020
@belcherj belcherj deleted the fix/note-title-sometimes-outdated branch May 12, 2020 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants