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

Rearrange Settings #872

Merged
merged 13 commits into from
Jan 30, 2024
Merged

Rearrange Settings #872

merged 13 commits into from
Jan 30, 2024

Conversation

Sjmarf
Copy link
Contributor

@Sjmarf Sjmarf commented Jan 21, 2024

This PR moves some settings to different menus. It also includes some minor design Settings design touch-ups.

Account -> Local Options

This new section contains the settings that are stored per-account locally within Mlem. Currently, this constitutes the Account Nickname setting (which has been moved from Appearance -> Tab Bar) and the "Delete Community Favorites" button (which has been moved from General).

Because the account nickname is visible in the account switcher in addition to the tab bar, I think it fits better in Account Settings than Tab Bar settings.

In future, when we add an option for per-account Face ID Lock, that setting will go here as well.

Accounts -> Quick Switcher

I've moved the "Swipe up for Account Switcher" option from Appearance -> Tab Bar to a new "Quick Switcher" submenu inside of the Accounts page. It's not an appearance setting, so it doesn't make sense for it to be under Appearance (I knew this when I added it, but couldn't be bothered to make a new menu at the time lol). This page lets you enable/disable the long press and swipe activation methods, and plays short animations showing how to use each gesture.

RPReplay_Final1705879843.mov

This has the added benefit of letting the user know that the Long Press gesture exists - we didn't tell the user about this anywhere previously.

If the user only has two accounts, the "Quick Switcher" NavigationLink is replaced by a tip that tells you about the long-press gesture:

Untitled.mp4

I'm aware that these animations are overkill lol, but I wanted to play with the new iOS 17 PhaseAnimator. This does have the unfortunate side effect of the animations not being visible pre-iOS 17 though.

Tab Bar Appearance Settings

As mentioned above, the nickname field has been moved from this page to the new "Local Options" page, and the "Swipe up for Account Switcher" option has been moved to Accounts.

I've redesigned the Profile Icon Appearance setting here, too:

You may notice that I've removed the "username" option, and set "nickname" as the new default. My rationale for this is that if the user sets a nickname, they probably want it to be consistent everywhere in Mlem. So, the "username" setting didn't make much sense to me - why hide a nickname that you've chosen to set? Lmk if you disagree with this change.

@Sjmarf Sjmarf requested a review from a team as a code owner January 21, 2024 23:45
@Sjmarf Sjmarf requested review from mormaer and ShadowJonathan and removed request for a team January 21, 2024 23:45
@Sjmarf Sjmarf added the ui Related to UI Fixes label Jan 21, 2024
@Sjmarf Sjmarf added this to the v1.2 milestone Jan 29, 2024
Copy link
Member

@EricBAndrews EricBAndrews left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Sjmarf Sjmarf enabled auto-merge (squash) January 30, 2024 11:38
@Sjmarf Sjmarf merged commit 1ac5d22 into dev Jan 30, 2024
4 checks passed
@Sjmarf Sjmarf deleted the sjmarf/settings-tweaks branch January 30, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Related to UI Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants