---
id: TASK-106
title: Add ViewHistory for in-app back navigation + rename rWork → rTasks
status: Done
assignee: []
created_date: '2026-03-11 21:32'
labels:
  - frontend
  - navigation
  - refactor
dependencies: []
references:
  - shared/view-history.ts
  - modules/rtasks/
priority: high
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Created shared ViewHistory<V> utility class providing stack-based back navigation for rApps with hierarchical views. Integrated into 10 rApps replacing hardcoded data-back targets. Also renamed rWork module to rTasks across entire codebase (70 files), deleted rwork.online Cloudflare zone, cleaned cloudflared config.
<!-- SECTION:DESCRIPTION:END -->

## Final Summary

<!-- SECTION:FINAL_SUMMARY:BEGIN -->
Commit 31b0885 on dev+main. New shared/view-history.ts with ViewHistory<V> class (push/back/canGoBack/peekBack/reset, max depth 20). Integrated into rtrips, rmaps, rtasks, rforum, rphotos, rvote, rnotes, rinbox, rschedule, rcart. Full rWork→rTasks rename: directory modules/rwork→modules/rtasks, component folk-work-board→folk-tasks-board, class FolkWorkBoard→FolkTasksBoard, all cross-module refs, docker-compose, vite config, encryptid CORS, landing pages. Removed rwork.online from cloudflared config and deleted its Cloudflare zone.
<!-- SECTION:FINAL_SUMMARY:END -->
