Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fix wording #72

Merged
merged 10 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from 9 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- [#72](https://github.com/alleslabs/celatone-frontend/pull/72) Fix general wording and grammar
- [#109](https://github.com/alleslabs/celatone-frontend/pull/109) Fix incorrect rendering of zero value badges
- [#106](https://github.com/alleslabs/celatone-frontend/pull/106) Add sort alphabetically to query and execute shortcuts
- [#88](https://github.com/alleslabs/celatone-frontend/pull/88) Add code snippet for query and execute
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/state/ZeroState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ActionSection = ({ list, handleAction }: ActionSectionProps) =>
}}
/>
</Flex>
Created contract list and saved contracts are stored in your device only.
Contract lists and saved contracts are stored locally on your device.
</Flex>
);

Expand Down Expand Up @@ -76,7 +76,7 @@ export const ZeroState = ({ list, isReadOnly }: ZeroStateProps) => {
alignContent="center"
>
{!isWalletConnected && isInstantiatedByMe ? (
<DisconnectedState text="to deploy new contracts." />
<DisconnectedState text="to see contracts you've previously instantiated." />
) : (
<Flex alignItems="center" flexDir="column" gap="4">
<Icon as={MdSearch} color="gray.600" boxSize="16" />
Expand Down
4 changes: 2 additions & 2 deletions src/lib/pages/codes/components/CodesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const NotMatched = () => {
const Unconnected = () => {
return (
<StateContainer>
<DisconnectedState text="to upload and see your stored Codes." />
<DisconnectedState text="to see your previously uploaded and stored codes." />
</StateContainer>
);
};
Expand All @@ -85,7 +85,7 @@ const Empty = ({ type }: OtherTBodyProps) => {
case "all":
return "All Code IDs will display here";
case "saved":
return "Your saved Code IDs will display here. Saved Codes are stored in your device.";
return "Your saved code IDs will display here. Saved codes are stored locally on your device.";
case "stored":
return "Your uploaded Wasm files will display as My Stored Codes";
default:
Expand Down
4 changes: 2 additions & 2 deletions src/lib/pages/deploy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ const Deploy = () => {
</Heading>
<ButtonCard
title="Upload new WASM File"
description="Deploy contract by upload new Wasm file"
description="Store a new Wasm file on-chain"
onClick={() => navigate({ pathname: "/upload" })}
mb="16px"
/>
<ButtonCard
title="Use existing Code IDs"
description="Input code ID or select from stored codes or your saved codes"
description="Input code ID or select from previously stored codes or your saved codes"
onClick={() => navigate({ pathname: "/instantiate" })}
/>
</WasmPageContainer>
Expand Down
10 changes: 5 additions & 5 deletions src/lib/pages/home/components/QuickMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ const cardProps = {
const secondaryMenu = [
{
title: "Query",
subtitle: "Query and get response from smart contract",
subtitle: "Query state data from smart contracts",
slug: "query",
icon: MdSearch,
},
{
title: "Execute",
subtitle: "Send execute messages to smart contract",
subtitle: "Send transactions to smart contracts",
slug: "execute",
icon: MdInput,
},
Expand All @@ -35,7 +35,7 @@ export const QuickMenu = () => {
</Heading>
<ConnectWalletAlert
title="Connect wallet to start using Celatone"
subtitle="Actions such as deploying new contracts or sending execute messages require a wallet connection."
subtitle="Actions such as deploying new contracts or sending transactions require a wallet connection"
/>
<Flex gap={4}>
<AppLink href="/deploy" style={{ width: "100%" }}>
Expand All @@ -49,10 +49,10 @@ export const QuickMenu = () => {
>
<Flex direction="column" justifyItems="center">
<Text variant="body1" color="gray.900" fontWeight="800">
Deploy new contract
Deploy a new contract
</Text>
<Text color="gray.900" variant="body2">
Deploy contract by upload new Wasm file
Upload a new wasm code or instantiate a new contract
</Text>
</Flex>
<Icon as={MdChevronRight} color="gray.900" boxSize={9} />
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pages/home/components/RecentActivities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const RecentActivities = observer(() => {
minH="128px"
>
<Text color="text.dark" variant="body1">
Your recent queries will display here.
Your recent interactions will display here.
</Text>
</Flex>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pages/past-txs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const PastTxs = () => {
>
<DisconnectedState
text="to see your past transactions."
helperText="Past transactions involving the Wasm module such as Instantiate, Execute, or Upload Wasm file will display here."
helperText="Past transactions involving the Wasm module (storing wasm codes, contract interactions, etc.) will display here."
/>
</Flex>
);
Expand Down