Brad Decker
652d631cda
remove exclusions for mismatched object jsdoc type casing ( #15351 )
2 years ago
Mark Stacey
3732c5f71e
Add JSDoc ESLint rules ( #12112 )
...
ESLint rules have been added to enforce our JSDoc conventions. These
rules were introduced by updating `@metamask/eslint-config` to v9.
Some of the rules have been disabled because the effort to fix all lint
errors was too high. It might be easiest to enable these rules one
directory at a time, or one rule at a time.
Most of the changes in this PR were a result of running
`yarn lint:fix`. There were a handful of manual changes that seemed
obvious and simple to make. Anything beyond that and the rule was left
disabled.
3 years ago
Alex Donesky
df48c424a4
fix issue where transaction items without a TRANSACTION_CONFIRMED_EVENT have unhandled error when clicking into activity log ( #13221 )
3 years ago
igorms-cons
981db6e0ea
Fix confirmed transaction time ( #12633 )
3 years ago
Dan J Miller
82a95864f7
Support for Layer 2 networks with transaction fees on both layers ( #12658 )
...
* Support for Layer 2 networks with transaction fees on both layers
* Use variable name in transaction-breakdown
* Add comment on code source to ui/helpers/utils/optimism/fetchEstimatedL1Fee.js
* Fix unit tests
* Ensure values passed to are defined
* Fix activity log
3 years ago
Dan J Miller
9fa15dda6f
Support for Layer 2 networks with transaction fees on both layers ( #12658 )
...
* Support for Layer 2 networks with transaction fees on both layers
* Use variable name in transaction-breakdown
* Add comment on code source to ui/helpers/utils/optimism/fetchEstimatedL1Fee.js
* Fix unit tests
* Ensure values passed to are defined
* Fix activity log
3 years ago
Dan J Miller
de388a7b1c
Ensure transaction activity log supports EIP-1559 ( #11794 )
...
* Ensure transaction activity log supports EIP-1559
* unit test fix
* Add estimated base fee to swaps txMeta
* fix lint and tests
* Improve activity log copy
3 years ago
Dan J Miller
e6543a83ef
Ensure transaction activity log supports EIP-1559 ( #11794 )
...
* Ensure transaction activity log supports EIP-1559
* unit test fix
* Add estimated base fee to swaps txMeta
* fix lint and tests
* Improve activity log copy
3 years ago
Brad Decker
29742b9519
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Brad Decker
09d81ac5f2
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Brad Decker
38fe75b7d9
prefer chainId when building block explorer urls ( #10587 )
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Brad Decker
026a06b39d
add shared transaction constants ( #9459 )
...
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
4 years ago
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
2ae4720443
Fix words ( #9038 )
4 years ago
Whymarrh Whitby
da0300d3b1
Enable core ESLint no-mixed-operators rule
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Whymarrh Whitby
274a9ecf53
yarn lint --fix
5 years ago
Dan J Miller
2b992d2946
Fix gas fee in the submitted step of the transaction details activity log. ( #6301 )
6 years ago
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
6 years ago
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
6 years ago
Alexander Tseung
7852269ed1
Add Activity Log entry for onchain failures for a transaction. Change scrolling of the transaction list. Remove Transaction Details modal. ( #5581 )
6 years ago
Alexander Tseung
c821a8354c
Add txReceipt data to transaction details ( #5513 )
6 years ago
Alexander Tseung
f1a309e0cc
Fix identicon address. Fix styling of New Contract recipient. Fix Activity Log initial ETH value. Add timestamps to Activity Log events
6 years ago
Alexander Tseung
084158f1a2
Add tests for TransactionActivityLog. Make changes to rendering events
6 years ago
Alexander Tseung
930dac110a
Add ActivityLog component
6 years ago