onehook-api-client 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/telemetry/index.js +15 -7
- package/dist-es/telemetry/index.js +15 -7
- package/dist-types/telemetry/index.d.ts +6 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +13 -9
- package/telemetry/TelemetryCatalog.swift +17 -9
- package/telemetry/telemetry-catalog.json +113 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.ReportEvent = exports.ReportSource = exports.ReportCategory = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
|
|
4
|
-
exports.TELEMETRY_CATALOG_VERSION = "1.
|
|
5
|
-
exports.TELEMETRY_CATALOG_HASH = "
|
|
4
|
+
exports.TELEMETRY_CATALOG_VERSION = "1.14.0";
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -270,6 +270,7 @@ exports.UiElement = {
|
|
|
270
270
|
DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
|
|
271
271
|
DISCOVER_RETRY: "discover.retry",
|
|
272
272
|
DISCOVER_CATEGORY_SELECT: "discover.category_select",
|
|
273
|
+
DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe",
|
|
273
274
|
DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
|
|
274
275
|
DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
|
|
275
276
|
LIKE_COMPOSER_SEND: "like_composer.send",
|
|
@@ -342,6 +343,7 @@ exports.UiElement = {
|
|
|
342
343
|
CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
|
|
343
344
|
CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
|
|
344
345
|
CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
|
|
346
|
+
CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open",
|
|
345
347
|
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
346
348
|
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
347
349
|
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
@@ -393,6 +395,8 @@ exports.UiElement = {
|
|
|
393
395
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
394
396
|
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
395
397
|
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
398
|
+
PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle",
|
|
399
|
+
PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry",
|
|
396
400
|
PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
|
|
397
401
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
398
402
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
@@ -522,8 +526,9 @@ exports.UI_ELEMENTS = {
|
|
|
522
526
|
"discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
523
527
|
"discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
524
528
|
"discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
|
|
529
|
+
"discover.highlight_swipe": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
525
530
|
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
526
|
-
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
531
|
+
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
527
532
|
"like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
528
533
|
"like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
|
|
529
534
|
"like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -589,11 +594,12 @@ exports.UI_ELEMENTS = {
|
|
|
589
594
|
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
590
595
|
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
591
596
|
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
592
|
-
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["
|
|
597
|
+
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
593
598
|
"chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
594
|
-
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
599
|
+
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
595
600
|
"chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
596
601
|
"chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
|
|
602
|
+
"chat.mr_onehook_upgrade_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
597
603
|
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
598
604
|
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
599
605
|
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
@@ -641,10 +647,12 @@ exports.UI_ELEMENTS = {
|
|
|
641
647
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
642
648
|
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
643
649
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
644
|
-
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
645
|
-
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
650
|
+
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
651
|
+
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
646
652
|
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
647
653
|
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
654
|
+
"preferences.tradition_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
655
|
+
"preferences.traditions_retry": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
648
656
|
"preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
649
657
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
650
658
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.14.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -267,6 +267,7 @@ export const UiElement = {
|
|
|
267
267
|
DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
|
|
268
268
|
DISCOVER_RETRY: "discover.retry",
|
|
269
269
|
DISCOVER_CATEGORY_SELECT: "discover.category_select",
|
|
270
|
+
DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe",
|
|
270
271
|
DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
|
|
271
272
|
DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
|
|
272
273
|
LIKE_COMPOSER_SEND: "like_composer.send",
|
|
@@ -339,6 +340,7 @@ export const UiElement = {
|
|
|
339
340
|
CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
|
|
340
341
|
CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
|
|
341
342
|
CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
|
|
343
|
+
CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open",
|
|
342
344
|
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
343
345
|
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
344
346
|
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
@@ -390,6 +392,8 @@ export const UiElement = {
|
|
|
390
392
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
391
393
|
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
392
394
|
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
395
|
+
PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle",
|
|
396
|
+
PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry",
|
|
393
397
|
PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
|
|
394
398
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
395
399
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
@@ -519,8 +523,9 @@ export const UI_ELEMENTS = {
|
|
|
519
523
|
"discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
520
524
|
"discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
521
525
|
"discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
|
|
526
|
+
"discover.highlight_swipe": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
522
527
|
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
523
|
-
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
528
|
+
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
524
529
|
"like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
525
530
|
"like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
|
|
526
531
|
"like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -586,11 +591,12 @@ export const UI_ELEMENTS = {
|
|
|
586
591
|
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
587
592
|
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
588
593
|
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
589
|
-
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["
|
|
594
|
+
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
590
595
|
"chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
591
|
-
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
596
|
+
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
592
597
|
"chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
593
598
|
"chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
|
|
599
|
+
"chat.mr_onehook_upgrade_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
594
600
|
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
595
601
|
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
596
602
|
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
@@ -638,10 +644,12 @@ export const UI_ELEMENTS = {
|
|
|
638
644
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
639
645
|
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
640
646
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
641
|
-
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
642
|
-
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
647
|
+
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
648
|
+
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
643
649
|
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
644
650
|
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
651
|
+
"preferences.tradition_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
652
|
+
"preferences.traditions_retry": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
645
653
|
"preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
646
654
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
647
655
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export declare const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export declare const TELEMETRY_CATALOG_VERSION = "1.14.0";
|
|
2
|
+
export declare const TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
|
|
3
3
|
/** Every signal type the ingest accepts. */
|
|
4
4
|
export declare const SignalType: {
|
|
5
5
|
readonly SCREEN_VIEW: "screen_view";
|
|
@@ -306,6 +306,7 @@ export declare const UiElement: {
|
|
|
306
306
|
readonly DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open";
|
|
307
307
|
readonly DISCOVER_RETRY: "discover.retry";
|
|
308
308
|
readonly DISCOVER_CATEGORY_SELECT: "discover.category_select";
|
|
309
|
+
readonly DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe";
|
|
309
310
|
readonly DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit";
|
|
310
311
|
readonly DISCOVER_UPGRADE_OPEN: "discover.upgrade_open";
|
|
311
312
|
readonly LIKE_COMPOSER_SEND: "like_composer.send";
|
|
@@ -378,6 +379,7 @@ export declare const UiElement: {
|
|
|
378
379
|
readonly CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete";
|
|
379
380
|
readonly CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new";
|
|
380
381
|
readonly CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit";
|
|
382
|
+
readonly CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open";
|
|
381
383
|
readonly CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open";
|
|
382
384
|
readonly CHAT_INTRO_DISMISS: "chat.intro_dismiss";
|
|
383
385
|
readonly CHAT_INTRO_GET_STARTED: "chat.intro_get_started";
|
|
@@ -429,6 +431,8 @@ export declare const UiElement: {
|
|
|
429
431
|
readonly PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap";
|
|
430
432
|
readonly PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove";
|
|
431
433
|
readonly PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save";
|
|
434
|
+
readonly PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle";
|
|
435
|
+
readonly PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry";
|
|
432
436
|
readonly PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove";
|
|
433
437
|
readonly SETTINGS_EMAIL_MANAGE: "settings.email_manage";
|
|
434
438
|
readonly SETTINGS_PHONE_UPDATE: "settings.phone_update";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 ef6eb20e1fc761ba526febf32201e062a8847d1c22bd706a44a6134ec874afa3
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.
|
|
5
|
+
// Catalog version 1.14.0, hash 4d228919bd9883a5.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
package club.onehook.telemetry
|
|
13
13
|
|
|
14
14
|
object TelemetryCatalog {
|
|
15
|
-
const val VERSION = "1.
|
|
16
|
-
const val HASH = "
|
|
15
|
+
const val VERSION = "1.14.0"
|
|
16
|
+
const val HASH = "4d228919bd9883a5"
|
|
17
17
|
/** The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog). */
|
|
18
18
|
val EXEMPT_CATEGORIES: List<String> = listOf("duplicate", "backdrop", "gesture", "continuous", "disabled")
|
|
19
19
|
}
|
|
@@ -369,8 +369,9 @@ enum class UiElement(
|
|
|
369
369
|
DISCOVER_ADD_HOOK_OPEN("discover.add_hook_open", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
370
370
|
DISCOVER_RETRY("discover.retry", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
371
371
|
DISCOVER_CATEGORY_SELECT("discover.category_select", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), listOf("all", "profile_match", "onehook_suggested", "similar"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
372
|
+
DISCOVER_HIGHLIGHT_SWIPE("discover.highlight_swipe", TelemetryScreen.DISCOVER, UiElementKind.GESTURE, listOf(UiAction.TAP), listOf("onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
372
373
|
DISCOVER_ADD_HOOK_SUBMIT("discover.add_hook_submit", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
373
|
-
DISCOVER_UPGRADE_OPEN("discover.upgrade_open", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
374
|
+
DISCOVER_UPGRADE_OPEN("discover.upgrade_open", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
374
375
|
LIKE_COMPOSER_SEND("like_composer.send", TelemetryScreen.LIKE_COMPOSER, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
375
376
|
LIKE_COMPOSER_SEND_WITHOUT_COMMENT("like_composer.send_without_comment", TelemetryScreen.LIKE_COMPOSER, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.IOS)),
|
|
376
377
|
LIKE_COMPOSER_CANCEL("like_composer.cancel", TelemetryScreen.LIKE_COMPOSER, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
@@ -436,11 +437,12 @@ enum class UiElement(
|
|
|
436
437
|
CHAT_MR_ONEHOOK_CONTEXT_SHARE("chat.mr_onehook_context_share", TelemetryScreen.CHAT, UiElementKind.DIALOG_BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
437
438
|
CHAT_MR_ONEHOOK_SCOPE_OPEN("chat.mr_onehook_scope_open", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB)),
|
|
438
439
|
CHAT_MR_ONEHOOK_SCOPE_SELECT("chat.mr_onehook_scope_select", TelemetryScreen.CHAT, UiElementKind.MENU_ITEM, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB)),
|
|
439
|
-
CHAT_MR_ONEHOOK_SESSIONS_OPEN("chat.mr_onehook_sessions_open", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.
|
|
440
|
+
CHAT_MR_ONEHOOK_SESSIONS_OPEN("chat.mr_onehook_sessions_open", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
440
441
|
CHAT_MR_ONEHOOK_SESSION_RESUME("chat.mr_onehook_session_resume", TelemetryScreen.CHAT, UiElementKind.MENU_ITEM, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
441
|
-
CHAT_MR_ONEHOOK_SESSION_DELETE("chat.mr_onehook_session_delete", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
442
|
+
CHAT_MR_ONEHOOK_SESSION_DELETE("chat.mr_onehook_session_delete", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
442
443
|
CHAT_MR_ONEHOOK_SESSION_NEW("chat.mr_onehook_session_new", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
443
444
|
CHAT_MR_ONEHOOK_SESSION_LIMIT("chat.mr_onehook_session_limit", TelemetryScreen.CHAT, UiElementKind.DIALOG_BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), listOf("replace_least_recent", "manage", "cancel"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
445
|
+
CHAT_MR_ONEHOOK_UPGRADE_OPEN("chat.mr_onehook_upgrade_open", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
444
446
|
CHAT_INTRO_TOUR_OPEN("chat.intro_tour_open", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS)),
|
|
445
447
|
CHAT_INTRO_DISMISS("chat.intro_dismiss", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
446
448
|
CHAT_INTRO_GET_STARTED("chat.intro_get_started", TelemetryScreen.CHAT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS)),
|
|
@@ -488,10 +490,12 @@ enum class UiElement(
|
|
|
488
490
|
PROFILE_EDIT_VOICE_REMOVE("profile_edit.voice_remove", TelemetryScreen.PROFILE_EDIT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
489
491
|
PROFILE_EDIT_CHOICE_SELECT("profile_edit.choice_select", TelemetryScreen.PROFILE_EDIT, UiElementKind.SEGMENTED, listOf(UiAction.SELECT, UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
490
492
|
PREFERENCES_SAVE("preferences.save", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
491
|
-
PREFERENCES_UPGRADE_OPEN("preferences.upgrade_open", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
492
|
-
PREFERENCES_LOCKED_FILTER_TAP("preferences.locked_filter_tap", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS)),
|
|
493
|
+
PREFERENCES_UPGRADE_OPEN("preferences.upgrade_open", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
494
|
+
PREFERENCES_LOCKED_FILTER_TAP("preferences.locked_filter_tap", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
493
495
|
PREFERENCES_SUGGESTION_REMOVE("preferences.suggestion_remove", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
494
496
|
PREFERENCES_OWN_SUGGESTION_SAVE("preferences.own_suggestion_save", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
497
|
+
PREFERENCES_TRADITION_TOGGLE("preferences.tradition_toggle", TelemetryScreen.PREFERENCES, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
498
|
+
PREFERENCES_TRADITIONS_RETRY("preferences.traditions_retry", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
495
499
|
PREFERENCES_OWN_SUGGESTION_REMOVE("preferences.own_suggestion_remove", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
496
500
|
SETTINGS_EMAIL_MANAGE("settings.email_manage", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
497
501
|
SETTINGS_PHONE_UPDATE("settings.phone_update", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 f35b14cd3132ef48bb62f36729b9d8d9bd0079a6b948894546af00a0a0261695
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.
|
|
5
|
+
// Catalog version 1.14.0, hash 4d228919bd9883a5.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import Foundation
|
|
11
11
|
|
|
12
12
|
public enum TelemetryCatalog {
|
|
13
|
-
public static let version = "1.
|
|
14
|
-
public static let hash = "
|
|
13
|
+
public static let version = "1.14.0"
|
|
14
|
+
public static let hash = "4d228919bd9883a5"
|
|
15
15
|
/// The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog).
|
|
16
16
|
public static let exemptCategories: [String] = ["duplicate", "backdrop", "gesture", "continuous", "disabled"]
|
|
17
17
|
}
|
|
@@ -307,6 +307,7 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
307
307
|
case discoverAddHookOpen = "discover.add_hook_open"
|
|
308
308
|
case discoverRetry = "discover.retry"
|
|
309
309
|
case discoverCategorySelect = "discover.category_select"
|
|
310
|
+
case discoverHighlightSwipe = "discover.highlight_swipe"
|
|
310
311
|
case discoverAddHookSubmit = "discover.add_hook_submit"
|
|
311
312
|
case discoverUpgradeOpen = "discover.upgrade_open"
|
|
312
313
|
case likeComposerSend = "like_composer.send"
|
|
@@ -379,6 +380,7 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
379
380
|
case chatMrOnehookSessionDelete = "chat.mr_onehook_session_delete"
|
|
380
381
|
case chatMrOnehookSessionNew = "chat.mr_onehook_session_new"
|
|
381
382
|
case chatMrOnehookSessionLimit = "chat.mr_onehook_session_limit"
|
|
383
|
+
case chatMrOnehookUpgradeOpen = "chat.mr_onehook_upgrade_open"
|
|
382
384
|
case chatIntroTourOpen = "chat.intro_tour_open"
|
|
383
385
|
case chatIntroDismiss = "chat.intro_dismiss"
|
|
384
386
|
case chatIntroGetStarted = "chat.intro_get_started"
|
|
@@ -430,6 +432,8 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
430
432
|
case preferencesLockedFilterTap = "preferences.locked_filter_tap"
|
|
431
433
|
case preferencesSuggestionRemove = "preferences.suggestion_remove"
|
|
432
434
|
case preferencesOwnSuggestionSave = "preferences.own_suggestion_save"
|
|
435
|
+
case preferencesTraditionToggle = "preferences.tradition_toggle"
|
|
436
|
+
case preferencesTraditionsRetry = "preferences.traditions_retry"
|
|
433
437
|
case preferencesOwnSuggestionRemove = "preferences.own_suggestion_remove"
|
|
434
438
|
case settingsEmailManage = "settings.email_manage"
|
|
435
439
|
case settingsPhoneUpdate = "settings.phone_update"
|
|
@@ -560,8 +564,9 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
560
564
|
case .discoverAddHookOpen: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
561
565
|
case .discoverRetry: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
562
566
|
case .discoverCategorySelect: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap], allowedValues: ["all", "profile_match", "onehook_suggested", "similar"], platforms: [.web, .ios, .android])
|
|
567
|
+
case .discoverHighlightSwipe: return UiElementSpec(screen: .discover, kind: .gesture, actions: [.tap], allowedValues: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: [.web, .ios, .android])
|
|
563
568
|
case .discoverAddHookSubmit: return UiElementSpec(screen: .discover, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.web, .ios])
|
|
564
|
-
case .discoverUpgradeOpen: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
569
|
+
case .discoverUpgradeOpen: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
565
570
|
case .likeComposerSend: return UiElementSpec(screen: .likeComposer, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
566
571
|
case .likeComposerSendWithoutComment: return UiElementSpec(screen: .likeComposer, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.ios])
|
|
567
572
|
case .likeComposerCancel: return UiElementSpec(screen: .likeComposer, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
@@ -627,11 +632,12 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
627
632
|
case .chatMrOnehookContextShare: return UiElementSpec(screen: .chat, kind: .dialogButton, actions: [.submit, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
628
633
|
case .chatMrOnehookScopeOpen: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web])
|
|
629
634
|
case .chatMrOnehookScopeSelect: return UiElementSpec(screen: .chat, kind: .menuItem, actions: [.tap], allowedValues: nil, platforms: [.web])
|
|
630
|
-
case .chatMrOnehookSessionsOpen: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.
|
|
635
|
+
case .chatMrOnehookSessionsOpen: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
631
636
|
case .chatMrOnehookSessionResume: return UiElementSpec(screen: .chat, kind: .menuItem, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
632
|
-
case .chatMrOnehookSessionDelete: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
637
|
+
case .chatMrOnehookSessionDelete: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
633
638
|
case .chatMrOnehookSessionNew: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
634
639
|
case .chatMrOnehookSessionLimit: return UiElementSpec(screen: .chat, kind: .dialogButton, actions: [.tap, .dismiss], allowedValues: ["replace_least_recent", "manage", "cancel"], platforms: [.web, .ios, .android])
|
|
640
|
+
case .chatMrOnehookUpgradeOpen: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
635
641
|
case .chatIntroTourOpen: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios])
|
|
636
642
|
case .chatIntroDismiss: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
637
643
|
case .chatIntroGetStarted: return UiElementSpec(screen: .chat, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios])
|
|
@@ -679,10 +685,12 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
679
685
|
case .profileEditVoiceRemove: return UiElementSpec(screen: .profileEdit, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
|
|
680
686
|
case .profileEditChoiceSelect: return UiElementSpec(screen: .profileEdit, kind: .segmented, actions: [.select, .tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
681
687
|
case .preferencesSave: return UiElementSpec(screen: .preferences, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.ios, .android])
|
|
682
|
-
case .preferencesUpgradeOpen: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
683
|
-
case .preferencesLockedFilterTap: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios])
|
|
688
|
+
case .preferencesUpgradeOpen: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
689
|
+
case .preferencesLockedFilterTap: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
684
690
|
case .preferencesSuggestionRemove: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
685
691
|
case .preferencesOwnSuggestionSave: return UiElementSpec(screen: .preferences, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
692
|
+
case .preferencesTraditionToggle: return UiElementSpec(screen: .preferences, kind: .toggle, actions: [.toggle], allowedValues: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: [.web, .ios, .android])
|
|
693
|
+
case .preferencesTraditionsRetry: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
686
694
|
case .preferencesOwnSuggestionRemove: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
687
695
|
case .settingsEmailManage: return UiElementSpec(screen: .settings, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
688
696
|
case .settingsPhoneUpdate: return UiElementSpec(screen: .settings, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios, .android])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.14.0",
|
|
3
3
|
"screens": {
|
|
4
4
|
"NAV": {
|
|
5
5
|
"viewable": false,
|
|
@@ -1673,6 +1673,38 @@
|
|
|
1673
1673
|
"deprecated": null,
|
|
1674
1674
|
"legacy": null
|
|
1675
1675
|
},
|
|
1676
|
+
"discover.highlight_swipe": {
|
|
1677
|
+
"screen": "DISCOVER",
|
|
1678
|
+
"kind": "gesture",
|
|
1679
|
+
"description": "Swipe or tap to the next \"why we matched you\" card. value = the highlight source now shown, lower-cased.",
|
|
1680
|
+
"actions": [
|
|
1681
|
+
"tap"
|
|
1682
|
+
],
|
|
1683
|
+
"values": [
|
|
1684
|
+
"onehook_intelligence",
|
|
1685
|
+
"mr_onehook",
|
|
1686
|
+
"kundali",
|
|
1687
|
+
"western",
|
|
1688
|
+
"bazi",
|
|
1689
|
+
"zi_wei_dou_shu",
|
|
1690
|
+
"tzolkin",
|
|
1691
|
+
"tibetan",
|
|
1692
|
+
"hebrew",
|
|
1693
|
+
"arabic_parts",
|
|
1694
|
+
"buddhist",
|
|
1695
|
+
"celtic",
|
|
1696
|
+
"egyptian",
|
|
1697
|
+
"hellenistic",
|
|
1698
|
+
"babylonian"
|
|
1699
|
+
],
|
|
1700
|
+
"platforms": [
|
|
1701
|
+
"web",
|
|
1702
|
+
"ios",
|
|
1703
|
+
"android"
|
|
1704
|
+
],
|
|
1705
|
+
"deprecated": null,
|
|
1706
|
+
"legacy": null
|
|
1707
|
+
},
|
|
1676
1708
|
"discover.add_hook_submit": {
|
|
1677
1709
|
"screen": "DISCOVER",
|
|
1678
1710
|
"kind": "button",
|
|
@@ -1691,14 +1723,16 @@
|
|
|
1691
1723
|
"discover.upgrade_open": {
|
|
1692
1724
|
"screen": "DISCOVER",
|
|
1693
1725
|
"kind": "button",
|
|
1694
|
-
"description": "Upgrade prompt shown in discovery (
|
|
1726
|
+
"description": "Upgrade prompt shown in discovery (undo upsell, a locked category chip, its \"See plans\" / \"Not now\").",
|
|
1695
1727
|
"actions": [
|
|
1696
1728
|
"tap",
|
|
1697
1729
|
"dismiss"
|
|
1698
1730
|
],
|
|
1699
1731
|
"values": null,
|
|
1700
1732
|
"platforms": [
|
|
1701
|
-
"
|
|
1733
|
+
"web",
|
|
1734
|
+
"ios",
|
|
1735
|
+
"android"
|
|
1702
1736
|
],
|
|
1703
1737
|
"deprecated": null,
|
|
1704
1738
|
"legacy": null
|
|
@@ -2767,9 +2801,7 @@
|
|
|
2767
2801
|
],
|
|
2768
2802
|
"values": null,
|
|
2769
2803
|
"platforms": [
|
|
2770
|
-
"
|
|
2771
|
-
"ios",
|
|
2772
|
-
"android"
|
|
2804
|
+
"ios"
|
|
2773
2805
|
],
|
|
2774
2806
|
"deprecated": null,
|
|
2775
2807
|
"legacy": null
|
|
@@ -2793,9 +2825,10 @@
|
|
|
2793
2825
|
"chat.mr_onehook_session_delete": {
|
|
2794
2826
|
"screen": "CHAT",
|
|
2795
2827
|
"kind": "button",
|
|
2796
|
-
"description": "Delete a saved Mr OneHook chat.",
|
|
2828
|
+
"description": "Delete a saved Mr OneHook chat (confirmed; dismiss = kept).",
|
|
2797
2829
|
"actions": [
|
|
2798
|
-
"tap"
|
|
2830
|
+
"tap",
|
|
2831
|
+
"dismiss"
|
|
2799
2832
|
],
|
|
2800
2833
|
"values": null,
|
|
2801
2834
|
"platforms": [
|
|
@@ -2843,6 +2876,23 @@
|
|
|
2843
2876
|
"deprecated": null,
|
|
2844
2877
|
"legacy": null
|
|
2845
2878
|
},
|
|
2879
|
+
"chat.mr_onehook_upgrade_open": {
|
|
2880
|
+
"screen": "CHAT",
|
|
2881
|
+
"kind": "button",
|
|
2882
|
+
"description": "Must: a locked saved-chat tab or New chat, opening the Super upgrade prompt.",
|
|
2883
|
+
"actions": [
|
|
2884
|
+
"tap",
|
|
2885
|
+
"dismiss"
|
|
2886
|
+
],
|
|
2887
|
+
"values": null,
|
|
2888
|
+
"platforms": [
|
|
2889
|
+
"web",
|
|
2890
|
+
"ios",
|
|
2891
|
+
"android"
|
|
2892
|
+
],
|
|
2893
|
+
"deprecated": null,
|
|
2894
|
+
"legacy": null
|
|
2895
|
+
},
|
|
2846
2896
|
"chat.intro_tour_open": {
|
|
2847
2897
|
"screen": "CHAT",
|
|
2848
2898
|
"kind": "button",
|
|
@@ -3582,7 +3632,9 @@
|
|
|
3582
3632
|
],
|
|
3583
3633
|
"values": null,
|
|
3584
3634
|
"platforms": [
|
|
3585
|
-
"
|
|
3635
|
+
"web",
|
|
3636
|
+
"ios",
|
|
3637
|
+
"android"
|
|
3586
3638
|
],
|
|
3587
3639
|
"deprecated": null,
|
|
3588
3640
|
"legacy": null
|
|
@@ -3596,7 +3648,9 @@
|
|
|
3596
3648
|
],
|
|
3597
3649
|
"values": null,
|
|
3598
3650
|
"platforms": [
|
|
3599
|
-
"
|
|
3651
|
+
"web",
|
|
3652
|
+
"ios",
|
|
3653
|
+
"android"
|
|
3600
3654
|
],
|
|
3601
3655
|
"deprecated": null,
|
|
3602
3656
|
"legacy": null
|
|
@@ -3633,6 +3687,52 @@
|
|
|
3633
3687
|
"deprecated": null,
|
|
3634
3688
|
"legacy": null
|
|
3635
3689
|
},
|
|
3690
|
+
"preferences.tradition_toggle": {
|
|
3691
|
+
"screen": "PREFERENCES",
|
|
3692
|
+
"kind": "toggle",
|
|
3693
|
+
"description": "Opt in to or out of one traditional matching system. value = tradition id, lower-cased.",
|
|
3694
|
+
"actions": [
|
|
3695
|
+
"toggle"
|
|
3696
|
+
],
|
|
3697
|
+
"values": [
|
|
3698
|
+
"kundali",
|
|
3699
|
+
"western",
|
|
3700
|
+
"bazi",
|
|
3701
|
+
"zi_wei_dou_shu",
|
|
3702
|
+
"tzolkin",
|
|
3703
|
+
"tibetan",
|
|
3704
|
+
"hebrew",
|
|
3705
|
+
"arabic_parts",
|
|
3706
|
+
"buddhist",
|
|
3707
|
+
"celtic",
|
|
3708
|
+
"egyptian",
|
|
3709
|
+
"hellenistic",
|
|
3710
|
+
"babylonian"
|
|
3711
|
+
],
|
|
3712
|
+
"platforms": [
|
|
3713
|
+
"web",
|
|
3714
|
+
"ios",
|
|
3715
|
+
"android"
|
|
3716
|
+
],
|
|
3717
|
+
"deprecated": null,
|
|
3718
|
+
"legacy": null
|
|
3719
|
+
},
|
|
3720
|
+
"preferences.traditions_retry": {
|
|
3721
|
+
"screen": "PREFERENCES",
|
|
3722
|
+
"kind": "button",
|
|
3723
|
+
"description": "Retry loading the traditional matching systems after a failed load.",
|
|
3724
|
+
"actions": [
|
|
3725
|
+
"tap"
|
|
3726
|
+
],
|
|
3727
|
+
"values": null,
|
|
3728
|
+
"platforms": [
|
|
3729
|
+
"web",
|
|
3730
|
+
"ios",
|
|
3731
|
+
"android"
|
|
3732
|
+
],
|
|
3733
|
+
"deprecated": null,
|
|
3734
|
+
"legacy": null
|
|
3735
|
+
},
|
|
3636
3736
|
"preferences.own_suggestion_remove": {
|
|
3637
3737
|
"screen": "PREFERENCES",
|
|
3638
3738
|
"kind": "button",
|
|
@@ -4441,6 +4541,7 @@
|
|
|
4441
4541
|
"chat.message_delete": "Not built on Web: messages cannot be deleted from the Web chat.",
|
|
4442
4542
|
"chat.message_menu_open": "Web chat has no per-message long-press/context menu; there is no delete (chat.message_delete is gapped) or reaction menu to open.",
|
|
4443
4543
|
"chat.mr_onehook_close": "Web leaves Mr OneHook via the standard conversation back navigation (nav.back); there is no distinct leave-AI button.",
|
|
4544
|
+
"chat.mr_onehook_sessions_open": "Not on web: saved Mr OneHook chats are always-visible tabs, so there is no saved-chats list to open.",
|
|
4444
4545
|
"chat.profile_close": "Web toggles the peer profile panel with a single control (chat.profile_open); there is no separate close button.",
|
|
4445
4546
|
"chat.unmatch": "Web ends a connection through Block (chat.block_open); the shipped chat has no neutral unmatch control (the standalone MatchesView unmatch UI is not mounted).",
|
|
4446
4547
|
"chat.unmatch_confirm": "No neutral unmatch flow in the shipped Web chat; ending a connection goes through Report & block (chat.block_confirm).",
|
|
@@ -4453,7 +4554,6 @@
|
|
|
4453
4554
|
"discover.likes_you_open": "Likes You is a main navigation tab on Web (nav.tab_select), not a discovery button.",
|
|
4454
4555
|
"discover.preferences_open": "Match preferences are edited in the profile editor on Web; discovery has no preferences button.",
|
|
4455
4556
|
"discover.undo_button": "Web discovery has no undo; acting on a card removes it and cannot be reversed.",
|
|
4456
|
-
"discover.upgrade_open": "No discovery upgrade upsell on Web.",
|
|
4457
4557
|
"like_composer.send_without_comment": "The Web like composer requires a comment to send; there is no send-without-comment action.",
|
|
4458
4558
|
"like_composer.upgrade": "No upgrade upsell inside the Web like composer.",
|
|
4459
4559
|
"likes_you.close": "Likes You is a full navigation tab on Web, not a modal with a close control.",
|
|
@@ -4468,9 +4568,7 @@
|
|
|
4468
4568
|
"paywall.features_expand": "No in-app paywall on Web; the upgrade links to the marketing pricing page.",
|
|
4469
4569
|
"paywall.purchase": "No in-app paywall/purchase on Web; the upgrade links to the marketing pricing page.",
|
|
4470
4570
|
"paywall.restore": "No in-app membership restore on Web.",
|
|
4471
|
-
"preferences.locked_filter_tap": "No premium-locked match filters on Web; the profile shows a single Upgrade button (profile.upgrade_open).",
|
|
4472
4571
|
"preferences.save": "Match preferences are saved inline via the profile editor (profile_edit.save); the standalone PreferencesPanel is not mounted.",
|
|
4473
|
-
"preferences.upgrade_open": "No premium-locked filter upsell in Web preferences.",
|
|
4474
4572
|
"profile.chat_settings_open": "Web opens chat settings from the chat shield menu (chat.settings_open), not from the profile.",
|
|
4475
4573
|
"profile.chat_tour_open": "Not built on Web: no replay-chat-intro control in the profile.",
|
|
4476
4574
|
"profile.edit_open": "The Web profile is edited inline; there is no separate editor-open control.",
|
|
@@ -4557,6 +4655,7 @@
|
|
|
4557
4655
|
"chat.intro_tour_open": "Not built on Android: there is no in-chat intro tour invitation.",
|
|
4558
4656
|
"chat.mr_onehook_scope_open": "Not built on Android: Mr OneHook auto-scopes to the open match (shown as a status label), with no scope picker to open.",
|
|
4559
4657
|
"chat.mr_onehook_scope_select": "Not built on Android: Mr OneHook auto-scopes to the open match, with no scope picker.",
|
|
4658
|
+
"chat.mr_onehook_sessions_open": "Not on Android: saved Mr OneHook chats are always-visible tabs, so there is no saved-chats list to open.",
|
|
4560
4659
|
"chat.sensitive_reveal_confirm": "Not built on Android: peer media is blanket-blurred with single-tap reveal (tracked as chat.media_open); there is no reveal confirmation dialog.",
|
|
4561
4660
|
"chat.settings_open": "Not built on Android: no per-conversation chat settings screen.",
|
|
4562
4661
|
"chat.voice_send": "Not built on Android: a recorded voice note is sent automatically on stop, with no separate send button.",
|
|
@@ -4576,7 +4675,6 @@
|
|
|
4576
4675
|
"discover.element_like": "Not built on Android: the swipe-only deck has no per-element (comment-to-like) affordance.",
|
|
4577
4676
|
"discover.preferences_open": "Not built on Android: discovery preferences are opened from Profile, not the deck header.",
|
|
4578
4677
|
"discover.undo_button": "Not built on Android: no undo-last-decision control in the deck.",
|
|
4579
|
-
"discover.upgrade_open": "Not built on Android: no in-deck upgrade/upsell prompt.",
|
|
4580
4678
|
"discover.voice_play": "Not built on Android: discovery cards render no voice-prompt player.",
|
|
4581
4679
|
"landing.careers_apply": "Web-only: careers/apply lives on the public marketing site, not the native landing.",
|
|
4582
4680
|
"landing.chatbot_widget": "Web-only: the public chatbot widget is a marketing-site feature, absent in the app.",
|
|
@@ -4619,8 +4717,6 @@
|
|
|
4619
4717
|
"paywall.purchase": "Not built on Android: membership is reconciled from billing (restore), with no in-app purchase/tier picker.",
|
|
4620
4718
|
"photo_viewer.next": "Not built on Android: the photo viewer shows a single photo with no next control.",
|
|
4621
4719
|
"photo_viewer.previous": "Not built on Android: the photo viewer shows a single photo with no previous control.",
|
|
4622
|
-
"preferences.locked_filter_tap": "Not built on Android: preferences have no locked/premium filters to tap.",
|
|
4623
|
-
"preferences.upgrade_open": "Not built on Android: preferences have no locked/premium filter upsell.",
|
|
4624
4720
|
"profile.chat_settings_open": "Not built on Android: no chat-settings entry on the profile.",
|
|
4625
4721
|
"profile.chat_tour_open": "Not built on Android: no replay-chat-intro entry (the chat intro tour is not built).",
|
|
4626
4722
|
"profile.invite_code_copy": "Not built on Android: invites are generated and shared in one step via the system share sheet (profile.share_invite); no generated-code screen with a copy control.",
|
|
@@ -5111,5 +5207,5 @@
|
|
|
5111
5207
|
}
|
|
5112
5208
|
}
|
|
5113
5209
|
},
|
|
5114
|
-
"hash": "
|
|
5210
|
+
"hash": "4d228919bd9883a5"
|
|
5115
5211
|
}
|