Skip to content

Commit

Permalink
feat: web3 profile feed (#6806)
Browse files Browse the repository at this point in the history
* chore: bump version to 2.10.0

* fix: get current visiting identity at initialization (#6718)

* fix: bugfix for connect wallet

* style: fix tab component style

* fix: bugfix for status bar

* fix: link out icon

* fix: primary color don't flow twitter

* fix: trending maximum value format

* feat: remove short name for bnb chain

* feat: change RSS3 icon style (#6723)

Co-authored-by: Randolph <[email protected]>

* fix: snackbar

* fix: bugfix for application

* feat: format token security supply format

* fix: issue #6725

* fix: bugfix for mask textfield

* fix: popup

* fix: ui style

* fix: add tooltip to game plugin

* fix: remove startIcon

* fix: open select wallet dialog when click game without wallet

* fix: button style at referral

* fix: css style (#6730)

* fix: link link on by coingecko is incorrect (#6731)

* fix: web3 profile bug (#6727)

* feat: delete LinkOutIcon initial fill color

* feat: refresh wallet setting date when wallets change

* feat: change button name and collection style

Co-authored-by: Randolph <[email protected]>

* fix: add collectible dialog (#6729)

* fix: share button at pets dialog

* fix: detecting scenechange (#6724)

* fix: detecting scenechange

* fix: follow up reviews

* add useSceneChange hook

* fix(tip): remove link and click to select on NFT item (#6736)

* fix(Connection): use promise instead of function that return promise (#6740)

* fix: some fixes for pending transaction (#6737)

* fix: web3 profile bug (#6741)

* feat: delete LinkOutIcon initial fill color

* feat: refresh wallet setting date when wallets change

* feat: change button name and collection style

* feat: change nextId UI under web3 tab

* fix: address display of menu

* fix: copywriting of FindTruman

* fix: donations and footprints display

* feat: chang fundtruman copywriting

Co-authored-by: Randolph <[email protected]>

* fix: incorrect gas config

* fix: mf 1404

* chore: remove undefined locale key

* fix: type error

* fix: mf 1365

* fix: token id maybe is string in alchemy

* fix: hide buy button on NFT trending (#6738)

* feat: format token security supply format

* fix: mf-1440 coin menu selecting doesn't work (#6744)

* fix(trending): mf-1437 layout of buy button (#6743)

* fix: tab text hover color

* fix: mf-1409 style of scrollbar (#6746)

* style: dashboard swap background

* fix: wallet connect callback

* fix: replace web3 to connection (#6751)

* fix: replace web3 to connection in trader plugin

* fix: bugfix

* fix: mf 1408 app board verify

* fix: token security UI (#6755)

* fix: profile content component computed dependency

* fix: token security ui

* fix: copy ui

Co-authored-by: Randolph <[email protected]>

* fix: mf-1443 crash on persona searching (#6753)

* fix: mf-1443 crash on persona searching

* fixup! add reaction to copy

* fix: mf 1435

* fix: patch for swap (#6756)

* fix: bugfix for swap callback

* fix: bugfix

* fix: turn off annoying isVisitable props warning (#6748)

* fix: mf 1416

* fix: mf 1419

* fix: mf 1404

* fix: bugfix for unknow contract

* fix: mf 1373

* fix: rebase (#6754)

* fix: mf 1397

* fix: incorrect chain id with formatter context (#6758)

* fix: mf 1423

* fix: workaround for pure react carousel issue

* fix: add explore link at harmony

* fix: mf-1418 some places fail to get icon of token (#6759)

* fix: mf-1418 some places fail to get icon of token

* fixup! fix: mf-1418 some places fail to get icon of token

* fix:  css style for retry button atnsnapshot (#6747)

* fix: css style at snapshot

* fix: margin size

* fix: typo

* fix: copy audit (#6763)

* fix: mf 1441

* feat: change linkIcon UI

Co-authored-by: Randolph <[email protected]>

* fix: switch chain with fortmatic (#6762)

* fix: typo

* fix: some fix issues (#6764)

* fix: some fix issues

* fix: account when not evm

* fix: fix history tab loading ui (#6765)

* fix: 2.1.0 Savings issues (#6766)

* fix: some Saving ui issues

* fix: withdraw reject + code style

* fix: eth to seth

* fix: bugfix for token icon

* fix: eslint

* feat: change cpoywriting of welcome page

* feat(lucky drop): pre gas minus (#6467)

* feat(lucky drop): pre gas minus

* chore: reply code review

* chore: solve error

* fix: solve conflict

* chore: format balance

* chore: apply confition

apply only sum of gas and total greater than balance

* chore: increase estimate gas

* chore: format significant

* chore: reply code review

* chore: format significant

* chore: i18n

* chore: reply code review

* chore: use big number

* chore: add useTransactionValue hook

* fix: switch chain then revoke

* fix: switch chain then revoke

* fix: add cache for getting avatar meta from kv at avatar plugin (#6733)

* fix: add cache for getting avatar meta from kv at avatar plugin

* fix: reply review

* fix: pnpm-lock.yaml

* refactor: reply review

* fix: revert code

* fix: reply review

* fix: build error

* fix: tokenId at alchemy (#6742)

* fix: tokenId at alchemy

* fix: long long number to string

* fix: use web3.utils.hexToNumberString

* fix: sign transaction (#6752)

* fix: failed to sign tx

* fix: tx gas

* fix: error message

* chore: wip

* refactor: revoke changes

* fix: sign payload

* feat: welcome copywriting

* fix: arbitrum symbol

* fix: eslint

* fix: prefix areth

* fix: next id app board

* fix: add priceToken property at FungibleToken (#6768)

* fix : token security dialog width (#6770)

* feat: change dialog width

* feat: delete useless code

Co-authored-by: Randolph <[email protected]>

* fix: crash

* fix: lucky drop infinite loading

* feat: add empty status of main page (#6772)

Co-authored-by: Randolph <[email protected]>

* fix: add padding to dialog content (#6773)

* fix: plugin close dialog ui

* chore: nft lucky drop history

* fix: nonce confliction (#6771)

* feat(lucky drop): pre gas minus (#6467)

* feat(lucky drop): pre gas minus

* chore: reply code review

* chore: solve error

* fix: solve conflict

* chore: format balance

* chore: apply confition

apply only sum of gas and total greater than balance

* chore: increase estimate gas

* chore: format significant

* chore: reply code review

* chore: format significant

* chore: i18n

* chore: reply code review

* chore: use big number

* chore: add useTransactionValue hook

* refactor: unlock nft

Co-authored-by: Hancheng Zhou <[email protected]>

* Revert "fix: nonce confliction (#6771)" (#6774)

This reverts commit 1c971b6.

* refactor: unlock nft (#6769)

* fix: nft red packet button ui

* fix: lint

* fix: nonce confliction (#6775)

* fix: hex to number string

* feat: web3 profile tabs display (#6777)

* feat: change nextid page display

* feat: change web3 tabs display

Co-authored-by: Randolph <[email protected]>

* refactor: remove legacy payload (#6776)

* fix: rounded dark button style

* fix: add padding to dialog content (#6779)

* fix: revert scroll bar

* fix: app board carousel ui

* feat: disable Web3 profile plugin in Facebook

* fix: cancel outer scrollbar of token picker dialog (#6783)

* fix(trending): might fail to fetch symbol to token (#6782)

* feat: add web3 feed api

* feat: change nextID page UI under web3 tabs

* feat: own persona must connect at least 1 wallet

* feat: move RSS3 icon to public file

* feat: delete icon default fill param

* feat: change web3 tabs UI

* feat: change icon

* feat: add description for some web3 status

* feat: delete useless code

* feat: change poap ui

* feat: change donations and footprints UI

* feat: change copyright subject

* feat: add dynamic color to icon

* feat: add loading more icon for image management page

* feat: add detail card for footprints and donations

* feat: create feed plugin

* feat: change web3 feed UI

* feat: change nextID page UI

* feat: delete useless code

* feat: change code style

* fix: typo

* feat: delete useless code

* feat: merge develop

* feat: change icon color

* feat: change web3 tabs style

* feat: add plugin  tsconfig under mask file

* fix: type error

* feat: add network icon to NFT img

* feat: add plugin

* fix: code usage specification

* feat: use MaskTabList component

* feat: merge develop

* feat: add types for web3 feed

* feat: add singular for days and hours

* feat: merge develop

* feat: move component code

* feat: add Etherscan icon

* fix: code style

* fixup! fix: code style

* feat: delete useless code

Co-authored-by: guanbinrui <[email protected]>
Co-authored-by: UncleBill <[email protected]>
Co-authored-by: nuanyang233 <[email protected]>
Co-authored-by: Lantt <[email protected]>
Co-authored-by: Randolph <[email protected]>
Co-authored-by: lelenei <[email protected]>
Co-authored-by: zhouhanseng <[email protected]>
Co-authored-by: BillyS <[email protected]>
Co-authored-by: guanbinrui <[email protected]>
  • Loading branch information
10 people authored Jul 26, 2022
1 parent d62a0ee commit d934457
Show file tree
Hide file tree
Showing 84 changed files with 1,605 additions and 823 deletions.
11 changes: 11 additions & 0 deletions .i18n-codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,17 @@
"trans": "Translate",
"sourceMap": "inline"
}
},
{
"input": "./packages/mask/src/plugins/Web3Feed/locales/en-US.json",
"output": "./packages/mask/src/plugins/Web3Feed/locales/i18n_generated",
"parser": { "type": "i18next", "contextSeparator": "$", "pluralSeparator": "_" },
"generator": {
"type": "i18next/react-hooks",
"hooks": "useI18N",
"namespace": "com.maskbook.web3-feed",
"trans": "Translate"
}
}
]
}
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"perma",
"pids",
"plusplus",
"polygonscan",
"pooltogether",
"popc",
"popper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@masknet/shared-base'
import { LoadingAnimation, SOCIAL_MEDIA_ICON_MAPPING } from '@masknet/shared'
import { PersonaContext } from '../../hooks/usePersonaContext'
import { NextIdPersonaWarningIcon, NextIdPersonaVerifiedIcon } from '@masknet/icons'
import { NextIdPersonaWarning, NextIdPersonaVerified } from '@masknet/icons'

const useStyles = makeStyles()((theme) => ({
icon: {
Expand Down Expand Up @@ -143,9 +143,9 @@ export const ConnectedPersonaLine = memo<ConnectedPersonaLineProps>(
{proof.loading ? (
<LoadingAnimation />
) : isProved?.is_valid ? (
<NextIdPersonaVerifiedIcon size={18} />
<NextIdPersonaVerified color="#1C68F3" size={18} />
) : (
<NextIdPersonaWarningIcon size={18} />
<NextIdPersonaWarning size={18} />
)}
</Typography>
)}
Expand Down
1 change: 1 addition & 0 deletions packages/icons/brands/EtherScan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/icons/brands/PolygonScan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/icons/general/ArrowDrop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/icons/general/Connect.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/icons/general/DoubleArrowUp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions packages/icons/general/Edit2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/icons/general/Identity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions packages/icons/general/NextIdPersonaVerified.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/icons/general/RSS3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/icons/general/Selected.light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions packages/icons/general/Selected.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { createPaletteAwareIcon } from '../utils'

export const SelectedIcon = createPaletteAwareIcon(
'SelectedIcon',
<g>
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z" fill="rgb(245, 245, 245)" />
<path d="M8 14.667A6.667 6.667 0 1 0 8 1.333a6.667 6.667 0 0 0 0 13.334Z" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.115 5.507c.272.247.293.67.045.941l-3.333 3.667a.667.667 0 0 1-.928.058l-2.333-2a.667.667 0 1 1 .868-1.012l1.842 1.578 2.897-3.187a.667.667 0 0 1 .942-.045Z"
fill="#fff"
/>
</g>,
<g>
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z" fill="rgb(16, 16, 16)" />
<path d="M8 14.667A6.667 6.667 0 1 0 8 1.333a6.667 6.667 0 0 0 0 13.334Z" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.115 5.507c.272.247.293.67.045.941l-3.333 3.667a.667.667 0 0 1-.928.058l-2.333-2a.667.667 0 1 1 .868-1.012l1.842 1.578 2.897-3.187a.667.667 0 0 1 .942-.045Z"
fill="#fff"
/>
</g>,
undefined,
'0 0 16 16',
)
4 changes: 4 additions & 0 deletions packages/icons/plugins/WalletUnderTabs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/mask/shared-ui/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"copied": "Copied",
"daily": "Daily",
"dashboard_no_collectible_found": "No collectible found.",
"no_nft_at_current_address": "No NFT at the current address",
"dashboard_collectible_menu_all": "All ({{count}})",
"days": "Every {{days}} days",
"decrypted_postbox_add_recipients": "Append recipients",
Expand Down
Loading

0 comments on commit d934457

Please sign in to comment.