-
Notifications
You must be signed in to change notification settings - Fork 243
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
feat: add block user option on post context menu #4053
Merged
ilasw
merged 32 commits into
MI-655-report-and-block-user
from
MI-717-block-user-on-post-context-menu
Jan 16, 2025
Merged
Changes from 30 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5a17ffe
feat: ReportUserModal
AmarTrebinjac 0540f79
formatting
AmarTrebinjac 8be4262
lint
AmarTrebinjac eef302c
remove unnecessary check
AmarTrebinjac 63e5977
update conditional
AmarTrebinjac 88066b5
Merge branch 'MI-741' of https://github.com/dailydotdev/apps into MI-…
ilasw 08de8e0
feat: add block user option in post context menu
ilasw aa74858
remove need to pass onClose
AmarTrebinjac 9b01e41
capitalize values
AmarTrebinjac aecc124
Merge branch 'MI-741' of https://github.com/dailydotdev/apps into MI-…
ilasw 4388eb2
feat: add optimistic update on unblock
ilasw 02706e2
Merge branch 'MI-655-report-and-block-user' of https://github.com/dai…
ilasw f9f7bbc
Merge branch 'MI-655-report-and-block-user' of https://github.com/dai…
ilasw 0271bc1
feat: refactor avoiding additional query
ilasw 3d6d522
fix: ssr error
ilasw b2ac887
Merge branch 'MI-655-report-and-block-user' into MI-717-block-user-on…
ilasw a8194bf
feat: add contentPreference data for author
ilasw a190049
Merge branch 'MI-655-report-and-block-user' into MI-717-block-user-on…
ilasw a4d967d
Merge branch 'MI-717-block-user-on-post-context-menu' of https://gith…
ilasw e3dd167
Merge branch 'MI-655-report-and-block-user' of https://github.com/dai…
ilasw 7abf0c8
feat: hide follow option for blocked users, change source block label;
ilasw 50466d5
feat: clear cache on block
ilasw fcb8a0d
Merge branch 'MI-655-report-and-block-user' into MI-717-block-user-on…
ilasw 1fd60e5
feat: block on custom feed feature
ilasw 921f5cf
Merge remote-tracking branch 'origin/MI-717-block-user-on-post-contex…
ilasw ed004e1
test: update label for block/unblock
ilasw 38898f5
Merge branch 'MI-655-report-and-block-user' into MI-717-block-user-on…
ilasw adbb414
refactor: invalidate cache is not a utility
ilasw 10cdb3d
feat: added new labels and block directly without report modal
ilasw 63da103
Merge branch 'MI-655-report-and-block-user' into MI-717-block-user-on…
ilasw 8a92e2f
feat: hide post from feed and add undo action to toast
ilasw 7a582eb
Merge remote-tracking branch 'origin/MI-717-block-user-on-post-contex…
ilasw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think we could just call this getBlockLabel