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

Bug: autocomplete pixels firing when Adding Bookmark #5165

Conversation

anikiki
Copy link
Contributor

@anikiki anikiki commented Oct 21, 2024

Task/Issue URL: https://app.asana.com/0/0/1208581391309609/f

Description

Fixed autocomplete flow and pixels.

Steps to test this PR

Steps to repro:

  • Install from branch feature/ana/android_migrate_auto_complete_to_flow_and_coroutines
  • Visit a site in a new tab
  • Open ... menu
  • Click add bookmark
  • Observe that autocomplete pixels are firing (they should not):
    m_autocomplete_displayed_bookmark
    m_autocomplete_displayed_switch_to_tab

Test the fix:

  • Install from this branch
  • Visit a site in a new tab
  • Open ... menu
  • Click add bookmark
  • Autocomplete pixels are not firing (check for "m_autocomplete" in logs)

NO UI changes

@anikiki anikiki changed the title Fixed autocomplete flow and pixels. Bug: autocomplete pixels firing when Adding Bookmark Oct 21, 2024
@anikiki anikiki marked this pull request as ready for review October 21, 2024 15:21
@anikiki anikiki assigned anikiki and CrisBarreiro and unassigned anikiki Oct 21, 2024
@CrisBarreiro CrisBarreiro self-requested a review October 21, 2024 17:04
@anikiki anikiki force-pushed the fix/ana/bug_autocomplete_pixels_firing_when_adding_bookmark branch from 77a9ff2 to 688b218 Compare October 22, 2024 08:21
Task/Issue URL:
https://app.asana.com/0/488551667048375/1208592488628219/f

### Description
Fixed item deletion from suggestions.

### Steps to test this PR

Test in Browser:
- [x] Install from this  branch
- [x] Search for something, i.e. "dog food".
- [x] Search for "dog".
- [x] Long press and delete the "dog food" entry.
Verify:
- [x] That the keyboard is shown.
- [x] That the autocomplete list is shifted up (So the position of the
entry is visible).
- [x] That the entry is deleted from the list.

Test using the widget
- [x] Install from this branch
- [x] Add the widget.
- [x] Search for something from the widget, i.e. "dog food".
- [x] Search for "dog".
- [x] Long press and delete the "dog food" entry.
Verify:
- [x] That the keyboard is shown.
- [x] That the autocomplete list is shifted up (So the position of the
entry is visible).
- [x] That the entry is deleted from the list.

### NO UI changes
@anikiki anikiki merged commit f6acf55 into feature/ana/android_migrate_auto_complete_to_flow_and_coroutines Oct 22, 2024
4 of 5 checks passed
@anikiki anikiki deleted the fix/ana/bug_autocomplete_pixels_firing_when_adding_bookmark branch October 22, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants