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

Fix tab inserting the toString of objects instead of autocompletion when sharing folder #1316

Merged
merged 3 commits into from
May 30, 2024

Conversation

TommyDL-Infomaniak
Copy link
Contributor

The problem is mostly solved, pressing tab will not insert the object toString anymore, but it will insert the current text, thus not changing anything.
A consequence of this is that the UI is refreshed and the list of users that was displayed gets closed.

This is the best solution found that does not require a refactor of the MaterialAutoCompleteTextView.

@TommyDL-Infomaniak TommyDL-Infomaniak added bug Something isn't working quick A pull request consisting of a few lines labels May 27, 2024
@TommyDL-Infomaniak TommyDL-Infomaniak requested a review from a team May 27, 2024 13:20
@TommyDL-Infomaniak TommyDL-Infomaniak self-assigned this May 27, 2024
@LunarX LunarX requested review from LunarX and removed request for a team May 28, 2024 07:11
@KevinBoulongne KevinBoulongne added the rebase Add this label to rebase the PR label May 28, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label May 28, 2024
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 18c6f5c to 84cc0ae Compare May 28, 2024 09:07
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 84cc0ae to 2eca9e0 Compare May 28, 2024 09:11
Copy link
Contributor

@FabianDevel FabianDevel left a comment

Choose a reason for hiding this comment

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

This creates a bug when you select a user then press enter

@TommyDL-Infomaniak
Copy link
Contributor Author

This creates a bug when you select a user then press enter

This has the same behavior as using tab.

@TommyDL-Infomaniak TommyDL-Infomaniak force-pushed the fix/tab-not-auto-completing-as-intended branch from 03a1ff0 to c7ed9d4 Compare May 28, 2024 11:51
Copy link
Contributor

@FabianDevel FabianDevel left a comment

Choose a reason for hiding this comment

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

The bug with the physical keyboard's enter key already exists on master, and is a direct cause of Material, so we'll ignore this for now as fixing it would require a big refactor

@KevinBoulongne KevinBoulongne added the rebase Add this label to rebase the PR label May 29, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label May 29, 2024
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 7bf4904 to 50d2ee6 Compare May 29, 2024 05:03
@KevinBoulongne KevinBoulongne added the rebase Add this label to rebase the PR label May 29, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label May 29, 2024
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 50d2ee6 to 35f63f2 Compare May 29, 2024 08:03
@TommyDL-Infomaniak TommyDL-Infomaniak added the rebase Add this label to rebase the PR label May 30, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label May 30, 2024
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 45f79a5 to 9ea55cc Compare May 30, 2024 09:11
@TommyDL-Infomaniak TommyDL-Infomaniak added the rebase Add this label to rebase the PR label May 30, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label May 30, 2024
@KevinBoulongne KevinBoulongne force-pushed the fix/tab-not-auto-completing-as-intended branch from 9ea55cc to 83d3961 Compare May 30, 2024 10:40
Copy link

sonarcloud bot commented May 30, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@TommyDL-Infomaniak TommyDL-Infomaniak merged commit 169d9c1 into master May 30, 2024
4 checks passed
@TommyDL-Infomaniak TommyDL-Infomaniak deleted the fix/tab-not-auto-completing-as-intended branch May 30, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quick A pull request consisting of a few lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants