feat(about_app, settings): capability privacy metadata + panel wiring#858
feat(about_app, settings): capability privacy metadata + panel wiring#858jwalin-shah wants to merge 2 commits into
Conversation
Adds optional `CapabilityPrivacy { leaves_device, data_kind, destinations }`
to the about_app capability catalog so the in-app Privacy surface can be
backend-backed instead of hand-maintained. Twelve representative capabilities
are annotated for the first audited set (raw/local, derived/backend,
credentials, diagnostics, model download); remaining entries default to
None and are simply not surfaced. Wire format stays backward compatible
via skip_serializing_if.
Replaces the hand-maintained privacy rows with data fetched from openhuman.about_app_list. Only capabilities that ship privacy metadata are rendered; loading and RPC failure both degrade gracefully and the analytics toggle plus explanatory copy remain intact. Adds a small typed client (utils/tauriCommands/aboutApp.ts) and focused vitest coverage for render, omission of unannotated entries, and RPC failure.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 56 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Superseded by already-merged #760 — both branch commits landed verbatim via squash. Closing. |
Drives the Settings privacy panel from
about_appcapability metadata rather than hard-coded lists — so adding a new capability automatically surfaces its privacy story.Changes
about_app: capability privacy metadata schema + per-capability entriessettings: privacy panel reads fromabout_appcapabilitiesNote
Branch is 58 commits behind main — may need a rebase before merge.
Test plan
cargo test -p openhuman_core about_appgreen