Icon han Rural Mail Digital Helper Tyson Berry-Wogan

Case Study han Proyekto · Progressive Web App nga Naandar Bisan Offline

Rural Mail Digital Helper

Usa nga libre, nai-install nga Progressive Web App (PWA) nga gindisenyo ngan ginhimo ni Tyson Berry-Wogan para ha mga rural letter carrier. Gintatampo hini an gintipigan nga mga baton ha kontrata han USPS-NRLCA ngan RRECS, library han nasasaliksik nga mga excerpt han dokumento, maiimprenta nga mga buruhaton nga draft ha browser gamit an PS Form 8191 ngan RRECS evaluation dispute Form 1, ngan offline nga pagmapa han ruta gamit an USGS/OpenStreetMap.

Buksa an Rural Mail Digital Helper Kitaa an 3-ka-Minutos nga Walkthrough Demo Balik ha Home han Portfolio

An Problema han Gumaramit

An mga rural letter carrier nga nagsususi han mga probisyon han kontrata, nag-aandam para ha mga diskusyon ha steward, o nagrerepaso han mga paundangan ha ruta ha ilarom han Rural Route Evaluated Compensation System (RRECS) in naatubang hin tulo nga pauroutro nga ulang:

1. Pamiling hin Gin-unabi nga mga Baton ha Kontrata ngan RRECS

An mga pakiana mahiunong ha mga deadline han reklamo ha Step 1, suweldo ha relief-day, ikaduha nga mga biyahe, coverage factor, ngan an Rural Route Evaluation Dispute Process (RREDP) in nalalakip ha NRLCA National Agreement, Memoranda of Understanding (MOUs), ngan mga manual han USPS. Nagkikinahanglan an mga kargador hin madagmit, masayon masabtan nga mga pagbiling nga nakasumpay ha espisipiko nga mga titulo han dokumento, numero han pakli, ngan mga petsa.

2. Pribado nga Paghimo hin mga Porma ha Reklamo ngan Pagtutol

An pag-andam hin buruhaton nga draft para ha reklamo ha Step 1 (PS Form 8191) o draft para ha dispute han ebalwasyon han RRECS (Form 1) para ha usa nga steward han unyon in nag-uupod hin sensitibo nga mga detalye han empleyado (mga ngaran, 8-ka-digit nga Employee ID Number, numero han ruta, ngan mga asoy han panhitabo) nga dapat magpabilin ha browser han kargador imbes nga ipadara ha server, ngan an mag-iha nga mga pahayag nagkikinahanglan hin mga dugang nga pakli imbes nga diri makit-an nga maputol ha sakob han gudti nga mga kahon han porma han PDF.

3. Pagmapa hin mga Paundangan ngan Pagtrabaho Offline ha mga Ruta ha Baryo

Agsob nga naagi an mga ruta hin paghatod ha bukid ha mga lugar nga maluya o waray signal han mobile. An mga kargador nga nagpaplano han Mailbox, Park point, ngan Front door nga mga lokasyon in nagkikinahanglan hin mapper han ruta nga nagtitipig han mga paundangan ha lokal nga browser, nagdudugtong han magkasumpay nga mga paundangan, nag-e-export hin mga portable map file nga diri na naghihimo hin account, ngan nagda-download hin public-domain nga mga tile han mapa para magamit offline.

Ano an Ginbubuhat han Produkto (Ginpamatuod nga mga Kapasidad)

Ginoorganisa han Rural Mail Digital Helper an upat nga gintampo nga mga workspace ha sakob hin mai-install, offline-capable nga Progressive Web App:

1. Saved Contract & RRECS Q&A (`#ask`)

  • Nagsususi han mga gintipigan nga baton mahiunong ha trabaho han rural-carrier, suweldo, mga ebalwasyon han RRECS, coverage factor, ikaduha nga mga biyahe, mga patakaran ha relief-day, ngan mga timeline han Step 1 upod an mga reperensya han gintikangan.
  • Supported unanswered public questions can be queued via `/rural-mail-digital-assistant/engine/ask` without generating in engine-open, scheduling up to six read-only cache refreshes 30 seconds apart.
  • When the engine reports `answer_status: "needs_material"`, the page states that the question is kept on file while looking for supporting material, with no set wait time and no queue promise.
  • Displays turnaround estimates only from verified completed samples in `flash-turnaround.json` (verified within the last 7 days, deduplicated by `evidence_sha256`), falling back to 7-day `healthz.cache_turnaround` statistics when at least five samples exist and showing an explicit no-estimate message rather than an invented wait time when fewer than five samples exist.

