Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Post Onboarding): Introduce yourself popup #17044

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

caybro
Copy link
Member

@caybro caybro commented Jan 9, 2025

What does the PR do

  • 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

Affected areas

AppMain

Architecture compliance

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it
Zaznam.obrazovky.z.2025-01-09.20-38-36.mp4

image

@caybro caybro linked an issue Jan 9, 2025 that may be closed by this pull request
@caybro caybro force-pushed the 17027-post-onboarding-introduce-yourself branch from 658f794 to 4b27cfb Compare January 9, 2025 19:52
@status-im-auto
Copy link
Member

status-im-auto commented Jan 9, 2025

Jenkins Builds

Click to see older builds (14)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 4b27cfb #2 2025-01-09 20:00:01 ~7 min macos/aarch64 🍎dmg
✔️ 4b27cfb #2 2025-01-09 20:01:55 ~9 min tests/nim 📄log
✔️ 4b27cfb #2 2025-01-09 20:04:46 ~11 min tests/ui 📄log
✔️ 4b27cfb #2 2025-01-09 20:10:47 ~17 min macos/x86_64 🍎dmg
✔️ 4b27cfb #3 2025-01-09 20:11:07 ~17 min linux-nix/x86_64 📦tgz
✔️ 4b27cfb #2 2025-01-09 20:11:16 ~18 min linux/x86_64 📦tgz
✔️ 4b27cfb #2 2025-01-09 20:16:39 ~23 min windows/x86_64 💿exe
✔️ df4f12e #3 2025-01-09 21:08:01 ~7 min macos/aarch64 🍎dmg
✔️ df4f12e #3 2025-01-09 21:09:05 ~8 min tests/nim 📄log
✔️ df4f12e #3 2025-01-09 21:11:52 ~11 min macos/x86_64 🍎dmg
✔️ df4f12e #3 2025-01-09 21:13:15 ~12 min tests/ui 📄log
✔️ df4f12e #4 2025-01-09 21:14:58 ~14 min linux-nix/x86_64 📦tgz
✔️ df4f12e #3 2025-01-09 21:19:14 ~18 min linux/x86_64 📦tgz
✔️ df4f12e #3 2025-01-09 21:21:50 ~21 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 5842678 #4 2025-01-10 08:22:15 ~6 min macos/aarch64 🍎dmg
✔️ 5842678 #4 2025-01-10 08:25:06 ~9 min tests/nim 📄log
✔️ 5842678 #4 2025-01-10 08:27:56 ~12 min tests/ui 📄log
✔️ 5842678 #4 2025-01-10 08:28:43 ~12 min macos/x86_64 🍎dmg
✔️ 5842678 #5 2025-01-10 08:31:07 ~15 min linux-nix/x86_64 📦tgz
✔️ 5842678 #4 2025-01-10 08:35:33 ~19 min linux/x86_64 📦tgz
✔️ 5842678 #4 2025-01-10 08:38:59 ~23 min windows/x86_64 💿exe
✔️ dd37efd #5 2025-01-29 16:27:37 ~7 min macos/aarch64 🍎dmg
✔️ dd37efd #5 2025-01-29 16:27:59 ~7 min tests/nim 📄log
dd37efd #5 2025-01-29 16:33:12 ~12 min tests/ui 📄log
✔️ dd37efd #5 2025-01-29 16:34:27 ~13 min macos/x86_64 🍎dmg
✔️ dd37efd #5 2025-01-29 16:41:55 ~21 min linux/x86_64 📦tgz
✔️ dd37efd #6 2025-01-29 16:43:25 ~22 min linux-nix/x86_64 📦tgz
✔️ dd37efd #5 2025-01-29 16:44:35 ~23 min windows/x86_64 💿exe
dd37efd #6 2025-01-29 18:13:40 ~13 min tests/ui 📄log
✔️ dd37efd #7 2025-01-29 18:47:59 ~12 min tests/ui 📄log

@caybro caybro force-pushed the 17027-post-onboarding-introduce-yourself branch 2 times, most recently from df4f12e to 5842678 Compare January 10, 2025 08:15
- 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
@caybro caybro force-pushed the 17027-post-onboarding-introduce-yourself branch from 5842678 to dd37efd Compare January 29, 2025 16:20
@caybro caybro marked this pull request as ready for review January 29, 2025 16:21
@caybro caybro requested review from micieslak, alexjba and a team as code owners January 29, 2025 16:21
@caybro caybro requested review from jrainville and igor-sirotin and removed request for a team January 29, 2025 16:21
onCurrentIndexChanged: {
const sectionType = appMain.rootStore.mainModuleInst.activeSection.sectionType
if (sectionType !== Constants.appSection.profile && sectionType !== Constants.appSection.wallet) {
d.maybeDisplayIntroduceYourselfPopup()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since maybeDisplayIntroduceYourselfPopup is only used once, I'd feel fine moving its code here

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

import QtQuick 2.15
import QtQuick.Controls 2.15

import Storybook 1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used

IntroduceYourselfPopup {
id: popup
visible: true
closePolicy: Popup.NoAutoClose
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for consistency: anchors.centerIn: parent

@caybro caybro merged commit 5cf9e4f into master Jan 30, 2025
9 checks passed
@caybro caybro deleted the 17027-post-onboarding-introduce-yourself branch January 30, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Post Onboarding] Introduce yourself
4 participants