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

[Credentials import] If no details are available don't show the tooltip #649

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

dbajpeyi
Copy link
Collaborator

@dbajpeyi dbajpeyi commented Sep 6, 2024

Reviewer: @GioSensation
Asana:

Description

There was a bug in the import promotion tooltip, that whenever there is an empty import, we end up opening the tooltip with no data:
image

This PR fixes that in the shouldOpenTooltip call. Here it merges the check together with in context signup.

Steps to test

  1. Go to fill.dev
  2. (Reset autofill data)
  3. Start import flow, and finish importing from a profile/setting where no password is imported
  4. No tooltip should be triggered.
import-flow-fix.mp4

@dbajpeyi dbajpeyi force-pushed the dbajpeyi/import-promotion-empty-tooltip branch from 9682051 to e9a0b02 Compare September 6, 2024 15:36
Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

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

Looking good!

@dbajpeyi dbajpeyi merged commit 1fee787 into main Sep 9, 2024
1 check passed
@dbajpeyi dbajpeyi deleted the dbajpeyi/import-promotion-empty-tooltip branch September 9, 2024 08:44
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request Sep 11, 2024
Task/Issue URL:
https://app.asana.com/0/1208264544627947/1208264544627947
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/13.1.0


## Description
Updates Autofill to version
[13.1.0](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/13.1.0).

### Autofill 13.1.0 release notes
## What's Changed
https://app.asana.com/0/72649045549333/1201480346793878/f
Adding password import promotion support. There are no breaking API
changes, hence minor version bump!

* Update password-related json files (2024-08-15) by @daxmobile in
duckduckgo/duckduckgo-autofill#632
* Update password-related json files (2024-08-29) by @daxmobile in
duckduckgo/duckduckgo-autofill#644
* Update password-related json files (2024-08-30) by @daxmobile in
duckduckgo/duckduckgo-autofill#645
* Update password-related json files (2024-09-03) by @daxmobile in
duckduckgo/duckduckgo-autofill#646
* [Autofill] Introduce password import promotion prompt in autofill.js
by @dbajpeyi in
duckduckgo/duckduckgo-autofill#631
* [Locales] Credentials import by @dbajpeyi in
duckduckgo/duckduckgo-autofill#647
* [Credentials Import] remove API response by @dbajpeyi in
duckduckgo/duckduckgo-autofill#648
* [Credentials Import] Check local credentials before showing prompt by
@dbajpeyi in duckduckgo/duckduckgo-autofill#650
* [Credentials import] If no details are available don't show the
tooltip by @dbajpeyi in
duckduckgo/duckduckgo-autofill#649


**Full Changelog**:
duckduckgo/duckduckgo-autofill@12.2.0...13.1.0

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: dbajpeyi <3018923+dbajpeyi@users.noreply.github.com>
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.

2 participants