rubyforgood / rubyforgood/Flaredown

[bug] user reports having to enter weather zip code daily

Open
#573 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
50
Forks
21
Avg merge
6d 12h
Merged PRs (30d)
16

Description

https://mail.google.com/mail/u/0/#inbox/FMfcgzGmtNldsVdzRLmDHLrWQVFbdzdF

Should I be having to put the zip code in for weather in every day? Why can't it use my location?

user.checkins.map { |x| x.weather&.position&.postal_code.to_s.hash }.tally # {-3472885853839672425=>23, -3872471353334306215=>4, 974990381407916894=>7}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the user.checkins expression and its weather, position, and postal_code data to find where the weather location is stored and reused. Confirm the reported daily prompt behavior and make the location persist so the zip code is not requested again each day.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.