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

fix (cherry-pick): Fix #24322 - Disable edits for all dapp initiated transactions (#24334) #24354

Merged
merged 1 commit into from
May 2, 2024

Conversation

danjm
Copy link
Contributor

@danjm danjm commented May 2, 2024

Cherry picks 4a1853c (#24322) to v11.14.5

Ensures only transactions started within MetaMask are editable

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/24334?quickstart=1)

Fixes: #24322

1. Go to the test dapp (https://metamask.github.io/test-dapp/)
2. Trigger any number of transactions
3. Do not see "Edit" in header
4. Open MetaMask, manually start a send, see the "Edit" button

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

<!-- [screenshots/recordings] -->

<!-- [screenshots/recordings] -->

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.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/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

- [ ] 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.

---------

Co-authored-by: Dan J Miller <[email protected]>
@danjm danjm requested a review from a team as a code owner May 2, 2024 17:24
Copy link
Contributor

github-actions bot commented May 2, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label May 2, 2024
@danjm danjm merged commit 949e733 into Version-v11.14.5 May 2, 2024
60 of 64 checks passed
@danjm danjm deleted the cherry-pick-4a1853cf7b branch May 2, 2024 18:13
@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2024
@metamaskbot metamaskbot added the release-11.14.5 Issue or pull request that will be included in release 11.14.5 label May 2, 2024
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-11.14.5 on PR, as PR was cherry-picked in branch 11.14.5.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
INVALID-PR-TEMPLATE PR's body doesn't match template release-11.14.5 Issue or pull request that will be included in release 11.14.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants