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

Added docSigner contextMenu inside brave-extension, added prompt popup for taking input path, pin and other error handling #42

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

Nikhil7174
Copy link
Collaborator

No description provided.

setIsSelectionEnabled(true);
console.log("Selection tool enabled. Click and drag on the PDF to select an area.");
const pin = prompt("Please enter the pin to sign the document:");
if (pin) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

how are we getting the pin

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We will get from user input

Copy link
Collaborator

Choose a reason for hiding this comment

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

where is the input field. how are we getting the input?

@@ -49,6 +50,12 @@ chrome.contextMenus.create({
// parentId: 'brave',
// contexts: ['all']
// })
chrome.contextMenus.create({
title: 'Document signer',
Copy link
Collaborator

Choose a reason for hiding this comment

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

lets call the option sign document using certificate`

@Nikhil7174 Nikhil7174 merged commit f1f0723 into sync-brave-latest Jun 29, 2024
1 check passed
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