tour
Guided product-tour ("app cues") plugin: spotlights host-page elements with stepped tooltip bubbles, progress, and don't-show-again persistence. The FIRST trusted host-page plugin — it runs in the host page with full DOM access (it must, to highlight real elements), so it is NOT sandboxed. Runtime is a same-origin script + stylesheet; tours are registered server-side and completion is persisted client-side and via a seen endpoint.
v0.1.0trusted host page
Install and mount
go get github.com/DonaldMurillo/gofastr-plugins@v0.5.0
import "github.com/DonaldMurillo/gofastr-plugins/tour"
app.RegisterPlugin(tour.New())Isolation
Runs in the host page
This plugin is not sandboxed. It has full DOM access because its job needs it, and the app owner who compiles it in vouches for it. Its capability names still gate its server endpoints.
Manifest
- Plugin version
- 0.1.0
- Framework compat
- >=0.28.0
- Isolation
- trusted-host-page
- Sandbox tokens
- none
- Capabilities
- tour:read, tour:write
- Optional capabilities
- none
- CSP additions
- none
- Route prefix
/__gofastr/plugin/tour- Entry
- Schema
- —
- Min height
- —
- Docs
- docs/tour.md