-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Lists updates: curate lists and blocklists #1689
Conversation
a96b96a
to
72f9468
Compare
…erators and lists
7355dbb
to
c104dba
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.
Works great! No visible issues so far, so pumped for this. Just submitting a partial review, will keep on it tomorrow ✌️
list.cacheAddMember(profile) | ||
} | ||
}, | ||
onRemove(listUri: string) { | ||
if (listUri === list.uri) { | ||
list.cacheRemoveMember(profile) |
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.
Can these optimistic updates happen in the actual add/remove methods? Just feels odd to have them over here separate.
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.
That modal uses a different set of ListModels that aren't shared by the one showing the user, unfortunately
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.
Seems to work great 👍
|
||
const onPressAvi = React.useCallback(() => { | ||
if ( | ||
avatar // TODO && !(view.moderation.avatar.blur && view.moderation.avatar.noOverride) |
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.
TODO?
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.
yeah we'll come back to it when mod labels get added to lists or feeds
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.
*slow chant of paul paul paul paul PAULPAULPAUL*
Co-authored-by: Eric Bailey <[email protected]>
This PR:
Technical updates:
Tabs
component for creating tabbed interfaces with headersStill todo:
Moderation labels on listsblocked by backend, filed an issue