mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	tooltips: Update content of Narrow-to toolips.
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							03cfb3d9fe
						
					
				
				
					commit
					3d3d30166d
				
			@@ -113,7 +113,7 @@ async function test_open_close_compose_box(page: Page): Promise<void> {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
async function test_narrow_to_private_messages_with_cordelia(page: Page): Promise<void> {
 | 
					async function test_narrow_to_private_messages_with_cordelia(page: Page): Promise<void> {
 | 
				
			||||||
    const you_and_cordelia_selector =
 | 
					    const you_and_cordelia_selector =
 | 
				
			||||||
        '*[data-tippy-content="Narrow to your direct messages with Cordelia, Lear\'s daughter"]';
 | 
					        '*[data-tippy-content="Go to direct messages with Cordelia, Lear\'s daughter"]';
 | 
				
			||||||
    // For some unknown reason page.click() isn't working here.
 | 
					    // For some unknown reason page.click() isn't working here.
 | 
				
			||||||
    await page.evaluate(
 | 
					    await page.evaluate(
 | 
				
			||||||
        (selector: string) => document.querySelector<HTMLElement>(selector)!.click(),
 | 
					        (selector: string) => document.querySelector<HTMLElement>(selector)!.click(),
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@
 | 
				
			|||||||
        {{! stream link }}
 | 
					        {{! stream link }}
 | 
				
			||||||
        <a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
 | 
					        <a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
 | 
				
			||||||
          href="{{stream_url}}"
 | 
					          href="{{stream_url}}"
 | 
				
			||||||
          data-tippy-content="{{t 'Narrow to stream "{display_recipient}"' }}">
 | 
					          data-tippy-content="{{t 'Go to #{display_recipient}' }}">
 | 
				
			||||||
            <span class="stream-privacy-modified-color-{{stream_id}} stream-privacy filter-icon"  style="color: {{stream_privacy_icon_color}}">
 | 
					            <span class="stream-privacy-modified-color-{{stream_id}} stream-privacy filter-icon"  style="color: {{stream_privacy_icon_color}}">
 | 
				
			||||||
                {{> stream_privacy}}
 | 
					                {{> stream_privacy}}
 | 
				
			||||||
            </span>
 | 
					            </span>
 | 
				
			||||||
@@ -22,7 +22,7 @@
 | 
				
			|||||||
            {{! topic link }}
 | 
					            {{! topic link }}
 | 
				
			||||||
            <a class="message_label_clickable narrows_by_topic tippy-narrow-tooltip"
 | 
					            <a class="message_label_clickable narrows_by_topic tippy-narrow-tooltip"
 | 
				
			||||||
              href="{{topic_url}}"
 | 
					              href="{{topic_url}}"
 | 
				
			||||||
              data-tippy-content="{{t 'Narrow to stream "{display_recipient}", topic "{topic}"' }}">
 | 
					              data-tippy-content="{{t 'Go to #{display_recipient} > {topic}' }}">
 | 
				
			||||||
                {{#if use_match_properties}}
 | 
					                {{#if use_match_properties}}
 | 
				
			||||||
                    {{{match_topic}}}
 | 
					                    {{{match_topic}}}
 | 
				
			||||||
                {{else}}
 | 
					                {{else}}
 | 
				
			||||||
@@ -82,7 +82,7 @@
 | 
				
			|||||||
    <div class="message-header-contents">
 | 
					    <div class="message-header-contents">
 | 
				
			||||||
        <a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
 | 
					        <a class="message_label_clickable narrows_by_recipient stream_label tippy-narrow-tooltip"
 | 
				
			||||||
          href="{{pm_with_url}}"
 | 
					          href="{{pm_with_url}}"
 | 
				
			||||||
          data-tippy-content="{{t 'Narrow to your direct messages with {display_reply_to}' }}">
 | 
					          data-tippy-content="{{t 'Go to direct messages with {display_reply_to}' }}">
 | 
				
			||||||
        <span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>
 | 
					        <span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>
 | 
				
			||||||
        {{t "You and {display_reply_to}" }}
 | 
					        {{t "You and {display_reply_to}" }}
 | 
				
			||||||
        </a>
 | 
					        </a>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user