Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Deferred Deep Linking Web-to-App Banner (#33)
* add config definition for ddl banner * tmp split out ddl banner component * Ensure config validation accounts for feature driven initialisation * Start segrating feature paths * Create root frame to enable push/ddl manager split * Independently initialise features * Relocate ddl impl * Relocate styles outside prompts realm * Capture link in clipboard * Split k root into sub containers for push / ddl * Repeat use of platform config and context for icon url * Move config into core and clear deck for unifying via single prompt manager * Remove type * Wrap DOM ready listenter around SDK main init * Remove, dont need * Relocate banner styles * Uprev to 1.8.0 * Refactor / dry up prompt config * Renaming * Clean up ddl manager and config * npm audit fix * Remove unused, update type def * Move ddl under prompts * Split out prompt reminder impl * cleanup * Tidy up / remove dead code * Split out event handling and prompt filtering * Remove api payload mapping * Update type name casing * Move ddl feature check into browser compat check * Relocate deferred prompt to prompt utils * make Push feature default when no features specified * Ensure features cant be [] Further enhacement chat in flight around supporting no features at all, e.g. to support sdk consumer A/B testing etc * Adjust ddl config to remove nested named labels & colors * Make public key non-nullable * Swap out clipboard dep for smaller library * Perform check for public key and throw if not present as this would seem a critial error in this context * Reject promise if no public key is present * Revert to making vapidPublicKey required * Remove test/dev config * Use glyph for close icon * Move dom load handler * Update bundles * Remove debug logging * Update bundles * Update bundle * Remove display of rating stars * Update bundles * Wire up color config to decline UI action * Update bundles * Rename ddl banner type name * Add app star rating and rating count to Deferred DeepLink Banner (#35) * Add app rating component * Add app rating to ddl banner * Remove dev/debug body padding * Relocate rating comp styles * Split out rating comp to shared components area * Update bundle * Rename prop * Throw when an auth fetch fails * Use authedFetch directly when pulling ddl config * Rename ddl store url config prop name Co-authored-by: Rob Dick <r.dick@kumulos.com> * Fix check for browser support when ddl feature is specified * Add config driven color to rating stars component * Post npm audit fix updates * Add confirm uiActions for dl banner action for store redirection * Revert links dev url and build dist bundles * Handle clipboard copy operation promise * Hide prompt only after succesful deeplink clipboard capture * Remove unused imports * Move deeplink handling back under DeeplinkButton comp * Remove unused import * Remove redundant source file * Fix browser suport check Co-authored-by: Rob Dick <r.dick@kumulos.com> Co-authored-by: robdick <robdick101@gmail.com>
- Loading branch information