Add Privacy Sandbox and Preferences Manager to the dashboard#12
Add Privacy Sandbox and Preferences Manager to the dashboard#12
Conversation
Wire the landing-page demo concept into the app: - New VaultDemoCard widget with 3-step guided flow (auth → morning routine query → work colleagues query), backed by the real AuthService and ContextQueryService - After the guided steps, free-form input + 4 preset chips let users query any topic against the live vault - Redacted tokens ([EMAIL REDACTED], etc.) are highlighted in amber to make the privacy pipeline visually obvious - Added to DashboardScreen between the Connections and Monetization sections as an AnimatedListItem Agent-Logs-Url: https://github.com/AdamsLocal/trulana/sessions/2c71fe2d-9801-4cca-a921-399fa242ae25 Co-authored-by: machine-squelch <172148352+machine-squelch@users.noreply.github.com>
|
Copilot so it has the same exact functionality of the demo on the landing page? That's not really what I wanted. |
- VaultDemoCard removed; replaced with PrivacySandboxCard: native query input + presets, no curl/terminal aesthetic, queries real user preferences through AutoRedactEngine, amber-highlighted redaction tokens, "My vault →" nav link - New PreferencesScreen (/preferences): full CRUD manager for vault preferences — tile list, add/edit bottom sheet, delete confirm, empty state, FAB - New AddEditPreferenceSheet: bottom sheet for add/edit preferences - New PreferencesProvider: Riverpod AsyncNotifier for preferences CRUD - Router: add /preferences route - providers.dart: export preferencesProvider Agent-Logs-Url: https://github.com/AdamsLocal/trulana/sessions/409fef77-37f2-467b-b2b8-1170e3c6339d Co-authored-by: machine-squelch <172148352+machine-squelch@users.noreply.github.com>
You're right — replaced in 52046f0. The terminal/curl approach is gone and is now two genuinely native features: Privacy Sandbox card (on the dashboard): a clean query input + preset chips that run your real preferences through the actual My Vault screen ( The landing page demo shows static pre-canned data in a terminal. This operates on your actual vault data with no terminal aesthetic at all. |
The app launched to a static dashboard with no way for new users to understand or try the core privacy pipeline. This adds two native app features that give users a genuinely interactive experience with their real vault data.
What's new
lib/features/dashboard/widgets/privacy_sandbox_card.dartcoffee,work,commute,healthAutoRedactEnginepipeline[EMAIL REDACTED],[PHONE REDACTED],[AMOUNT GENERALIZED], etc.) highlighted in amberlib/features/preferences/preferences_screen.dart(new screen at/preferences)lib/features/preferences/widgets/add_edit_preference_sheet.dartlib/providers/preferences_provider.dartAsyncNotifierwiringPreferencesServiceadd/update/delete to the UIlib/core/router/app_router.dart/preferencesroute addedlib/features/dashboard/dashboard_screen.dartPrivacySandboxCardinserted between Connections and Monetization sections as a staggeredAnimatedListItemKey difference from the landing page demo
The landing page shows scripted, pre-canned data in a terminal emulator. The Privacy Sandbox operates on the user's own preferences — data they can manage directly in the Preferences Manager — and passes it through the live redaction pipeline with no simulated steps.
Original prompt