feat(client-one): Clienteling Intelligence Platform#6
Open
upare0051 wants to merge 1 commit into
Open
Conversation
Flask app on port 5050 serving a full customer 360° profile UI for store associates. Connects to Cube via ActivationOS backend for customer identity/loyalty/preferences and directly to Redshift dev for purchase history. Features: - Customer search by name, email, or phone (via Cube customer_360) - Profile page: Overview (loyalty, RFM, geo, contact prefs + reachability), Purchases tab (order line history from gold.gold_omni_order_line_item_detail), SA Intel tab (AI-generated conversation starters, signals, dos/don'ts) - Two-query profile load (dimensions + measures separate) to avoid JOIN fan-out that caused 503s when mixing Cube dimension/measure queries - Direct Redshift connection (redshift_connector, localhost:10005) for purchase history not available through the Cube semantic layer - Graceful degradation: measures query failure doesn't break the profile Prerequisites documented in apps/client-one/README.md: - ActivationOS backend on localhost:8000 - Redshift dev tunnel on localhost:10005 - REDSHIFT_USER / REDSHIFT_PASSWORD env vars (or defaults from dbt profile) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/client-one/— a Flask web app (port 5050) for store associates to look up customers in real-timecustomer_360semantic layergold.gold_omni_order_line_item_detailPrerequisites (documented in
apps/client-one/README.md)localhost:8000localhost:10005REDSHIFT_USER/REDSHIFT_PASSWORDenv vars set (or defaults matching~/.dbt/profiles.ymlwarehouse.local)Running
Technical notes
redshift_connectorwithssl=Falseto talk to the port-forwarded dev clusterTest plan
./run.shstarts without errors+16178779794finds Debradebisilverman@gmail.comfinds Debra🤖 Generated with Claude Code