Add offline crisis helpline numbers for additional countries

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
dart, flutter
Domain
mobile

Research direction

Start with the offline directory in thrives_app/lib/core/data/crisis_helplines.dart and read how the existing countries and the International fallback are structured. Pick one country, find its official emergency number and a support line from that service, and record the source page and check date using the crisis directory issue template. Done means one new entry with the name, printed number, dial string, category, and description, with text-only lines marked and emergency and guidance cards still shown during search.

Written by the indexing model from the issue text.

Description

documentation good first issue help wanted

The offline crisis directory lives in thrives_app/lib/core/data/crisis_helplines.dart. Numbers are compiled into the app. Nothing in that list is fetched or refreshed over the network.

Countries already included: Sweden, United States, United Kingdom, Philippines, Germany, Malta, and an International fallback for an unknown country code.

A useful first contribution adds one country:

  • Official emergency number, plus at least one support line published by that service.
  • Name, number as printed, digits that should be dialed, category (emergency, helpline, or guidance), and a one-line description.
  • A source page and the date it was checked. The app must not link out to that page at runtime.
  • Text-only lines include the keyword and are not also offered as a voice call.
  • Emergency and guidance cards stay visible when someone searches.
  • An unknown locale stays on International. Do not map a whole language onto a neighbouring country.

Use the crisis directory issue template so the number, source, and dial string are easy to review.

Dominant language
Dart
Stars
0
Forks
3
Avg merge
16h 54m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Is0cre/MonkeyThrive

All issues in Is0cre/MonkeyThrive

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.