Background
Behaviour
From T374869: Design an auto-reveal mode for temporary account IPs:
- Once enabled, a persistent icon button will display in the bottom-right of the screen.
- Clicking the icon button launches a panel with the following components:
- Countdown timer
- Button to extend session duration
- Button to disable the mode
- User can disable the feature by clicking the "turn off" button that displays in the bottom-right panel
Skin support
From T385823: IP Auto-reveal: finalise remaining product specs:
- Which features should be available in which skins?
- Basic on/off functionality in all skins
- Ability to manage expiry time / see expiry warning in Vector
- Stretch goal: ideally manage expiry time/see expiry would also be in Vector legacy, Timeless and Minerva
Technical notes
The management button should be appended to a dock that is added to the page using:
$( mw.util.addPortletLink( 'p-dock-bottom', '#', '' ) )
Acceptance criteria
Identify how we will know the task is done. Make these checkboxes specific, so that QA can meaningfully review completion.
- When IP auto-reveal mode is on, there is a persistent button at the bottom of the page that opens a panel as specified
- When IP auto-reveal mode is off, the button is not present
- Document on our technical documentation that IP reveal uses the bottom tool menu and that conflicting gadgets should use the same menu
