Skip to content

Commit c9d17d5

Browse files
authored
Merge pull request #1700 from chainapsis/sam/keplr-1508
Smart grouping is no longer beta + delay inital expand of stake page rewards card
2 parents e6b082d + d0e704b commit c9d17d5

File tree

4 files changed

+5
-48
lines changed

4 files changed

+5
-48
lines changed

apps/extension/src/languages/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@
700700

701701
"page.main.components.context-menu.title": "View Options",
702702
"page.main.components.context-menu.tooltip-title": "New",
703-
"page.main.components.context-menu.tooltip-paragraph": "Tired of cluttered asset lists?{br}Try Smart Grouping (Beta)!",
703+
"page.main.components.context-menu.tooltip-paragraph": "Tired of cluttered asset lists?{br}Try Smart Grouping!",
704704
"page.main.components.context-menu.hide-low-balance": "Hide Low Balances",
705705
"page.main.components.context-menu.manage-asset-list": "Manage Asset List",
706706
"page.main.components.context-menu.smart-grouping": "Smart Grouping",

apps/extension/src/languages/ko.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681

682682
"page.main.components.context-menu.title": "자산 보기 설정",
683683
"page.main.components.context-menu.tooltip-title": "신규",
684-
"page.main.components.context-menu.tooltip-paragraph": "흩어진 자산을 한 눈에!{br}스마트 그루핑 기능(베타) 출시",
684+
"page.main.components.context-menu.tooltip-paragraph": "흩어진 자산을 한 눈에!{br}스마트 그루핑 기능을 사용해보세요!",
685685
"page.main.components.context-menu.hide-low-balance": "소액 숨기기",
686686
"page.main.components.context-menu.smart-grouping": "Smart Grouping",
687687
"page.main.components.context-menu.manage-asset-list": "자산 표시 관리",

apps/extension/src/pages/main/components/context-menu/index.tsx

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ const MainMenu: React.FC<MainMenuProps> = observer(
205205
id: "page.main.components.context-menu.smart-grouping",
206206
})}
207207
</Body3>
208-
<Gutter size="0.125rem" />
209-
<BetaIcon />
210208
</Styles.MenuItemXAxis>
211209
<div onClick={(e) => e.stopPropagation()}>
212210
<Toggle
@@ -683,46 +681,3 @@ const FireIcon: FunctionComponent<IconProps> = ({ color }) => {
683681
</div>
684682
);
685683
};
686-
687-
const BetaIcon: FunctionComponent<IconProps> = () => {
688-
return (
689-
<div
690-
style={{
691-
display: "flex",
692-
width: "28px",
693-
height: "15px",
694-
padding: "1px 3px",
695-
justifyContent: "center",
696-
alignItems: "center",
697-
gap: "10px",
698-
borderRadius: "4px",
699-
background: "var(--Blue-Blue400, #2C4BE2)",
700-
}}
701-
>
702-
<svg
703-
xmlns="http://www.w3.org/2000/svg"
704-
width="20"
705-
height="8"
706-
viewBox="0 0 20 8"
707-
fill="none"
708-
>
709-
<path
710-
d="M15.1934 7.04541C14.7979 7.04541 14.5254 6.79932 14.5254 6.44775C14.5254 6.30273 14.5649 6.13574 14.666 5.84131L15.9932 1.95215C16.2305 1.24023 16.5732 0.95459 17.2061 0.95459C17.8389 0.95459 18.1729 1.23584 18.4146 1.95215L19.7373 5.84131C19.8164 6.0874 19.856 6.26318 19.856 6.41699C19.856 6.79932 19.5835 7.04541 19.166 7.04541C18.7793 7.04541 18.5552 6.83447 18.4102 6.33789L18.1816 5.62158H16.1646L15.9316 6.33789C15.7866 6.84766 15.5801 7.04541 15.1934 7.04541ZM16.4634 4.57129H17.8872L17.2148 2.29932H17.1445L16.4634 4.57129Z"
711-
fill="#FEFEFE"
712-
/>
713-
<path
714-
d="M12.4577 7.04102C12.005 7.04102 11.7326 6.75098 11.7326 6.27637V2.18945H10.5944C10.2604 2.18945 10.0099 1.93457 10.0099 1.59619C10.0099 1.25342 10.2604 0.998535 10.5944 0.998535H14.3341C14.6681 0.998535 14.9142 1.25342 14.9142 1.59619C14.9142 1.93457 14.6681 2.18945 14.3341 2.18945H13.1872V6.27637C13.1872 6.75098 12.9103 7.04102 12.4577 7.04102Z"
715-
fill="#FEFEFE"
716-
/>
717-
<path
718-
d="M5.68782 6.1665V1.8291C5.68782 1.29297 5.98225 0.998535 6.53157 0.998535H9.25179C9.58577 0.998535 9.82307 1.23584 9.82307 1.57861C9.82307 1.91699 9.58577 2.1499 9.25179 2.1499H7.12483V3.44629H9.14632C9.45833 3.44629 9.66927 3.66602 9.66927 3.98242C9.66927 4.30322 9.45833 4.50977 9.14632 4.50977H7.12483V5.8457H9.23421C9.58577 5.8457 9.82307 6.07422 9.82307 6.42139C9.82307 6.77295 9.58577 6.99707 9.22981 6.99707H6.53157C5.98225 6.99707 5.68782 6.70703 5.68782 6.1665Z"
719-
fill="#FEFEFE"
720-
/>
721-
<path
722-
d="M0.144028 6.1665V1.8291C0.144028 1.29297 0.438461 0.998535 0.987778 0.998535H2.80272C3.93651 0.998535 4.64842 1.56543 4.64842 2.4707C4.64842 3.15625 4.23534 3.65723 3.57616 3.78027V3.84619C4.38036 3.89893 4.93407 4.48779 4.93407 5.29639C4.93407 6.31592 4.09911 6.99707 2.84666 6.99707H0.987778C0.438461 6.99707 0.144028 6.70703 0.144028 6.1665ZM1.58104 3.4375H2.27977C2.94334 3.4375 3.22899 3.14746 3.22899 2.72119C3.22899 2.29932 2.93895 2.02686 2.43358 2.02686H1.58104V3.4375ZM1.58104 5.96875H2.35887C3.1367 5.96875 3.4575 5.66553 3.4575 5.17773C3.4575 4.68994 3.1367 4.36914 2.50389 4.36914H1.58104V5.96875Z"
723-
fill="#FEFEFE"
724-
/>
725-
</svg>
726-
</div>
727-
);
728-
};

apps/extension/src/pages/stake/components/rewards-card.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export const RewardsCard: FunctionComponent<{
5858

5959
useEffect(() => {
6060
if (initialExpand) {
61-
setIsExpanded(true);
61+
setTimeout(() => {
62+
setIsExpanded(true);
63+
}, 250);
6264
}
6365
// eslint-disable-next-line react-hooks/exhaustive-deps
6466
}, []);

0 commit comments

Comments
 (0)