Skip to content

Commit

Permalink
Release/1.7.0 (#866)
Browse files Browse the repository at this point in the history
* added listener for window closing (#752)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix displaying amount in CSPR only for Casper (#753)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* UI changed based on a new design (#754)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed skeleton for NFT image and made small changes (#755)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add remembering scroll position in the NFT, Deploys and Tokens list (#759)

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the Deploys list, removed background fetch for deploys and made some improvements

* small improvements

* added remembering scroll position in the Casper token activity list and small improvements

* added remembering scroll position in the ERC20 token activity list and small improvements

* removed duplication and small fix

* fixed infinity scroll for NFT

* fixed infinity scroll for Deploys tab

* fixed infinity scroll for Casper token activity

* fixed infinity scroll for ERC20 token activity

* unused infinite scroll hook removed

* updated error handler for account deploys and NFT tokens request

---------

Co-authored-by: ost-ptk <[email protected]>

* illustrations are updated (#762)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix native transfer in Firefox (#763)

* added a check for deploy hash before the extended deploys info request

* updated manifest permission for Firefox

* removed comment

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added tooltip on hover hash (#764)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* Redesign list of NFTs (#766)

* Redesign list of NFTs

* Fix PR issues and add useAsyncEffect hook

* Fix issue with audio loading state

* Fix issue with deploy timestamp (#768)

* Release 1.5.2 version (#777)

* feature: add NFT token transfer (#769)

* added UI for NFT token transfer flow and business logic draft

* added nft transfer logic

* added fix for deploy timestamp issue

* removed unused packages

* removed back button from success screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix issues with the layout of a deploy list (#772)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump sqlite3 from 5.0.8 to 5.1.6 (#694)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.8 to 5.1.6.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Commits](TryGhost/node-sqlite3@v5.0.8...v5.1.6)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump json5 from 1.0.1 to 1.0.2 (#695)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump dns-packet from 5.3.1 to 5.6.0 (#696)

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.6.0.
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](mafintosh/dns-packet@v5.3.1...v5.6.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump xml2js and web-ext (#697)

Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [web-ext](https://github.com/mozilla/web-ext). These dependencies need to be updated together.


Updates `xml2js` from 0.4.23 to 0.5.0
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

Updates `web-ext` from 7.5.0 to 7.6.2
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](mozilla/web-ext@7.5.0...7.6.2)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: web-ext
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps-dev): bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.1 (#703)

Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.6.1 to 6.7.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-jsx-a11y@v6.6.1...v6.7.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump fs-extra from 11.1.0 to 11.1.1 (#705)

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@11.1.0...11.1.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump i18next-conv from 13.1.0 to 14.0.0 (#706)

Bumps [i18next-conv](https://github.com/i18next/i18next-gettext-converter) from 13.1.0 to 14.0.0.
- [Release notes](https://github.com/i18next/i18next-gettext-converter/releases)
- [Changelog](https://github.com/i18next/i18next-gettext-converter/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-gettext-converter@v13.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: i18next-conv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#731)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump apollo-server-core from 3.11.1 to 3.12.1 (#765)

Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.11.1 to 3.12.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Commits](https://github.com/apollographql/apollo-server/commits/[email protected]/packages/apollo-server-core)

---
updated-dependencies:
- dependency-name: apollo-server-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump i18next from 21.10.0 to 23.5.1 (#773)

Bumps [i18next](https://github.com/i18next/i18next) from 21.10.0 to 23.5.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v21.10.0...v23.5.1)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix account status indicator (#775)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump eslint from 8.28.0 to 8.49.0 (#776)

Bumps [eslint](https://github.com/eslint/eslint) from 8.28.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.28.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump got and @redux-devtools/cli (#780)

Bumps [got](https://github.com/sindresorhus/got) to 11.8.6 and updates ancestor dependency [@redux-devtools/cli](https://github.com/reduxjs/redux-devtools). These dependencies need to be updated together.


Updates `got` from 9.6.0 to 11.8.6
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v9.6.0...v11.8.6)

Updates `@redux-devtools/cli` from 1.0.7 to 3.0.1
- [Release notes](https://github.com/reduxjs/redux-devtools/releases)
- [Commits](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/[email protected])

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
- dependency-name: "@redux-devtools/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-player from 2.12.0 to 2.13.0 (#785)

Bumps [react-player](https://github.com/CookPete/react-player) from 2.12.0 to 2.13.0.
- [Changelog](https://github.com/cookpete/react-player/blob/master/CHANGELOG.md)
- [Commits](cookpete/react-player@v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: react-player
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump prettier from 2.8.0 to 3.0.3 (#786)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.0...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump redux from 4.2.0 to 4.2.1 (#787)

Bumps [redux](https://github.com/reduxjs/redux) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/reduxjs/redux/releases)
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md)
- [Commits](reduxjs/redux@v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-dev-server from 4.11.1 to 4.15.1 (#788)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.1 to 4.15.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.11.1...v4.15.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/chrome from 0.0.203 to 0.0.246 (#791)

Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.203 to 0.0.246.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added message for not supporting reverse look-up modality (#783)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added a placeholder for the contract logo (#784)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix issue with prettier config (#792)

* fixed issue with prettier config

* fixed code style errors

---------

Co-authored-by: ost-ptk <[email protected]>

* added new UI for erc-20 action displaying (#790)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump geckodriver from 3.2.0 to 4.2.1 (#793)

Bumps [geckodriver](https://github.com/webdriverio-community/node-geckodriver) from 3.2.0 to 4.2.1.
- [Release notes](https://github.com/webdriverio-community/node-geckodriver/releases)
- [Changelog](https://github.com/webdriverio-community/node-geckodriver/blob/main/CHANGELOG.md)
- [Commits](webdriverio-community/node-geckodriver@v3.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: geckodriver
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump react-query from 3.39.2 to 3.39.3 (#794)

Bumps [react-query](https://github.com/tannerlinsley/react-query) from 3.39.2 to 3.39.3.
- [Release notes](https://github.com/tannerlinsley/react-query/releases)
- [Commits](https://github.com/tannerlinsley/react-query/commits)

---
updated-dependencies:
- dependency-name: react-query
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-router-dom from 6.4.4 to 6.16.0 (#795)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.4.4 to 6.16.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump @scure/bip39 from 1.1.0 to 1.2.1 (#796)

Bumps [@scure/bip39](https://github.com/paulmillr/scure-bip39) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/paulmillr/scure-bip39/releases)
- [Commits](paulmillr/scure-bip39@1.1.0...1.2.1)

---
updated-dependencies:
- dependency-name: "@scure/bip39"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump electron from 25.8.0 to 25.8.1 (#798)

Bumps [electron](https://github.com/electron/electron) from 25.8.0 to 25.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.0...v25.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump lint-staged from 13.0.4 to 14.0.1 (#800)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.0.4 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/okonet/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v13.0.4...v14.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump tsconfig-paths-webpack-plugin from 4.0.0 to 4.1.0 (#801)

Bumps [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](dividab/tsconfig-paths-webpack-plugin@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump @types/facepaint from 1.2.2 to 1.2.3 (#803)

Bumps [@types/facepaint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/facepaint) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/facepaint)

---
updated-dependencies:
- dependency-name: "@types/facepaint"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-cli from 5.0.0 to 5.1.4 (#804)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.0 to 5.1.4.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/[email protected]@5.1.4)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* removed input type from the transaction fee fields (#807)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* changed method of creating Keys for signing (#808)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix scope of bugs (#809)

* fixed issue with transfer NFT error after wallet unlocking and some improvements

* fixed issue with empty NFT details page after wallet unlocking and some improvements

* fixed issue with home screen scroll

* possible fix for an issue with a gap above the sticky tabs container

* fixed an issue with the scrollable Import account screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with the navigation menu screen scroll (#818)

Co-authored-by: ost-ptk <[email protected]>

* casper logo updated (#817)

Co-authored-by: ost-ptk <[email protected]>

* removed the tooltip with the full public key when the user has only one account (#819)

Co-authored-by: ost-ptk <[email protected]>

* build(deps-dev): bump electron from 25.8.1 to 25.9.0 (#822)

Bumps [electron](https://github.com/electron/electron) from 25.8.1 to 25.9.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.1...v25.9.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* disabled send button on NFT details page after this NFT was sent (#824)

Co-authored-by: ost-ptk <[email protected]>

* fixed issue with the scroll on home page (#825)

Co-authored-by: ost-ptk <[email protected]>

* Release 1.6.0 version (#826)

* added countdown for user password length (#806)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add change password page (#799)

* fixed issue with prettier config

* fixed code style errors

* added change password page and small refactor

* merge conflict fixed

* merge conflict issues fixed

---------

Co-authored-by: ost-ptk <[email protected]>

* added a checkbox for setting the max transfer amount for CSPR transfer and some refactoring (#805)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with words highlighting in the confirm secret phrase view (#823)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add dark mode (#821)

* added dark mode

* merge conflict issues fixed

* changed png images to svg

* Fix DefaultTheme interface

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps): bump @scure/bip32 from 1.1.1 to 1.3.2 (#812)

Bumps [@scure/bip32](https://github.com/paulmillr/scure-bip32) from 1.1.1 to 1.3.2.
- [Release notes](https://github.com/paulmillr/scure-bip32/releases)
- [Commits](paulmillr/scure-bip32@1.1.1...1.3.2)

---
updated-dependencies:
- dependency-name: "@scure/bip32"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump webpack from 5.76.0 to 5.88.2 (#813)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.88.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.88.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-plugin-react from 7.31.11 to 7.33.2 (#814)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.11 to 7.33.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.31.11...v7.33.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-env from 7.20.2 to 7.23.2 (#828)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve skeleton for dark mode (#835)

* Release 1.6.1 version (#837)

* fixed issue with insufficient data for displaying erc-20 tokens (#840)

Co-authored-by: ost-ptk <[email protected]>

* Update README.md to add reference to CSPR.click for integration (#842)

* Improve erc20 tokens fetching (#843)

* Release/1.6.2 (#844)

* Improve erc20 tokens fetching

* Release 1.6.2 version

* feature: add QR code option to the settings menu (#774)

* added QR code option to the settings menu

* added QR generation page and removed unused props

* merge conflict issue fixed

* temp commit

* Get symbol and decimal optional

* Add qr code generation for sync wallet

* UI and UX fixes, and fixed validation rule

* moved qr generation under password protection and removed one time password

* Improve qrCode generation

* Add multi qr code presenting

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* Release 1.6.3 version (#852)

* build(deps-dev): bump ts-jest from 29.0.3 to 29.1.1 (#831)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.0.3 to 29.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.0.3...v29.1.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump redux-saga from 1.2.1 to 1.2.3 (#832)

Bumps [redux-saga](https://github.com/redux-saga/redux-saga) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/redux-saga/redux-saga/releases)
- [Changelog](https://github.com/redux-saga/redux-saga/blob/main/CHANGELOG.md)
- [Commits](https://github.com/redux-saga/redux-saga/compare/[email protected]@1.2.3)

---
updated-dependencies:
- dependency-name: redux-saga
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump css-loader from 6.7.2 to 6.8.1 (#833)

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.2 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-loader@v6.7.2...v6.8.1)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature: add delegation and undelegation flow (#846)

* added delegation and undelegation flow

* fixed issue with sticky header in tabs

* added a new modal window with buttons on the home page

* added empty state UI for undelegation

* fixed deploys tab and deploys details page for staking

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added active address in top nav (#847)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with an open modal window (#848)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump @babel/core from 7.20.5 to 7.23.3 (#850)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @babel/traverse from 7.20.5 to 7.23.3 (#853)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump axios from 1.1.3 to 1.6.1 (#854)

Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.6.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.1.3...v1.6.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump i18next-http-backend from 1.4.5 to 2.4.1 (#856)

Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 1.4.5 to 2.4.1.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-http-backend@v1.4.5...v2.4.1)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump chromedriver from 107.0.3 to 119.0.1 (#851)

Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 107.0.3 to 119.0.1.
- [Commits](giggio/node-chromedriver@107.0.3...119.0.1)

---
updated-dependencies:
- dependency-name: chromedriver
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release 1.7.0 version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Ostap Piatkovskyi <[email protected]>
Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammet Kara <[email protected]>
  • Loading branch information
5 people authored Nov 22, 2023
1 parent a92d8d2 commit 507f3b3
Show file tree
Hide file tree
Showing 61 changed files with 3,443 additions and 416 deletions.
503 changes: 293 additions & 210 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Casper Wallet",
"description": "Securely manage your CSPR tokens and interact with dapps with the self-custody wallet for the Casper blockchain.",
"version": "1.6.3",
"version": "1.7.0",
"author": "MAKE LLC",
"scripts": {
"devtools:redux": "redux-devtools --hostname=localhost",
Expand Down Expand Up @@ -75,7 +75,7 @@
"facepaint": "^1.2.1",
"i18next": "^23.5.1",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-http-backend": "^1.4.0",
"i18next-http-backend": "^2.4.1",
"i18next-parser": "^6.3.0",
"lodash.throttle": "4.1.1",
"mac-scrollbar": "^0.10.3",
Expand All @@ -95,14 +95,14 @@
"react-redux": "8.0.5",
"react-router-dom": "6.16.0",
"redux": "4.2.1",
"redux-saga": "1.2.1",
"redux-saga": "1.2.3",
"reselect": "4.1.7",
"styled-components": "5.3.6",
"typesafe-actions": "5.1.0",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/core": "7.20.5",
"@babel/core": "7.23.3",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.18.6",
Expand All @@ -127,10 +127,10 @@
"babel-eslint": "^10.1.0",
"babel-loader": "9.1.0",
"babel-preset-react-app": "^10.0.0",
"chromedriver": "^107.0.3",
"chromedriver": "^119.0.1",
"concurrently": "7.6.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "6.7.2",
"css-loader": "6.8.1",
"css-to-xpath": "^0.1.0",
"eslint": "8.49.0",
"eslint-config-airbnb": "^19.0.4",
Expand Down Expand Up @@ -160,7 +160,7 @@
"source-map-loader": "4.0.1",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "5.3.6",
"ts-jest": "29.0.3",
"ts-jest": "29.1.1",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
Expand Down
3 changes: 3 additions & 0 deletions src/apps/popup/app-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import { NftDetailsPage } from '@popup/pages/nft-details';
import { WalletQrCodePage } from '@popup/pages/wallet-qr-code';
import { TransferNftPage } from '@popup/pages/transfer-nft';
import { ChangePasswordPage } from '@popup/pages/change-password';
import { StakesPage } from '@popup/pages/stakes';

export function AppRouter() {
const isLocked = useSelector(selectVaultIsLocked);
Expand Down Expand Up @@ -252,6 +253,8 @@ function AppRoutes() {
path={RouterPath.ChangePassword}
element={<ChangePasswordPage />}
/>
<Route path={RouterPath.Delegate} element={<StakesPage />} />
<Route path={RouterPath.Undelegate} element={<StakesPage />} />
</Routes>
);
}
29 changes: 20 additions & 9 deletions src/apps/popup/pages/activity-details/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@ import {
} from '@libs/ui/utils/formatters';
import {
getBlockExplorerContractUrl,
TransferType,
TypeName
ActivityType,
ActivityTypeName,
AuctionManagerEntryPoint
} from '@src/constants';
import { selectApiConfigBasedOnActiveNetwork } from '@background/redux/settings/selectors';

interface ActivityDetailsPageContentProps {
fromAccount?: string;
toAccount?: string;
deployInfo?: ExtendedDeploy | null;
type?: TransferType | null;
type?: ActivityType | null;
amount?: string | null;
symbol?: string | null;
}
Expand Down Expand Up @@ -80,8 +81,11 @@ const AddressContainer = styled(FlexColumn)`
padding: 16px 12px 16px 0;
`;

const AmountContainer = styled(AlignedSpaceBetweenFlexRow)`
padding: 8px 16px 8px 0;
const AmountContainer = styled(AlignedSpaceBetweenFlexRow)<{
emptyAmount?: boolean;
}>`
padding: ${({ emptyAmount }) =>
emptyAmount ? '16px 16px 16px 0' : '8px 16px 8px 0'};
`;

const RowsContainer = styled(FlexColumn)<BorderBottomPseudoElementProps>`
Expand Down Expand Up @@ -117,7 +121,10 @@ export const ActivityDetailsPageContent = ({
[Erc20EventType.erc20_transfer_from]: t('Transfer from'),
[Erc20EventType.erc20_approve]: t('Approve of'),
[Erc20EventType.erc20_burn]: t('Burn of'),
[Erc20EventType.erc20_mint]: t('Mint of')
[Erc20EventType.erc20_mint]: t('Mint of'),
[AuctionManagerEntryPoint.delegate]: t('Delegate with'),
[AuctionManagerEntryPoint.undelegate]: t('Undelegate with'),
[AuctionManagerEntryPoint.redelegate]: t('Redelegate with')
};

const decimals = deployInfo.contractPackage?.metadata?.decimals;
Expand Down Expand Up @@ -173,7 +180,7 @@ export const ActivityDetailsPageContent = ({
<ContentContainer>
<ParagraphContainer top={SpacingSize.XL}>
<Typography type="header">
{type && <Trans t={t}>{TypeName[type]}</Trans>}
{type && <Trans t={t}>{ActivityTypeName[type]}</Trans>}
</Typography>
</ParagraphContainer>
<Tile>
Expand Down Expand Up @@ -285,7 +292,11 @@ export const ActivityDetailsPageContent = ({
}
/>
<Typography type="captionRegular">
<Trans t={t}>contract</Trans>
<Trans t={t}>
{deployInfo.contractPackage.contract_name === 'Auction'
? 'System Contract'
: 'contract'}
</Trans>
</Typography>
</AlignedFlexRow>
</RightAlignedFlexColumn>
Expand All @@ -295,7 +306,7 @@ export const ActivityDetailsPageContent = ({
</Typography>
)}
</ItemContainer>
<AmountContainer>
<AmountContainer emptyAmount={formattedTransferAmount === '-'}>
<Typography type="captionRegular" color="contentSecondary">
<Trans t={t}>Amount</Trans>
</Typography>
Expand Down
49 changes: 49 additions & 0 deletions src/apps/popup/pages/home/components/more-buttons-modal/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import React from 'react';
import { Trans, useTranslation } from 'react-i18next';
import styled from 'styled-components';

import { Button, Modal, SvgIcon, Typography } from '@libs/ui';
import { CenteredFlexColumn, SpacingSize } from '@libs/layout';

import { ModalButtons } from './modal-buttons';

const MoreButton = styled(CenteredFlexColumn)`
cursor: pointer;
padding: 0 16px;
`;

interface MoreButtonsModalProps {
handleBuyWithCSPR: () => void;
}

export const MoreButtonsModal = ({
handleBuyWithCSPR
}: MoreButtonsModalProps) => {
const { t } = useTranslation();

return (
<Modal
placement="bottom"
renderContent={() => (
<ModalButtons handleBuyWithCSPR={handleBuyWithCSPR} />
)}
children={() => (
<MoreButton gap={SpacingSize.Small}>
<Button circle>
<SvgIcon
src="assets/icons/more.svg"
color="contentOnFill"
style={{
transform: 'rotate(90deg)'
}}
/>
</Button>
<Typography type="captionMedium" color="contentAction">
<Trans t={t}>More</Trans>
</Typography>
</MoreButton>
)}
/>
);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
import React from 'react';
import { useSelector } from 'react-redux';
import { Trans, useTranslation } from 'react-i18next';
import styled from 'styled-components';

import { NetworkSetting } from '@src/constants';
import { AlignedFlexRow, FlexColumn, SpacingSize } from '@libs/layout';
import { Button, SvgIcon, Typography } from '@libs/ui';
import { RouterPath, useTypedNavigate } from '@popup/router';
import { useCasperToken } from '@src/hooks';
import { selectActiveNetworkSetting } from '@background/redux/settings/selectors';

const ButtonContainer = styled(AlignedFlexRow)`
cursor: pointer;
padding: 14px 16px;
`;

interface ButtonsProps {
handleBuyWithCSPR: () => void;
}

export const ModalButtons = ({ handleBuyWithCSPR }: ButtonsProps) => {
const { t } = useTranslation();
const navigate = useTypedNavigate();
const casperToken = useCasperToken();

const network = useSelector(selectActiveNetworkSetting);

return (
<FlexColumn>
{network === NetworkSetting.Mainnet && (
<ButtonContainer gap={SpacingSize.Large} onClick={handleBuyWithCSPR}>
<Button circle>
<SvgIcon src="assets/icons/card.svg" color="contentOnFill" />
</Button>
<FlexColumn>
<Typography type="bodySemiBold">
<Trans t={t}>Buy</Trans>
</Typography>
<Typography type="captionRegular" color="contentSecondary">
<Trans t={t}>Buy CSPR with cash</Trans>
</Typography>
</FlexColumn>
</ButtonContainer>
)}
<ButtonContainer
gap={SpacingSize.Large}
onClick={() =>
navigate(
casperToken?.id
? RouterPath.Transfer.replace(
':tokenContractPackageHash',
casperToken.id
).replace(
':tokenContractHash',
casperToken.contractHash || 'null'
)
: RouterPath.TransferNoParams
)
}
>
<Button circle>
<SvgIcon src="assets/icons/transfer.svg" color="contentOnFill" />
</Button>
<FlexColumn>
<Typography type="bodySemiBold">
<Trans t={t}>Send</Trans>
</Typography>
<Typography type="captionRegular" color="contentSecondary">
<Trans t={t}>Send CSPR to any account</Trans>
</Typography>
</FlexColumn>
</ButtonContainer>
<ButtonContainer
gap={SpacingSize.Large}
onClick={() =>
navigate(RouterPath.Receive, {
state: { tokenData: casperToken }
})
}
>
<Button circle>
<SvgIcon src="assets/icons/receive.svg" color="contentOnFill" />
</Button>
<FlexColumn>
<Typography type="bodySemiBold">
<Trans t={t}>Receive</Trans>
</Typography>
<Typography type="captionRegular" color="contentSecondary">
<Trans t={t}>Receive CSPR</Trans>
</Typography>
</FlexColumn>
</ButtonContainer>
<ButtonContainer
gap={SpacingSize.Large}
onClick={() => navigate(RouterPath.Delegate)}
>
<Button circle>
<SvgIcon src="assets/icons/delegate.svg" color="contentOnFill" />
</Button>
<Typography type="bodySemiBold">
<Trans t={t}>Delegate</Trans>
</Typography>
</ButtonContainer>
<ButtonContainer
gap={SpacingSize.Large}
onClick={() => navigate(RouterPath.Undelegate)}
>
<Button circle>
<SvgIcon src="assets/icons/undelegate.svg" color="contentOnFill" />
</Button>
<Typography type="bodySemiBold">
<Trans t={t}>Undelegate</Trans>
</Typography>
</ButtonContainer>
</FlexColumn>
);
};
6 changes: 3 additions & 3 deletions src/apps/popup/pages/home/components/tokens-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { formatErc20TokenBalance } from './utils';
const TotalValueContainer = styled(SpaceBetweenFlexRow)`
padding: 12px 16px;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-top-left-radius: ${({ theme }) => theme.borderRadius.twelve}px;
border-top-right-radius: ${({ theme }) => theme.borderRadius.twelve}px;
background-color: ${({ theme }) => theme.color.backgroundPrimary};
`;

Expand Down Expand Up @@ -77,7 +77,7 @@ export const TokensList = () => {
/>
)}
marginLeftForItemSeparatorLine={56}
marginLeftForHeaderSeparatorLine={16}
marginLeftForHeaderSeparatorLine={0}
/>
);
};
Loading

0 comments on commit 507f3b3

Please sign in to comment.