Save draft in localstorage if runbox7 is offline
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Start at the message composition and draft-saving entry points, then trace how the app handles offline state and draft persistence. The issue proposes browser local storage or a similar local fallback, but does not identify files or tests; first locate those flows and check existing offline tests. Done means a drafted message remains available after the API or connection goes down and navigating away from drafts does not lose it.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When the internet connection (or Runbox API) goes down intermittently, a drafted message is not saved anywhere. With as little as clicking away to another folder and back to drafts, the typed in content is lost.
Describe the solution you'd like
When Runbox7 is offline, a draft should be saved locally (in browser's localStorage or similar), so that the typed in message is not completely lost.
Describe alternatives you've considered
Perhaps it's a sensible failsafe to save drafts in both places at the same time. This could lead to conflicts if the versions diverge, so they'd either need a timestamp (timezone-agnostic, just in case :)), a heuristic like "longer draft wins" (could backfire) or a "which draft do you want to use" screen (lots of work for an edgecase).
Additional context
Happy holidays!
- Dominant language
- TypeScript
- Stars
- 132
- Forks
- 55
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from runbox/runbox7
-
Names in Sent folderOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Keep messages selected after an operation so a second operation can be performed on the same set.Possibly taken @gtandersen claimed this 10 days ago. Openenhancement
-
#2FA App passwords copy featurePossibly taken @hoanle0126 claimed this 22 days ago. Openenhancement P3-medium
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
#Mail Initial index sync prompt hides message action iconsPossibly taken @LubuSeb claimed this 25 days ago. Openbug P1-urgent
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Similar issues
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
amplitude/Amplitude-TypeScript#2179 · 1 comment ·
Maintainers usually reply within 2 days
-
ci good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
TMHSDigital/GH-Arcade#111 ·
-
AsnIntegerConverter.toASN coerces strings with +value, rounding integers outside safe-integer rangeOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PeculiarVentures/asn1-schema#189 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100