Add customer profile name editing for operator

This commit is contained in:
Yera All
2026-04-08 15:13:05 +05:00
parent fa2ea1ef03
commit 6f25de1f62
4 changed files with 234 additions and 19 deletions
+8 -2
View File
@@ -315,6 +315,10 @@ def test_operator_ui_can_fix_customer_name_from_call_views():
assert 'id="browserPhoneEditNameBtn"' in index_html
assert "function openLiveCallNameEditor" in app_js
assert "function saveLiveCallCustomerName" in app_js
assert "function saveCustomerProfileName" in app_js
assert "function openCustomerProfileNameEditor" in app_js
assert "data-customer-name-form" in app_js
assert 'data-customer-action="edit-name"' in app_js
assert "function applyCustomerNamePatchLocally" in app_js
assert "function updateLiveCallNameEditorsUi" in app_js
assert "function handleLiveCallTableClick" in app_js
@@ -323,6 +327,8 @@ def test_operator_ui_can_fix_customer_name_from_call_views():
assert ".live-call-name-editor {" in styles_css
assert ".call-window-name-editor {" in styles_css
assert ".live-call-card-actions {" in styles_css
assert ".customer-profile-name-editor {" in styles_css
assert ".customer-profile-name-row {" in styles_css
def test_operator_ui_surfaces_voice_name_state_across_call_views():
@@ -343,8 +349,8 @@ def test_operator_ui_surfaces_voice_name_state_across_call_views():
assert ".micro-badge.name-confirmed {" in styles_css
assert ".micro-badge.name-followup {" in styles_css
assert ".micro-badge.name-missing {" in styles_css
assert "/operator/assets/styles.css?v=track21-voice-name-edit1" in index_html
assert "/operator/assets/app.js?v=track40-voice-name-edit1" in index_html
assert "/operator/assets/styles.css?v=track22-customer-profile-name1" in index_html
assert "/operator/assets/app.js?v=track41-customer-profile-name1" in index_html
def test_operator_ui_hides_whatsapp_behind_feature_flag():