diff options
author | Eric Bailey <git@esb.lol> | 2025-02-28 17:14:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-28 17:14:02 -0600 |
commit | 3be9dde92d64ec540a9097f369d64580fae75fa0 (patch) | |
tree | 49fa640a660af26a51ffa9b3aab2d1b169210048 /src/view/com/profile/ProfileMenu.tsx | |
parent | 96f4f6359add6a4f2a37df8f17cf3f2f59f0a2a6 (diff) | |
download | voidsky-3be9dde92d64ec540a9097f369d64580fae75fa0.tar.zst |
New reporting flow (#7832)
* Add option to align web dialogs to top * Add new wait util * Pipe through feed view to feed components * Reset unneeded change to main * Copy over fresh report dialog based on old * Hack in temp testing data * Swap in new dialog in all cases but chat * Cleanup * Add load and initial error state * Fill in states * Add copyright link * Handle single labeler case * Comment out debug code * Improve centering of type in circles * Open details if Other is selected * Remove debug code * Tweak colors * Bump SDK * Tweak Admonition for better x-platform styles * Add retry button * Add close button * Remove todo not covered in this PR * Translate Retry
Diffstat (limited to 'src/view/com/profile/ProfileMenu.tsx')
-rw-r--r-- | src/view/com/profile/ProfileMenu.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/view/com/profile/ProfileMenu.tsx b/src/view/com/profile/ProfileMenu.tsx index 1d9c7a8e4..ab953f6fa 100644 --- a/src/view/com/profile/ProfileMenu.tsx +++ b/src/view/com/profile/ProfileMenu.tsx @@ -38,8 +38,11 @@ import { import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus' import {SpeakerVolumeFull_Stroke2_Corner0_Rounded as Unmute} from '#/components/icons/Speaker' import * as Menu from '#/components/Menu' +import { + ReportDialog, + useReportDialogControl, +} from '#/components/moderation/ReportDialog' import * as Prompt from '#/components/Prompt' -import {ReportDialog, useReportDialogControl} from '#/components/ReportDialog' let ProfileMenu = ({ profile, @@ -365,7 +368,10 @@ let ProfileMenu = ({ <ReportDialog control={reportDialogControl} - params={{type: 'account', did: profile.did}} + subject={{ + ...profile, + $type: 'app.bsky.actor.defs#profileViewDetailed', + }} /> <Prompt.Basic |