Skip to content

Commit

Permalink
[Release] Hotfix 2.25.0 => 2.25.1 (patch) (#11618)
Browse files Browse the repository at this point in the history
* chore: bump version to 2.25.1

* fix: mask token order in swap (#11620)

* fix: mismatch number tag (#11624)

* fix: mask token order (#11626)

---------

Co-authored-by: nuanyang233 <nuanyang233@gmail.com>
  • Loading branch information
guanbinrui and nuanyang233 committed May 16, 2024
1 parent d225877 commit 3871192
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"yarn": ">=999.0.0",
"npm": ">=999.0.0"
},
"version": "2.25.0",
"version": "2.25.1",
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const SideBarNativeItemPaddingRef = new ValueRef('11px')

function toolboxInSidebarSelector() {
// Organization account don't have a [data-testid=AppTabBar_More_Menu] in page. see MF-3866
return querySelector<HTMLElement>('[role="banner"] nav[role="navigation"] > div[data-testid=AppTabBar_More_Menu]')
return querySelector<HTMLElement>(
'[role="banner"] nav[role="navigation"] > button[data-testid=AppTabBar_More_Menu]',
)
}

export function injectToolboxHintAtTwitter(signal: AbortSignal, category: 'wallet' | 'application') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ export function postEditorContentInPopupSelector() {
)
}
export function postEditorInPopupSelector() {
return querySelector<E>(
'[aria-labelledby="modal-header"] div[data-testid="toolBar"] [role="presentation"]:has(> div[data-testid="geoButton"])',
)
return querySelector<E>('div[data-testid="toolBar"] [role="presentation"]:has(> button[data-testid="geoButton"])')
}
export function sideBarProfileSelector() {
return querySelector<E>('[role="banner"] [role="navigation"] [data-testid="AppTabBar_Profile_Link"] > div')
Expand Down Expand Up @@ -310,7 +308,7 @@ export function searchRetweetAvatarSelector() {

export function searchReplyToolbarSelector() {
return querySelector<E>(
'div[data-testid="primaryColumn"] div[data-testid="toolBar"] [role="presentation"]:has(> div[data-testid="geoButton"])',
'div[data-testid="primaryColumn"] div[data-testid="toolBar"] [role="presentation"]:has(> button[data-testid="geoButton"])',
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export const RenderLinkFragment = memo(function RenderLink(
HashLink = Text,
} = context
const sharedProps = { style, children, suggestedPostImage }
if (category === 'cash') return <CashLink {...sharedProps} />

if (category === 'cash') {
if (/^\$\d+/.test(children)) return <Text {...sharedProps} />
return <CashLink {...sharedProps} />
}
if (category === 'hash') return <HashLink {...sharedProps} />
if (category === 'user') return <AtLink {...sharedProps} />
return <Link {...sharedProps} href={href} />
Expand Down
Binary file modified patches/@lifi__widget@2.10.1.patch
Binary file not shown.
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3871192

Please sign in to comment.