-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
case let .requestFollowSuggestion(neighbor): | ||
return update( | ||
state: state, | ||
actions: [ | ||
.form(.didField(.reset)), | ||
.form(.petnameField(.reset)), | ||
.form(.didField(.setValue(input: neighbor.identity.description))), | ||
.form(.petnameField(.setValue(input: neighbor.name.description))) | ||
], | ||
environment: environment | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-populate the Add User form with the best name + DID
@@ -102,6 +102,7 @@ struct NotebookNavigationView: View { | |||
} | |||
} | |||
} | |||
.ignoresSafeArea(.keyboard, edges: .bottom) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An attempt to fix the strange cutoff BG issue we've seen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few design notes and a question. Otherwise LGTM.
Amazing work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High-level design feedback:
- Tapping follow button on discover tab should show toggle follow/unfollow instead of disappearing user you followed.
- Allows undoing accidental follows
- Does not need to show up next time you load the view
- "Follow a user" suggestions should show same view as discover.
- Don't show DID. Too intimidating. We only show DID as a last resort when scanning or manually entering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me, I think there's room for visual improvement on the DiscoverUserView
component in general but I didn't want to overcook the first pass.
xcode/Subconscious/Shared/Components/Common/Profile/Sheets/FollowNewUserFormSheet.swift
Show resolved
Hide resolved
Also fetch all following peers when listing neighbors
Also show PFPs
e0f62c2
to
1aae79d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #1084
We need to consider that neighbors won't be indexed retroactively unless we choose to re-index from sphere creation.
Changes
neighbor
sScreen.Recording.2024-02-20.at.2.38.43.pm.mov