Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat: improve @mentions on input #3606

Merged
merged 6 commits into from
Apr 1, 2024
Merged

Chat: improve @mentions on input #3606

merged 6 commits into from
Apr 1, 2024

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Mar 29, 2024

CLOSE: #3589 (comment)

Current

Currently, if you add the range after inputting the file name, the title will show up as No files found:
image

Until you have finished the @-range:

image

This means you will have to type the whole file path before you can add the file range. Which means if you pressed space or tab on a selection you won't be able to make any changes and have to restart.

Changes

This PR updates:

  1. Menu displays correctly while entering the line range.
  2. Autocomplete on select, and then select again to turn the selection into token (for files only. Symbol and uri is not affected).
    • This allows users to edit the file path, e.g. adding range, before it becomes a token

at

Test plan

Before

b.mov

After

at-mention.mov

@abeatrix abeatrix requested review from a team and toolmantim March 29, 2024 00:27
@abeatrix abeatrix changed the title Chat: fix @-range title on input Chat: improve @mentions on input Mar 29, 2024
Copy link
Contributor

@kalanchan kalanchan left a comment

Choose a reason for hiding this comment

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

nice this works!

at-range-no-context.mp4

@abeatrix abeatrix merged commit a2133af into main Apr 1, 2024
26 checks passed
@abeatrix abeatrix deleted the bee/at-range branch April 1, 2024 15:10
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.

Support range for large @-mention files
3 participants