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

Restructured onboarding #613

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Restructured onboarding #613

merged 3 commits into from
Sep 18, 2023

Conversation

mormaer
Copy link
Contributor

@mormaer mormaer commented Sep 16, 2023

Checklist

  • I have read CONTRIBUTING.md
  • I have described what this PR contains
  • This PR addresses one or more open issues that were assigned to me:
    - Partially addresses Onboarding Enhancements #534
  • If this PR alters the UI, I have attached pictures/videos

Pull Request Information

About this Pull Request

This PR makes some changes to our onboarding to split the new and existing user flows into separate navigation stacks rather than a single tab view. This was discussed in the dev chat the other week and agreed.

In addition to this there is a basic transition flow now shown when the application changes its flow. This is mostly to hide the janky-jank that happens when we're trying to do things like dismissing modals but at the same time we want to rebuild the applications views from the root.

The view itself is basic and just displays a spinner and some text, we can iterate on this and make it fancy if we like, however it will only be shown momentarily so I've not gone any further with it in this PR.

I've also removed the What is Lemmy? link from the add account screen in this PR. With onboarding now present the two ways this screen is accessed is either from inside the application where the user already has an account (so knows what Lemmy is) or via the new user flow which has screens dedicated to explaining Lemmy/Federation.

Screenshots and Videos

NEW FLOW
onboarding.mov

Additional Context

There is still an issue present in onboarding due to the use of our LazyVStack inside the instances view, which causes problems if you scroll up/down the list. We have discussed limiting the number of instances shown to ~30, allowing us to use a VStack which resolves this problem.

I'll do that, and add basic search functionality to the instances in my next PR.

@mormaer mormaer requested a review from a team as a code owner September 16, 2023 16:48
@mormaer mormaer requested review from ShadowJonathan and EricBAndrews and removed request for a team September 16, 2023 16:48
@mormaer mormaer force-pushed the restructure_onboarding branch 2 times, most recently from f1b2a18 to b457d51 Compare September 17, 2023 18:02
Copy link
Member

@Sjmarf Sjmarf left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mormaer mormaer force-pushed the restructure_onboarding branch from b457d51 to 0cf0e0e Compare September 18, 2023 18:37
@mormaer mormaer merged commit 8f1f9a9 into dev Sep 18, 2023
4 checks passed
@mormaer mormaer deleted the restructure_onboarding branch September 18, 2023 18:44
boscojwho added a commit that referenced this pull request Sep 19, 2023
* dev:
  Restructured onboarding (#613)
  bumped version (#624)
  Added a "classic Lemmy" icon (#619)
  Hacked images to be smooth for TF release (#614)
  SiteVersion enum (#604)

# Conflicts:
#	Mlem/Views/Shared/Links/Community/CommunityLinkView.swift
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.

2 participants