status-desktop/storybook/pages/IntroduceYourselfPopupPage.qml
Lukáš Tinkl 5cf9e4f838 feat(Post Onboarding): Introduce yourself popup
- popup displayed only ever once
- triggered when section is switched to anything else than wallet
(default for new users) or settings (profile visible first anyway)
- add the popup to SB

Fixes #17027
2025-01-30 18:00:18 +01:00

30 lines
636 B
QML

import QtQuick 2.15
import QtQuick.Controls 2.15
import Storybook 1.0
import shared.popups 1.0
Item {
Button {
anchors.centerIn: parent
text: "Reopen"
onClicked: popup.open()
}
IntroduceYourselfPopup {
id: popup
visible: true
closePolicy: Popup.NoAutoClose
pubKey: "zQ3shW234234EA4545545rhf"
colorId: 0
colorHash: [{colorId: 9, segmentLength: 1}, {colorId: 7, segmentLength: 3}, {colorId: 10, segmentLength: 2}]
onAccepted: console.warn("onAccepted")
onClosed: console.warn("onClosed")
}
}
// category: Popups
// status: good