As a Reader or Editor on a Wikibase that uses federated properties, I want to know when I am leaving my local Wikibase so that it is not surprising to find myself on a page in the source wiki.
In the MVP, users will be redirected to Wikidata to do things like view details of federated properties used in statements, and view details of properties linked within edit summaries. Users should be notified that they are about to leave their local Wikibase environment when they click on a link that redirects them to Wikidata.org.
BDD (Scenario: selecting a link to a remote property)
Given The local item page or an edit summary displays a statement that was made using a federated property
When I click on the hyperlinked label of the federated property
Then a popup is displayed that I must leave my local wikibase [see mock]
BDD (Scenario: continuing to view the property page)
Given I have clicked a link to a remote property and the popup notification has displayed
WhenI select "Continue to the source wiki"
Then the property page on the source Wiki (e.g. Wikidata) opens according to my default browser behavior
BDD (Scenario: I choose not to leave my Wikibase)
Given I have clicked a link to a remote property and the popup notification has displayed
WhenI select "cancel"
Then the popup notification is dismissed
And I remain on the page
Mock (Updated to match OOUI as much as possible)
Link to original design in Figma.