2. Searchable Document Excerpt Library (`#library`)

  • Nagsasaliksik hin mga excerpt ha NRLCA National Agreement, mga MOU, mga giya han RREDP, ngan mga manual han postal pinaagi han topiko, artikulo, o numero han porma.
  • Nag-uupod hin madagmit nga pantikang nga mga topiko para ha pamaagi han reklamo ha Artikulo 15, PS Form 8191, Rural Route Evaluation Dispute Process (RREDP), ngan mga hangyo hin impormasyon ha Artikulo 31.
  • Nagbabalik hin ginkotar nga mga excerpt upod an mga titulo han gintikangan nga dokumento, numero han pakli, ngan mga petsa (mga excerpt la, diri bug-os nga pag-download han dokumento).

3. Browser-Local Printable Form Drafts (`#tools`)

  • Questionnaire han Isyu ngan Buruhaton nga Draft: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
  • Tinuod nga Draft han PS Form 8191 (Marso 2007 — Edisyon han EIN): Uses locally vendored `pdf-lib`, `@pdf-lib/fontkit`, and `DejaVuSans.ttf` (`ps8191.js`) to fill the authentic blank AcroForm entirely in the browser. Enforces explicit bounds (100,000 characters per entry; 400,000 across the draft), carries overflow onto labelled continuation pages on whole Unicode code-point boundaries, validates Item 1b EIN as 8 digits or blank, checks glyph coverage against embedded DejaVu (Latin, Greek, Cyrillic, accents, and typographic punctuation), and immediately detaches the PDF blob if any field changes.
  • Ginhimo Gihapon nga Draft han RRECS Evaluation Dispute Form 1 (Oktubre 2026): Fills a recreated vector PDF layout (`rrecs-form1.js`) in the browser, preserving leading zeros on plain-text phone, installation, finance-number, and ZIP fields, with independent checkboxes for Office Time, Route Time, and Street Volume Time.

4. Interactive Offline Route Mapper (`#map`)

  • Maluway nga nagkakarga (lazy-load) han lokal nga Leaflet 1.9.4 nga may upat nga base layer: Kalye (OpenStreetMap), Satellite (imahe han USGS National Map nga may mga label), Aerial (USGS imahe-la nga orthoimagery), ngan Topo (USGS National Map).
  • Naka-color-code nga mga lugar Kahon han surat (`#15803d`), Punto han pagparada (`#7c3aed`), and Ganghaan (`#eab308`) pins with optional user names (up to 140 UTF-16 code units, keeping leading zeros such as `007`), undo last placement, and click-to-undo mode.
  • Connect Mode: Links a mailbox, a park point, and a front door in order with an optional verbatim box number (up to 40 characters), computing geodesic (haversine) straight-line distance estimates and displaying a proximity advisory when a mailbox is under 5 feet (`1.523999 m`) from another stop.
  • Offline nga mga Tile Pack han USGS ngan mga Portable nga Payl: Downloads USGS Satellite or Topo tile packs (up to 6,000 tiles, zoom ≤ 16) into Cache Storage (`helper-tiles-v1`) with parallel fetch, retry, cancel/sweep cleanup, and dateline (`±180°`) wrapping. Checkpoints working maps (`nrlca_route_map_working_session_v1`), saves named routes in `localStorage`, records foreground-only GPS location trails, and exports/imports strict `nrlca-map/v1` and `nrlca-map/v2` portable JSON files plus GeoJSON and print summaries.

Papel han Tyson

Tyson Berry-Wogan conceived, designed, and built Rural Mail Digital Helper (`/rural-mail-digital-helper/`) and its companion three-minute interactive walkthrough demo (`/nrlca-demo/`).

Mga Screenshot han Aplikasyon ngan Visual Assets

The images below are the existing raster visual assets committed in the repository for Rural Mail Digital Helper: the walkthrough interface capture (`/posters/nrlca-demo.webp`) and the standard and maskable Progressive Web App icons (`/rural-mail-digital-helper/icons/icon-512.png` and `/rural-mail-digital-helper/icons/maskable-512.png`), which depict the three connected stop types used in the route mapper.

Mga Limitasyon, Pag-setup, Pribasya ngan mga Plataporma

Nagpapatuman an Rural Mail Digital Helper hin istrikto nga legal, teknikal, ngan pribasya nga mga limitasyon basi masabtan han mga kargador ngan mga steward kon ano an ginbubuhat ngan diri ginbubuhat han garamiton:

