Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/(sidebar)/account/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function CreateAccount() {

return (
<div className="Account">
<PageCard heading="Keypair Generator">
<PageCard heading="Keypair generator">
<div className="Account__card">
<Text size="sm" as="div">
These keypairs can be used on the Stellar network where one is
Expand Down Expand Up @@ -136,7 +136,7 @@ export default function CreateAccount() {
setIsSaveModalVisible(true);
}}
>
Save Keypair
Save keypair
</Button>
) : null}
</>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/account/muxed-create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function CreateMuxedAccount() {
return (
<div className="Account">
<PageCard
heading="Create Multiplexed Account"
heading="Create multiplexed account"
headingInfoLink="https://developers.stellar.org/docs/learn/encyclopedia/transactions-specialized/pooled-accounts-muxed-accounts-memos"
>
<div className="Account__card">
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/account/muxed-parse/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ParseMuxedAccount() {
return (
<div className="Account">
<PageCard
heading="Get Muxed Account from M address"
heading="Get muxed account from M address"
headingInfoLink="https://developers.stellar.org/docs/learn/encyclopedia/transactions-specialized/pooled-accounts-muxed-accounts-memos"
>
<div className="Account__card">
Expand Down
4 changes: 2 additions & 2 deletions src/app/(sidebar)/account/saved/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function SavedKeypairs() {
return (
<Box gap="md">
<PageCard
heading="Saved Keypairs"
heading="Saved keypairs"
rightElement={
<Button
variant="tertiary"
Expand Down Expand Up @@ -289,7 +289,7 @@ const SavedKeypairItem = ({
size="md"
onClick={() => fundWithFriendbot()}
>
Fund with Friendbot
Fund with friendbot
</Button>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/network-limits/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function NetworkLimits() {

return (
<div className="NetworkLimits">
<PageCard heading="Network Limits">
<PageCard heading="Network limits">
{network.id === "custom" ? (
<Alert
placement="inline"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export default function ContractExplorer() {

return (
<Box gap="lg">
<PageCard heading="Contract Explorer">
<PageCard heading="Contract explorer">
{!network.rpcUrl ? (
<Alert variant="warning" placement="inline" title="Attention">
RPC URL is required to view contract information. You can add it in
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/smart-contracts/contract-list/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function ContractList() {

return (
<TabView
heading={{ title: "Smart Contract List" }}
heading={{ title: "Smart contract list" }}
tab1={{
id: "popular",
label: "Popular",
Expand Down
4 changes: 2 additions & 2 deletions src/app/(sidebar)/smart-contracts/deploy-contract/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ export default function DeployContract() {
}
}}
>
Build Upload transaction
Build upload transaction
</Button>
</Box>

Expand Down Expand Up @@ -978,7 +978,7 @@ export default function DeployContract() {
return (
<Box gap="lg">
<PageCard
heading="Upload and Deploy Contract"
heading="Upload and deploy contract"
rightElement={
<Button
variant="error"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/smart-contracts/saved/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function SavedSmartContracts() {

return (
<Box gap="md">
<PageCard heading="Saved Smart Contracts">
<PageCard heading="Saved smart contracts">
<Box gap="md">
<>
{savedContracts.length === 0
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction-dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export default function TransactionDashboard() {

return (
<Box gap="lg">
<PageCard heading="Transaction Dashboard">
<PageCard heading="Transaction dashboard">
{!network.rpcUrl ? (
<Alert variant="warning" placement="inline" title="Attention">
RPC URL is required to view transaction information. You can add it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ export const ClassicOperation = ({
});
}}
>
Add Operation
Add operation
</Button>

<Button
Expand Down Expand Up @@ -535,7 +535,7 @@ export const ClassicOperation = ({
});
}}
>
Clear Operations
Clear operations
</Button>
</Box>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions src/app/(sidebar)/transaction/build/components/Params.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export const Params = () => {
};

return (
<PageCard heading="Build Transaction">
<PageCard heading="Build transaction">
<Box gap="lg">
<SourceAccountPicker
value={txnParams.source_account}
Expand Down Expand Up @@ -378,7 +378,7 @@ export const Params = () => {
}}
icon={<Icon.RefreshCw01 />}
>
Clear Params
Clear params
</Button>
</Box>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export const SorobanOperation = ({
/* noop*/
}}
>
Add Operation
Add operation
</Button>

<Button
Expand Down Expand Up @@ -356,7 +356,7 @@ export const SorobanOperation = ({
});
}}
>
Clear Operation
Clear operation
</Button>
</Box>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/fee-bump/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function FeeBumpTransaction() {
return (
<Box gap="md">
<PageCard
heading="Fee Bump"
heading="Fee bump"
rightElement={
<Button
size="md"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/saved/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default function SavedTransactions() {

return (
<Box gap="md" data-testid="saved-transactions-container">
<PageCard heading="Saved Transactions">
<PageCard heading="Saved transactions">
<Box gap="md">
<>
{savedTxns.length === 0
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/sign/components/Import.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const Import = () => {

return (
<Box gap="md">
<PageCard heading="Sign Transaction">
<PageCard heading="Sign transaction">
<div className="SignTx__xdr">
<XdrPicker
id="sign-tx-xdr"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/sign/components/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ export const Overview = () => {
return (
<>
<PageCard
heading="Transaction Overview"
heading="Transaction overview"
rightElement={
<Button
size="md"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/simulate/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function SimulateTransaction() {
};

return (
<PageCard heading="Simulate Transaction">
<PageCard heading="Simulate transaction">
{!network.rpcUrl ? (
<Alert variant="warning" placement="inline" title="Attention">
RPC URL is required to simulate a transaction. You can add it in the
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transaction/submit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export default function SubmitTransaction() {

return (
<Box gap="md" data-testid="submit-tx-xdr">
<PageCard heading="Submit Transaction">
<PageCard heading="Submit transaction">
<Box gap="lg">
<XdrPicker
id="submit-tx-xdr"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transactions-explorer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default function Explorer() {

return (
<Box gap="md" data-testid="explorer" addlClassName="TransactionsExplorer">
<PageCard heading="Transactions Explorer">
<PageCard heading="Transactions explorer">
{errorElement}

<TransactionsTable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function TransactionDetails({

return (
<Box gap="md" data-testid="explorer">
<PageCard heading="Transaction Envelope">
<PageCard heading="Transaction envelope">
<Box gap="xs" align="start">
<InfoField
label="Status"
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/transactions-explorer/tx/[tx]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function Tx({ params }: { params: Promise<{ tx: string }> }) {

return (
<Box gap="md" data-testid="explorer">
<PageCard heading="Transaction Envelope">
<PageCard heading="Transaction envelope">
{errorElement}

{tx.isLoading && (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/Networks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const Networks = ({
]
: [
{
label: "Build Transaction",
label: "Build transaction",
onAction: () => {
router.push(Routes.BUILD_TRANSACTION);
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const Slider = ({ imgTheme }: { imgTheme: "light" | "dark" }) => {
`/images/lab-home-intro-tx-${imgTheme}.png`,
),
actionButton: {
label: "Build Transaction",
label: "Build transaction",
route: Routes.BUILD_TRANSACTION,
},
buttons: [
Expand Down
2 changes: 1 addition & 1 deletion src/components/SignerSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const SignerSelectorDropdown = ({

if (currentNetworkKeypairs.length > 0) {
const saved = {
label: "Saved Keypairs",
label: "Saved keypairs",
items: currentNetworkKeypairs,
};
availableAddress.push(saved);
Expand Down
30 changes: 15 additions & 15 deletions src/constants/navItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ export type NavItem = {
const ACCOUNT_NAV = [
{
route: Routes.ACCOUNT_CREATE,
label: "Create Account Keypair",
label: "Create account keypair",
},
{
route: Routes.ACCOUNT_FUND,
label: "Fund Account",
label: "Fund account",
},
{
route: Routes.ACCOUNT_CREATE_MUXED,
label: "Create Muxed Account",
label: "Create muxed account",
},
{
route: Routes.ACCOUNT_PARSE_MUXED,
label: "Parse Muxed Account",
label: "Parse muxed account",
},
];

Expand All @@ -85,38 +85,38 @@ const ENDPOINTS_NAV = [
const SMART_CONTRACTS_NAV = [
{
route: Routes.SMART_CONTRACTS_CONTRACT_EXPLORER,
label: "Contract Explorer",
label: "Contract explorer",
},
{
route: Routes.SMART_CONTRACTS_CONTRACT_LIST,
label: "Smart Contract List",
label: "Smart contract list",
},
{
route: Routes.SMART_CONTRACTS_DEPLOY_CONTRACT,
label: "Upload and Deploy Contract",
label: "Upload and deploy contract",
},
];

const TRANSACTION_NAV = [
{
route: Routes.BUILD_TRANSACTION,
label: "Build Transaction",
label: "Build transaction",
},
{
route: Routes.SIGN_TRANSACTION,
label: "Sign Transaction",
label: "Sign transaction",
},
{
route: Routes.SIMULATE_TRANSACTION,
label: "Simulate Transaction",
label: "Simulate transaction",
},
{
route: Routes.SUBMIT_TRANSACTION,
label: "Submit Transaction",
label: "Submit transaction",
},
{
route: Routes.FEE_BUMP_TRANSACTION,
label: "Fee Bump",
label: "Fee bump",
},
];

Expand Down Expand Up @@ -195,18 +195,18 @@ export const NAV: NavItem[] = [
]),
{
route: Routes.TRANSACTION_DASHBOARD,
label: "Transaction Dashboard",
label: "Transaction dashboard",
},
...(process.env.NEXT_PUBLIC_ENABLE_EXPLORER === "true"
? [
{
route: Routes.TRANSACTIONS_EXPLORER,
label: "Transactions Explorer",
label: "Transactions explorer",
},
]
: []),
{
route: Routes.NETWORK_LIMITS,
label: "Network Limits",
label: "Network limits",
},
];
Loading
Loading