Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Conversation

@felixb
Copy link
Contributor

@felixb felixb commented Jul 25, 2017

The workflow for pasting usernames is as follows:

  1. Select password field
  2. Select password store entry with username and paste it
  3. Select any other editable field
  4. Paste username



The workflow for pasting usernames is as follows:

1. Select password field
2. Select password store entry with username and paste it
3. Select any other editable field
4. Paste username
public static final String TAG = "Keychain";
final class Constants {
static final String TAG = "Keychain";
static final long MAX_PASSWORD_ENTRY_LIFETIME = 45 * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

We could use the same timeout value as the copy/paste

Copy link
Contributor

Choose a reason for hiding this comment

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

It's general_show_time, we should rename it as it's used for visibility and clipboard timeouts.

@zeapo
Copy link
Contributor

zeapo commented Jul 25, 2017

Thanks for the PR.

In the workflow, could you add a notification (snack or toast, chose what you think is better) to inform the user that the selected password has a username in it and that the password was put in cache for x seconds so that he selects the username field to paste it.

@felixb
Copy link
Contributor Author

felixb commented Jul 26, 2017

I added the toast in a 2nd commit for easier review. Feel free to squash the commits when merging.

@zeapo
Copy link
Contributor

zeapo commented Jul 26, 2017

Works perfectly, thanks.

@zeapo zeapo merged commit 2f75f99 into android-password-store:master Jul 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants