hackclub / hackclub/blueprint

Editing a journal entry overwrites the saved entry

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
20
Forks
27
Avg merge
7m
Merged PRs (30d)
2

Description

I had a whole journal entry with a bunch of images that I spent hours slowly adding to, and right before publishing it, I edited one of my previous entries and all my progress was gone. I realised it was because the entry content gets saved to localStorage, but if you edit an entry, it gets overwritten.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the journal entry editor and its localStorage persistence, focusing on what happens when an earlier entry is edited. Reproduce the loss with an unpublished entry containing images; done means editing a saved entry no longer removes the current unpublished progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.