Skip to content

ENG-1685: Set default state for import modal to have all list items unselected#1120

Open
sid597 wants to merge 1 commit into
mainfrom
eng-1685-set-default-state-for-import-modal-to-have-all-list-items
Open

ENG-1685: Set default state for import modal to have all list items unselected#1120
sid597 wants to merge 1 commit into
mainfrom
eng-1685-set-default-state-for-import-modal-to-have-all-list-items

Conversation

@sid597

@sid597 sid597 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bulk identify ("bulk import") candidates now default to unselected in the Review Candidates step, per ENG-1685 / RES-120 ("During import, 'select all' should not be the default").

  • Both candidate producers were changed: the Datacore-backed scan (scanForBulkImportCandidates) and the fallback vault scan (fallbackScanVault), so the default is unselected regardless of which path runs.
  • The sibling import modal (ImportNodesModal, "Import nodes from another space") has defaulted to unselected since its creation — this aligns the bulk identify modal with it.
  • No UI changes needed: with zero selected, the "Identify selected as discourse nodes (0)" button is already disabled and "Select All" remains one click away.

Fixes ENG-1685

🤖 Generated with Claude Code


Open in Devin Review

@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

ENG-1685

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
discourse-graph Skipped Skipped Jun 10, 2026 8:38am

Request Review

@supabase

supabase Bot commented Jun 10, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚩 Inconsistent excludeImported filtering between DataCore and fallback paths

Pre-existing issue: In getFilesWithNodeTypeId, the DataCore path at apps/obsidian/src/services/QueryEngine.ts:377 checks for both fm?.importedFromRid || fm?.importedFromSpaceUri, but the fallback fallbackGetFilesWithNodeTypeId at apps/obsidian/src/services/QueryEngine.ts:537 only checks for importedFromRid. This means files imported via importedFromSpaceUri would be excluded when DataCore is available but included in the fallback path. Not introduced by this PR but worth noting as it's in the same file.

(Refers to lines 535-540)

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@trangdoan982 this is a pre-existing issue not sure if we want to address it here or create a new pr, I am fine with both options

@sid597 sid597 requested a review from trangdoan982 June 15, 2026 05:59
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.

1 participant