Activity events feed for the Hello World module.
Shows a filterable, infinite-scroll list of activity entries scoped to
module: "hello_world". This is a generic pattern — every PhoenixKit
module that logs activities can drop in a near-identical LiveView by
changing the module filter and the path.
Pattern walkthrough
- Uses
stream/4with a customdom_id:becausePhoenixKit.Activity.Entryuses:uuidas the primary key (not:id). - Reloads on filter change via
stream(..., reset: true). - Infinite scroll via an IntersectionObserver hook on a sentinel div.
- All PhoenixKit.Activity calls are guarded with
Code.ensure_loaded?/1so the module works even on hosts without activity logging.