Skip to content

AXON-1968: Support file picker in chat#1758

Open
jwang19-atlassian wants to merge 15 commits intomainfrom
axon-1968-prompt-file-picker
Open

AXON-1968: Support file picker in chat#1758
jwang19-atlassian wants to merge 15 commits intomainfrom
axon-1968-prompt-file-picker

Conversation

@jwang19-atlassian
Copy link
Copy Markdown
Contributor

@jwang19-atlassian jwang19-atlassian commented Mar 24, 2026

What Is This Change?

https://www.loom.com/share/565d3e5f1c0d47229aeeafc92fcc9245

This PR adds file pickers autocomplete functionality to Rovo Dev chat prompt. Users can now type # to search and select workspace files, which are automatically attached as context to the chat

How Has This Been Tested?

Basic checks:

  • npm run lint
  • npm run test

Rovo Dev code review: Rovo Dev is reviewing this pull request…
Refresh the page in a few minutes to see the results.

@atlassian
Copy link
Copy Markdown
Contributor

atlassian bot commented Mar 24, 2026

The issue is ready for review.

The below acceptance criteria have not been met:

  • ❌ When a single character is entered into the chat input, the file picker should appear.

Check Jira issue

files = [{ name: 'Initializing...', path: '' }];
} else {
// Show loading state while fetching
if (!files.length) {
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.

🔥 Code Bugs

The loading state check files.length will always be falsy for the initial empty array, causing the loading message to be overwritten immediately.

Details

📖 Explanation: This condition prevents the loading message from being displayed properly, as the empty array check happens before the async fetch completes.

Uses AI. Verify results. Give Feedback

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