Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integrations: Refine Mention example screenshot.

Niloth P619ada36ed65
diff --git a/static/images/integrations/mention/001.png b/static/images/integrations/mention/001.png
index 55c12fccc68..49d27012018 100644
Binary files a/static/images/integrations/mention/001.png and b/static/images/integrations/mention/001.png differ
diff --git a/zerver/webhooks/mention/fixtures/webfeeds.json b/zerver/webhooks/mention/fixtures/webfeeds.json
index 6b3531f849a..dfd5e02c688 100644
--- a/zerver/webhooks/mention/fixtures/webfeeds.json
+++ b/zerver/webhooks/mention/fixtures/webfeeds.json
@@ -11,12 +11,12 @@
"children": "",
"logs": "",
"display_site": "True",
- "title": "Historical Sexual Abuse (Football): 29 Nov 2016: House of Commons debates - TheyWorkForYou",
+ "title": "Travel Industry Sees Surge in Eco-Tourism (Travel): 29 Nov 2024: Global Tourism - TheyWorkForYou",
"tags": "",
"id": "121983065969",
"description_short": "\u2026 Child sex abuse is an exceptionally vile crime, and all of Government take it very \u2026",
"trashed": "False",
- "description": "\u2026 Culture, Media and Sport\nNothing is more important than keeping children safe. Child sex abuse is an exceptionally vile crime, and all of Government take it very seriously indeed, as I know this House does.\nChildren up and down the country are \u2026",
+ "description": "\u2026 Tourism, Culture and Heritage\nMore travelers prioritize environmental sustainability, driving growth in eco-friendly accommodations and activities. Popular destinations include Costa Rica and \u2026",
"offsets": {
"source_name": "",
"description": "122,122,5,5",
diff --git a/zerver/webhooks/mention/tests.py b/zerver/webhooks/mention/tests.py
index da2fed593bd..4153e70def6 100644
--- a/zerver/webhooks/mention/tests.py
+++ b/zerver/webhooks/mention/tests.py
@@ -9,11 +9,10 @@ class MentionHookTests(WebhookTestCase):
def test_mention_webfeed(self) -> None:
expected_topic_name = "news"
expected_message = """
-**[Historical Sexual Abuse (Football): 29 Nov 2016: House of Commons debates - TheyWorkForYou](https://www.theyworkforyou.com/debates/?id=2016-11-29b.1398.7&p=24887)**:
+**[Travel Industry Sees Surge in Eco-Tourism (Travel): 29 Nov 2024: Global Tourism - TheyWorkForYou](https://www.theyworkforyou.com/debates/?id=2016-11-29b.1398.7&p=24887)**:
``` quote
-\u2026 Culture, Media and Sport\nNothing is more important than keeping children safe. Child sex abuse is an exceptionally vile crime, and all of Government take it very seriously indeed, as I know this House does.
-Children up and down the country are \u2026
+\u2026 Tourism, Culture and Heritage\nMore travelers prioritize environmental sustainability, driving growth in eco-friendly accommodations and activities. Popular destinations include Costa Rica and \u2026
```
""".strip()