Diri Opisyal nga Sistema han Unyon o USPS An Rural Mail Digital Helper in usa nga independiente nga pangedukasyon ngan pagplano nga bulig—diri kuruhaan hin kamatuoran—ngan diri dapat gamiton sugad nga ebidensya o reperensya. Pirmamente usisaa an yana nga mga dokumento han kontrata ngan makiistorya ha usa nga steward han unyon san-o magsumite ha mga deadline.
Buruhaton nga mga Draft La (Diri Gud Ginpipirmahan o Ginpapayl Dinhi) An pag-andam o pag-imprinta hin worksheet, draft han PS Form 8191, o draft han RRECS Evaluation Dispute Form 1 in naghihimo hin buruhaton nga draft para la ha pagrepaso han steward; diri ini ginpipirmahan, ginpapasaka, o iginpapasa dinhi. An mga pamahayag han tagdumara, mga pagtantiya ha kaabtik, mga disposisyon, ngan mga linya han pirma tinuyo nga ginpabay-an nga blangko. An Oktubre 2026 RRECS Form 1 usa nga ginhimo utro nga vector layout, diri opisyal nga orihinal han USPS.
Mga Porma ngan Pagtipig hin Ruta ha Browser Form entries run in the browser: they are not sent anywhere, not logged, and not saved by the site. Unsaved route pins stay in the current page; working map checkpoints (`nrlca_route_map_working_session_v1`), named saved routes (`nrlca_route_map_saved_routes_v1`), and downloaded offline tile packs (`helper-tiles-v1`) are stored only in that browser profile on that device (up to 500 pins, 500 connections, and a 4 MiB checkpoint JSON cap) and are not uploaded or synced. No user account is created, anyone using the same browser profile may be able to see saved local storage, and clearing browser site data removes local routes.
Mga Layer han Mapa, Patakaran ha Tile ngan Diretso nga Distansya Nag-gagamit an mapa hin OpenStreetMap ngan USGS National Map nga mga tile—diri an opisyal nga mapa han USPS Digital Point Mapping (DPM)—ngan an Mailbox, Park point, ngan Front door nga mga pin hini in personal la nga mga marka ha pagplano, diri opisyal nga mga simbolo han DPM o mga pagsukol han RRECS. An mga igindrowing nga linya ngan mga distansya han Connect in mga pagbana-bana la hin tadong nga linya (geodesic), diri tinuod nga milyahe ha karsada, oras han paghatod, o kredito ha RRECS. Sumala ha patakaran ha paggamit hin tile han OpenStreetMap Foundation, an mga OSM Street tile in diri gud gin-uuna hin pagkarga (prefetch) o durungan nga gindadownload; an mga offline pack nagtitipig la hin public-domain nga USGS Satellite o Topo tiles (ngadto ha zoom 16, tubtob ha 6,000 nga mga tile kada ruta).
Pagrekord La han Lokasyon ha Kadaan (Foreground) Ginhahangyo la an permiso ha lokasyon kon pumislit an gumaramit Gamita an akon lokasyon o Tikangi an pagrehistro han lokasyon. An pagrekord han agi nagpapadayon la samtang nakikita an pahina (tubtob ha 10,000 nga narekord nga mga fix/segment); an pagtago han tab, pagbalyo hin app, pag-lock han screen, o lak-ang han provider nga sobra 30 ka segundo nagpapaundang han pagrekord ngan nagmamarka hin utod han segment. An mga posisyon ha GPS han browser ngan telepono mga banabana la.
Mga Plataporma, Sakop han Offline ngan Build ha Pagtesting ha Android Runs on desktop and mobile browsers (Web, iOS, Android) and installs as an offline-capable PWA. Saved routes, pins, Connect links, and local draft forms work offline once cached; asking new questions, searching the document library, and viewing undownloaded map areas require a network connection. Interactive helper features require JavaScript enabled. The Route Map section also offers a signed Android test APK (`RuralMailDigitalHelper-Android-1.0.1-native-20261016-debug.apk`, 58.4 MiB, Android 8.0+, with SHA-256 checksum), explicitly labelled as an October 16 test candidate—not a Play Store release or the newer marker-guard source—where phone compatibility, saved-map recovery, and background/locked-screen GPS still require device verification.

Kasunod nga Buhaton — Buksa an Parabulig o Kitaa an Walkthrough

Ig-launch an Rural Mail Digital Helper direkta ha imo browser (o i-install ha imo home screen), lumukso ngadto ha espisipiko nga garamiton, o kitaa an tulo ka minutos nga interactive walkthrough demo: