Page MenuHomePhabricator

Use dialog window instead of notification when there is already a sitelink
Closed, ResolvedPublic

Assigned To
Authored By
HMonroy
Feb 7 2024, 5:56 AM
Referenced Files
F46169058: 2024-04-12_13-30-44.png
Apr 12 2024, 8:51 PM
F46168981: 2024-04-11_14-41-25.png
Apr 12 2024, 8:51 PM
F46170247: 2024-04-12_13-43-35.png
Apr 12 2024, 8:51 PM
F46170232: 2024-04-12_13-43-48.png
Apr 12 2024, 8:51 PM
F46169964: 2024-04-12_13-41-03.png
Apr 12 2024, 8:51 PM
F46169939: 2024-04-12_13-40-25.png
Apr 12 2024, 8:51 PM
F46169929: 2024-04-12_13-39-53.png
Apr 12 2024, 8:51 PM
F46169909: 2024-04-12_13-41-35.png
Apr 12 2024, 8:51 PM

Description

Currently autosuggest populates in a notification toast when:

  • The page is already linked.

It should always use Dialog window. It should be the same message as the existing Notification toast.

Example when notification is loaded: https://commons.wikimedia.org/wiki/Category:Signal_towers

This task was created as part of Wikimedia Wishathon 2024

QA Results - Meta Wiki

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Show 'already linked' message in Dialog rather than notificationrepos/commtech/autosuggest-sitelink!50samwilsonalready-linked-T356837main
Customize query in GitLab

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Samwilson @HMonroy Autosuggest uses a dialog window beside a notification as seen in the screenshots below. I do have a possible design question on it at the bottom. Regardless this task will be moved to Done since the actual description passes. Thanks for all your work!

Status: ✅PASS
Environment: Meta Wiki
OS: macOS Sonoma 14.4.1
Browser: Chrome 123, Firefox 123, Safari 17.3
Skins. Vector 2022, Vector 2010, Minerva, Monobook, Timeless
Device: MBA M2
Emulated Device:: n/a
Test Links:
https://meta.wikimedia.org/wiki/WikiWomen%27s_Collaborative/Events/zh-cn
https://meta.wikimedia.org/wiki/Movement_Charter/Drafting_Committee/Announcement_2021_09_20/Short/fr
https://meta.wikimedia.org/wiki/Don%27t_be_a_jerk

✅AC1: https://phabricator.wikimedia.org/T356837

Previous- New itemCurrent- New ItemCurrent- Item Link
2024-04-11_14-27-01.png (1,884×1,290 px, 253 KB)
2024-04-11_14-41-25.png (1,659×1,168 px, 292 KB)
2024-04-12_13-30-44.png (1,597×1,253 px, 399 KB)
Vector 2022Vector 2010MinervaMonobookTimeless
2024-04-11_14-41-25.png (1,659×1,168 px, 292 KB)
2024-04-12_13-41-35.png (2,784×1,141 px, 462 KB)
2024-04-12_13-39-53.png (1,061×874 px, 101 KB)
2024-04-12_13-40-25.png (2,798×1,081 px, 201 KB)
2024-04-12_13-41-03.png (1,765×1,275 px, 449 KB)
ChromeFirefoxSafari
F46168567}
2024-04-12_13-43-48.png (1,581×1,061 px, 220 KB)
2024-04-12_13-43-35.png (1,351×776 px, 168 KB)

Possible minor design issue- Should you remove "Submit" and move the Help icon to that spot since there is no purpose for the "Submit" which is greyed out anyway?

2024-04-11_14-41-25.png (1,659×1,168 px, 292 KB)
2024-04-12_13-30-44.png (1,597×1,253 px, 398 KB)