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

Onboarding flows: SB page improvements, timeouts removal and other minor fixes #17048

Merged
merged 6 commits into from
Jan 10, 2025

Conversation

micieslak
Copy link
Member

What does the PR do

  • exposes states controlling the flow to the Storybook page
  • makes the Storybook page easier to use by adding contextual actions depending on the current page
  • fixes some missing interactions with the store
  • removes some timeouts that should not be handled directly on the ui level
  • makes unit test for OnboardingLayout very fast

Closes: #17030
Closes: #17031
Closes: #17032

Affected areas

Onboarding flows

Architecture compliance

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it

@status-im-auto
Copy link
Member

status-im-auto commented Jan 9, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 015bf15 #1 2025-01-09 22:11:30 ~8 min tests/nim 📄log
✔️ 015bf15 #1 2025-01-09 22:12:20 ~9 min macos/aarch64 🍎dmg
015bf15 #1 2025-01-09 22:14:39 ~12 min tests/ui 📄log
✔️ 015bf15 #1 2025-01-09 22:19:33 ~17 min linux-nix/x86_64 📦tgz
✔️ 015bf15 #1 2025-01-09 22:20:24 ~17 min macos/x86_64 🍎dmg
✔️ 015bf15 #1 2025-01-09 22:24:24 ~21 min windows/x86_64 💿exe
✔️ 015bf15 #1 2025-01-09 22:24:41 ~22 min linux/x86_64 📦tgz
✔️ a2c3aa3 #2 2025-01-10 09:06:49 ~6 min macos/aarch64 🍎dmg
✔️ a2c3aa3 #2 2025-01-10 09:08:39 ~8 min tests/nim 📄log
a2c3aa3 #2 2025-01-10 09:12:27 ~12 min tests/ui 📄log
✔️ a2c3aa3 #2 2025-01-10 09:15:10 ~15 min macos/x86_64 🍎dmg
✔️ a2c3aa3 #2 2025-01-10 09:19:27 ~19 min linux/x86_64 📦tgz
✔️ a2c3aa3 #2 2025-01-10 09:20:25 ~20 min windows/x86_64 💿exe
✔️ a2c3aa3 #2 2025-01-10 09:21:34 ~21 min linux-nix/x86_64 📦tgz
a2c3aa3 #3 2025-01-10 10:21:49 ~12 min tests/ui 📄log

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

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

Nice work overall! My only doubt is about those timeouts and the PIN pages still working fine

storybook/pages/OnboardingLayoutPage.qml Outdated Show resolved Hide resolved
storybook/pages/OnboardingLayoutPage.qml Show resolved Hide resolved
@micieslak micieslak force-pushed the feat/issue-17030-17031-17032 branch from 015bf15 to a2c3aa3 Compare January 10, 2025 08:59
@micieslak
Copy link
Member Author

Nice work overall! My only doubt is about those timeouts and the PIN pages still working fine

@caybro I addressed your comments and added one more commit (externalizing metrics, as you suggested in the comment in code). Please take a look once again.

@micieslak micieslak requested a review from caybro January 10, 2025 09:09
Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

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

Nice!

"usage_data_shared",
{ placement: Constants.metricsEnablePlacement.onboarding })
localAppSettings.metricsPopupSeen = true
}
Copy link
Member

Choose a reason for hiding this comment

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

Good move imo; this is mainly for @jrainville, I guess you'll want to handle this signal yourself from now in main.qml


readonly property alias stack: stack

signal shareUsageDataRequested(bool enabled)
Copy link
Member

Choose a reason for hiding this comment

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

This is the one to hook into @jrainville

Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

Nice work

@micieslak micieslak merged commit a6d3044 into feat/onboarding-rework-1 Jan 10, 2025
7 of 9 checks passed
@micieslak micieslak deleted the feat/issue-17030-17031-17032 branch January 10, 2025 17:15
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.

4 participants