Rural Mail Digital Helper 圖示 Tyson Berry-Wogan

專案案例研究 · 具備離線功能嘅漸進式網頁應用程式

Rural Mail Digital Helper

一款由 Tyson Berry-Wogan 為鄉村郵差設計同建立嘅免費、可安裝漸進式網頁應用程式 (PWA)。佢結合咗儲存好嘅 USPS-NRLCA 合約同 RRECS 解答、可搜尋嘅文件節錄庫、瀏覽器本地嘅 PS Form 8191 與 RRECS 評估爭端 Form 1 可列印工作草稿,以及離線 USGS/OpenStreetMap 路線地圖。

開啟 Rural Mail Digital Helper 觀看 3 分鐘導覽示範 返回作品集首頁

用戶問題

鄉村郵差喺查閱合約條款、準備同工會代表討論,或者檢視鄉村路線評估補償系統 (RRECS) 下嘅路線站點時,面臨三個經常出現嘅阻礙:

1. 尋找已引述嘅合約與 RRECS 解答

有關 Step 1 申訴截止期限、輪休日薪酬、二次出車、覆蓋系數及鄉村路線評估爭端程序 (RREDP) 嘅問題橫跨 NRLCA 全國協議、諒解備忘錄 (MOU) 同 USPS 手冊。郵差需要快速、通俗易明而且標明具體文件標題、頁碼同日期嘅查閱工具。

2. 私密起草申訴與爭議表格

為工會代表準備 Step 1 申訴工作草稿 (PS Form 8191) 或 RRECS 評估爭端草稿 (Form 1) 牽涉到敏感嘅員工資料(姓名、8 位數員工編號、路線號碼同事件陳述),呢啲資料必須留喺郵差嘅瀏覽器入面而唔好傳送去伺服器;長篇陳述亦需要續頁,而唔係喺細小嘅 PDF 表單方格入面被無聲截斷。

3. 標記停靠點與喺鄉郊路線離線工作

鄉村派遞路線經常經過流動網絡訊號微弱甚至冇訊號嘅地區。規劃信箱、泊車點同前門位置嘅郵差需要一個路線地圖工具,能夠喺瀏覽器本地儲存站點、關聯相關站點、無需建立帳戶即可匯出便攜地圖檔案,並下載公有領域地圖圖塊作離線參考。

產品功能(實證能力)

Rural Mail Digital Helper 喺一個可安裝、支援離線嘅漸進式網頁應用程式入面整合咗四個工作區:

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

  • 查閱鄉村郵差工作、薪酬、RRECS 評估、覆蓋系數、二次出車、輪休日規則及 Step 1 時限嘅已儲存解答,並附帶資料來源引用。
  • 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`)

  • 按主題、條款或表單編號,搜尋 NRLCA 全國協議、MOU、RREDP 指南同郵政手冊入面嘅節錄。
  • 包括第 15 條申訴程序、PS Form 8191、鄉村路線評估爭端程序 (RREDP) 以及第 31 條索取資料嘅快速主題起步指引。
  • 傳回引用節錄,並附上其來源文件標題、頁碼及日期(僅提供節錄,並非整份文件下載)。

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

  • 問題問卷與工作草稿: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
  • 正式 PS Form 8191 草稿(2007 年 3 月 — 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.
  • 重新製作嘅 RRECS 評估爭端 Form 1 草稿(2026 年 10 月): 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`)

  • 延遲載入本地整合嘅 Leaflet 1.9.4,具備四個基礎圖層: 街道圖 (OpenStreetMap), 衛星端 (Satellite) (附帶標籤嘅 USGS National Map 影像), 航空俯視圖 (USGS 純影像正射影像),以及 地形圖 (USGS National Map)。
  • 地點以顏色標記 信箱 (`#15803d`), 停泊點 (`#7c3aed`), and 正門 (`#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.
  • 連接模式: 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.
  • 離線 USGS 圖塊包與便攜檔案: 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.

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/`).

應用程式截圖與視覺資源

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.

限制、設定、私隱及支援平台

Rural Mail Digital Helper 實施嚴格嘅法律、技術及私隱界限,令郵差同工會代表清楚知道呢個工具有咩做到、有咩做唔到:

並非工會或 USPS 官方系統 Rural Mail Digital Helper 係獨立嘅教育同規劃輔助工具——並非權威資料來源——而且絕唔可以作為官方依據引用。喺提交截止前,請務必核對最新合約文件並向工會代表諮詢。
僅限工作草稿(絕不可喺呢度簽署或提交) 準備或列印工作表、PS Form 8191 草稿或 RRECS 評估爭端 Form 1 草稿會產生一份 僅供工會代表審閱嘅工作草稿;絕唔會喺呢度簽署、歸檔或提交。管理聲明、及時性評估、處置同簽名欄位均特意留空。2026 年 10 月嘅 RRECS 表格 1 係重新繪製嘅向量版面,並非 USPS 官方原件。
瀏覽器本地表單與路線儲存 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.
地圖圖層、圖塊政策及直線距離 地圖使用 OpenStreetMap 與 USGS National Map 圖塊——唔 官方嘅 USPS 數位點繪圖 (DPM) 地圖——而佢嘅信箱、泊車點同前門圖釘只係個人規劃標籤,並唔係官方嘅 DPM 符號或 RRECS 測量值。繪製線條同連接距離屬於測地直線估算,並非貼合道路嘅實際里程、派遞時間或 RRECS 計分。根據 OpenStreetMap 基金會圖塊使用政策,OSM 街道圖塊絕唔會預先擷取或批次下載;離線包僅會快取公有領域嘅 USGS 衛星或地形圖塊(最高縮放至 16,每條路線上限 6,000 塊)。
僅限前景記錄位置 只會喺用戶點擊時請求位置權限 使用我嘅位置 或 開始記錄位置。軌跡記錄僅喺頁面可見時運行(最多 10,000 個記錄定位點/航段);隱藏分頁、切換應用程式、鎖定螢幕,或者供應商間隔超過 30 秒都會暫停記錄並標記航段中斷。瀏覽器同手機嘅 GPS 位置僅供參考。
支援平台、離線範圍及 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.

下一步 — 開啟小幫手或觀看導覽

直接喺瀏覽器啟動 Rural Mail Digital Helper(或安裝到主畫面)、跳轉至指定工具,或者睇三分鐘互動導覽示範: