[TS-147] Add internal debug field display (#9302)

* Add internal debug field display

* Update title
This commit is contained in:
Eric Bailey
2025-10-29 11:21:19 -05:00
committed by GitHub
parent 3107efb449
commit 339f3320c6
7 changed files with 98 additions and 1 deletions
@@ -42,6 +42,7 @@ import {
import {atoms as a, useTheme} from '#/alf'
import {colors} from '#/components/Admonition'
import {Button} from '#/components/Button'
import {DebugFieldDisplay} from '#/components/DebugFieldDisplay'
import {CalendarClock_Stroke2_Corner0_Rounded as CalendarClockIcon} from '#/components/icons/CalendarClock'
import {Trash_Stroke2_Corner0_Rounded as TrashIcon} from '#/components/icons/Trash'
import {InlineLinkText, Link} from '#/components/Link'
@@ -512,6 +513,7 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({
/>
</FeedFeedbackProvider>
</View>
<DebugFieldDisplay subject={post} />
</View>
</View>
</>
@@ -30,6 +30,7 @@ import {
REPLY_LINE_WIDTH,
} from '#/screens/PostThread/const'
import {atoms as a, useTheme} from '#/alf'
import {DebugFieldDisplay} from '#/components/DebugFieldDisplay'
import {useInteractionState} from '#/components/hooks/useInteractionState'
import {Trash_Stroke2_Corner0_Rounded as TrashIcon} from '#/components/icons/Trash'
import {LabelsOnMyPost} from '#/components/moderation/LabelsOnMe'
@@ -335,6 +336,7 @@ const ThreadItemPostInner = memo(function ThreadItemPostInner({
logContext="PostThreadItem"
threadgateRecord={threadgateRecord}
/>
<DebugFieldDisplay subject={post} />
</View>
</View>
</PostHider>
@@ -29,6 +29,7 @@ import {
TREE_INDENT,
} from '#/screens/PostThread/const'
import {atoms as a, useTheme} from '#/alf'
import {DebugFieldDisplay} from '#/components/DebugFieldDisplay'
import {useInteractionState} from '#/components/hooks/useInteractionState'
import {Trash_Stroke2_Corner0_Rounded as TrashIcon} from '#/components/icons/Trash'
import {LabelsOnMyPost} from '#/components/moderation/LabelsOnMe'
@@ -376,6 +377,7 @@ const ThreadItemTreePostInner = memo(function ThreadItemTreePostInner({
logContext="PostThreadItem"
threadgateRecord={threadgateRecord}
/>
<DebugFieldDisplay subject={post} />
</View>
</View>
</View>
@@ -26,6 +26,7 @@ import * as Toast from '#/view/com/util/Toast'
import {atoms as a, platform, useBreakpoints, useTheme} from '#/alf'
import {SubscribeProfileButton} from '#/components/activity-notifications/SubscribeProfileButton'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {DebugFieldDisplay} from '#/components/DebugFieldDisplay'
import {useDialogControl} from '#/components/Dialog'
import {MessageProfileButton} from '#/components/dms/MessageProfileButton'
import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus'
@@ -320,6 +321,8 @@ let ProfileHeaderStandard = ({
)}
</View>
)}
<DebugFieldDisplay subject={profile} />
</View>
<Prompt.Basic