Skip to content

Revert "Migrate InteractionManager - (Newly added usages) batch 1"#95201

Closed
marcochavezf wants to merge 5 commits into
mainfrom
revert-94171-mrejdak/migrate-interactionmanager-leftovers-1
Closed

Revert "Migrate InteractionManager - (Newly added usages) batch 1"#95201
marcochavezf wants to merge 5 commits into
mainfrom
revert-94171-mrejdak/migrate-interactionmanager-leftovers-1

Conversation

@marcochavezf

Copy link
Copy Markdown
Contributor

Reverts #94171

marcochavezf and others added 3 commits July 2, 2026 00:42
Resolve the Search bulk actions conflict by keeping the bulk-delete modal dismiss deferral from main while restoring the remaining selection-clear deferrals from the revert.
Combine the chat and grouped-expense Search render paths after merging main so the component declares searchListContent only once.
@marcochavezf marcochavezf requested review from a team as code owners July 2, 2026 13:32
@melvin-bot melvin-bot Bot requested review from blimpich and heyjennahay and removed request for a team July 2, 2026 13:32
@melvin-bot

melvin-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

@blimpich Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8ed9c0055f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +23 to +24
useEffect(() => {
if (hasDeniedContactImportPrompt) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Gate the contact prompt on Onyx loading

When the native participant picker mounts, HAS_DENIED_CONTACT_IMPORT_PROMPT can still be loading. This one-shot effect treats the initial undefined as not denied and starts the permission check; for users who previously tapped “No thanks” while OS contacts permission is still DENIED, the soft prompt can be shown again before the persisted opt-out arrives, or the opt-out can arrive first and the effect will never rerun to call onFocusTextInput, leaving the input with autofocus disabled. Please wait for the Onyx metadata to load or rerun the flow when the loaded value changes.

Useful? React with 👍 / 👎.

marcochavezf and others added 2 commits July 2, 2026 20:40
Resolve the Search render conflict by keeping the latest dedicated view branches from main while preserving the InteractionManager revert changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the InteractionManager revert scoped by removing the accidental Search render diff from the merge resolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
...nents/Reactions/ReportActionItemEmojiReactions.tsx 46.66% <ø> (ø)
src/components/ContactPermissionModal/index.tsx 0.00% <0.00%> (ø)
...rc/components/Search/SearchRouter/SearchRouter.tsx 57.33% <0.00%> (ø)
src/hooks/useSelectionModeReportActions.ts 91.66% <0.00%> (-2.62%) ⬇️
src/hooks/useSearchBulkActions.ts 53.55% <0.00%> (-0.12%) ⬇️
src/hooks/useExpenseActions.ts 0.00% <0.00%> (ø)
src/pages/iou/request/ParticipantSearchResults.tsx 0.65% <0.00%> (-0.01%) ⬇️
...components/ContactPermissionModal/index.native.tsx 0.00% <0.00%> (ø)
... and 14 files with indirect coverage changes

@blimpich

blimpich commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@marcochavezf is this a straight revert? If not can you please point out what had to change to fix conflicts, and also please update the PR description with more context on why this was reverted. A link to a slack conversation perhaps?

@marcochavezf

Copy link
Copy Markdown
Contributor Author

Ah, please ignore this PR, I created it to see if it was feasible to create a straight revert of an offending PR, but the deploy blocker is already handled. More details here https://expensify.slack.com/archives/C01GTK53T8Q/p1782968322508229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants