Skip to content

Missing Snap origin as part of permission request copy #30088

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

Closed
FrederikBolding opened this issue Feb 4, 2025 · 0 comments · Fixed by #30092
Closed

Missing Snap origin as part of permission request copy #30088

FrederikBolding opened this issue Feb 4, 2025 · 0 comments · Fixed by #30092
Labels
INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. release-12.13.0 Issue or pull request that will be included in release 12.13.0 team-wallet-ux type-bug Something isn't working

Comments

@FrederikBolding
Copy link
Member

"[blank] is asking for your approval to:". The intention is to have the Snap name visible, but currently it is not displayed at all.

Image

@FrederikBolding FrederikBolding added team-wallet-ux type-bug Something isn't working labels Feb 4, 2025
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity Feb 4, 2025
@metamaskbot metamaskbot added the INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. label Feb 4, 2025
github-merge-queue bot pushed a commit that referenced this issue Feb 4, 2025
In the review permissions screen for snaps, the origin of the snap was
missing. This PR fix that

## **Related issues**

Fixes: #30088 

## **Manual testing steps**

1. Connect extension to Snap 
2. Click on getAccounts
3. The review permissions screen should show Dapp Origin

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
![Screenshot 2025-02-04 at 11 40
35 AM](https://github.com/user-attachments/assets/2c27db18-7dcd-42a4-a64f-4c06b5200637)


### **After**
![Screenshot 2025-02-04 at 11 42
43 AM](https://github.com/user-attachments/assets/36342dc9-f091-49e5-ad37-2e7a3fed87da)


## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@github-project-automation github-project-automation bot moved this from To be fixed to Fixed in Bugs by severity Feb 4, 2025
@metamaskbot metamaskbot added the release-12.13.0 Issue or pull request that will be included in release 12.13.0 label Feb 4, 2025
davidmurdoch pushed a commit that referenced this issue Feb 5, 2025
In the review permissions screen for snaps, the origin of the snap was
missing. This PR fix that

## **Related issues**

Fixes: #30088 

## **Manual testing steps**

1. Connect extension to Snap 
2. Click on getAccounts
3. The review permissions screen should show Dapp Origin

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
![Screenshot 2025-02-04 at 11 40
35 AM](https://github.com/user-attachments/assets/2c27db18-7dcd-42a4-a64f-4c06b5200637)


### **After**
![Screenshot 2025-02-04 at 11 42
43 AM](https://github.com/user-attachments/assets/36342dc9-f091-49e5-ad37-2e7a3fed87da)


## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
davidmurdoch pushed a commit that referenced this issue Feb 5, 2025
In the review permissions screen for snaps, the origin of the snap was
missing. This PR fix that

## **Related issues**

Fixes: #30088 

## **Manual testing steps**

1. Connect extension to Snap 
2. Click on getAccounts
3. The review permissions screen should show Dapp Origin

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
![Screenshot 2025-02-04 at 11 40
35 AM](https://github.com/user-attachments/assets/2c27db18-7dcd-42a4-a64f-4c06b5200637)


### **After**
![Screenshot 2025-02-04 at 11 42
43 AM](https://github.com/user-attachments/assets/36342dc9-f091-49e5-ad37-2e7a3fed87da)


## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
seaona pushed a commit that referenced this issue Feb 6, 2025
In the review permissions screen for snaps, the origin of the snap was
missing. This PR fix that

## **Related issues**

Fixes: #30088 

## **Manual testing steps**

1. Connect extension to Snap 
2. Click on getAccounts
3. The review permissions screen should show Dapp Origin

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
![Screenshot 2025-02-04 at 11 40
35 AM](https://github.com/user-attachments/assets/2c27db18-7dcd-42a4-a64f-4c06b5200637)


### **After**
![Screenshot 2025-02-04 at 11 42
43 AM](https://github.com/user-attachments/assets/36342dc9-f091-49e5-ad37-2e7a3fed87da)


## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. release-12.13.0 Issue or pull request that will be included in release 12.13.0 team-wallet-ux type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants