diff --git a/api/package.json b/api/package.json index b2277a53a..d90f299c7 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "cloudmos-api", - "version": "2.18.3", + "version": "2.18.4", "description": "Api providing data to the deploy tool", "author": "Cloudmos", "license": "Apache-2.0", diff --git a/deploy-web/src/components/authorizations/AllowanceGrantedRow.tsx b/deploy-web/src/components/authorizations/AllowanceGrantedRow.tsx index 4b44df46a..ce116dd78 100644 --- a/deploy-web/src/components/authorizations/AllowanceGrantedRow.tsx +++ b/deploy-web/src/components/authorizations/AllowanceGrantedRow.tsx @@ -15,7 +15,7 @@ type Props = { export const AllowanceGrantedRow: React.FunctionComponent = ({ allowance }) => { return ( - + {getAllowanceTitleByType(allowance)}
diff --git a/deploy-web/src/components/authorizations/AllowanceIssuedRow.tsx b/deploy-web/src/components/authorizations/AllowanceIssuedRow.tsx index bc0ee492d..2e0a45aab 100644 --- a/deploy-web/src/components/authorizations/AllowanceIssuedRow.tsx +++ b/deploy-web/src/components/authorizations/AllowanceIssuedRow.tsx @@ -19,7 +19,7 @@ type Props = { export const AllowanceIssuedRow: React.FunctionComponent = ({ allowance, onEditAllowance, setDeletingAllowance }) => { return ( - + {getAllowanceTitleByType(allowance)}
diff --git a/deploy-web/src/components/authorizations/Authorizations.tsx b/deploy-web/src/components/authorizations/Authorizations.tsx index 261e13a91..724022d6d 100644 --- a/deploy-web/src/components/authorizations/Authorizations.tsx +++ b/deploy-web/src/components/authorizations/Authorizations.tsx @@ -21,6 +21,7 @@ import { AllowanceIssuedRow } from "./AllowanceIssuedRow"; import { GranteeRow } from "./GranteeRow"; import { GranterRow } from "./GranterRow"; import { NextSeo } from "next-seo"; +import { Title } from "../shared/Title"; type Props = {}; @@ -128,14 +129,14 @@ export const Authorizations: React.FunctionComponent = ({}) => { page={SettingsTabs.AUTHORIZATIONS} headerActions={
-
} > -

+

These authorizations allow you authorize other addresses to spend on deployments or deployment deposits using your funds. You can revoke these authorizations at any time.

@@ -200,15 +201,15 @@ export const Authorizations: React.FunctionComponent = ({}) => { )} -
-

Tx Fee Authorizations

-
-

+

These authorizations allow you authorize other addresses to spend on transaction fees using your funds. You can revoke these authorizations at any time.

diff --git a/deploy-web/src/components/authorizations/GranteeRow.tsx b/deploy-web/src/components/authorizations/GranteeRow.tsx index 990071379..d28f9f6cc 100644 --- a/deploy-web/src/components/authorizations/GranteeRow.tsx +++ b/deploy-web/src/components/authorizations/GranteeRow.tsx @@ -17,7 +17,7 @@ export const GranteeRow: React.FunctionComponent = ({ grant }) => { const denomData = useDenomData(grant.authorization.spend_limit.denom); return ( - +
diff --git a/deploy-web/src/components/authorizations/GranterRow.tsx b/deploy-web/src/components/authorizations/GranterRow.tsx index 6899f3a7f..95b3b00f7 100644 --- a/deploy-web/src/components/authorizations/GranterRow.tsx +++ b/deploy-web/src/components/authorizations/GranterRow.tsx @@ -21,7 +21,7 @@ export const GranterRow: React.FunctionComponent = ({ children, grant, on const denomData = useDenomData(grant.authorization.spend_limit.denom); return ( - +
diff --git a/deploy-web/src/components/deployments/DeploymentListRow.tsx b/deploy-web/src/components/deployments/DeploymentListRow.tsx index ac00d038c..cf46cba02 100644 --- a/deploy-web/src/components/deployments/DeploymentListRow.tsx +++ b/deploy-web/src/components/deployments/DeploymentListRow.tsx @@ -181,14 +181,16 @@ export const DeploymentListRow: React.FunctionComponent = ({ deployment, return ( <> viewDeployment()}> - - + +
+ +
{deploymentName} diff --git a/deploy-web/src/components/settings/SettingsLayout.tsx b/deploy-web/src/components/settings/SettingsLayout.tsx index 38ab79b6b..2172218b5 100644 --- a/deploy-web/src/components/settings/SettingsLayout.tsx +++ b/deploy-web/src/components/settings/SettingsLayout.tsx @@ -6,6 +6,7 @@ import { useRouter } from "next/navigation"; import { ErrorFallback } from "@src/components/shared/ErrorFallback"; import { Tabs, TabsList, TabsTrigger } from "@src/components/ui/tabs"; import { cn } from "@src/utils/styleUtils"; +import { Title } from "../shared/Title"; export enum SettingsTabs { GENERAL = "GENERAL", @@ -45,8 +46,8 @@ export const SettingsLayout: React.FunctionComponent = ({ children, page, -
-

{title}

+
+ {title} {headerActions}
diff --git a/deploy-web/src/components/shared/Fieldset.tsx b/deploy-web/src/components/shared/Fieldset.tsx index 676b3ffcd..846e38982 100644 --- a/deploy-web/src/components/shared/Fieldset.tsx +++ b/deploy-web/src/components/shared/Fieldset.tsx @@ -1,6 +1,6 @@ "use client"; import React from "react"; -import { Card, CardContent } from "../ui/card"; +import { Card, CardContent, CardHeader } from "../ui/card"; type Props = { label: string; @@ -11,13 +11,8 @@ type Props = { export const Fieldset: React.FunctionComponent = ({ label, className = "", children }) => { return ( - -
-

{label}

-
- -
{children}
-
+ {label} + {children}
); }; diff --git a/deploy-web/src/components/shared/TemplateGridButton.tsx b/deploy-web/src/components/shared/TemplateGridButton.tsx index 6f1274187..8b6ff7a64 100644 --- a/deploy-web/src/components/shared/TemplateGridButton.tsx +++ b/deploy-web/src/components/shared/TemplateGridButton.tsx @@ -14,7 +14,7 @@ type Props = { export const TemplateGridButton: React.FunctionComponent = ({ template, onClick }) => { return ( diff --git a/deploy-web/src/pages/profile/[username]/index.tsx b/deploy-web/src/pages/profile/[username]/index.tsx index c56d8d4d9..08a99782a 100644 --- a/deploy-web/src/pages/profile/[username]/index.tsx +++ b/deploy-web/src/pages/profile/[username]/index.tsx @@ -1,9 +1,7 @@ -import { UrlService } from "@src/utils/urlUtils"; -import { Metadata } from "next"; import { BASE_API_MAINNET_URL } from "@src/utils/constants"; -import { UserProfile } from "../../../components/user/UserProfile"; import { IUserSetting } from "@src/types/user"; import axios from "axios"; +import { UserProfile } from "@src/components/user/UserProfile"; type Props = { username: string;