Skip to content

Commit

Permalink
feat: updates after PR review.
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Panteleymonchuk <[email protected]>
  • Loading branch information
panteleymonchuk committed Apr 25, 2024
1 parent d1bbf30 commit 2d20af3
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
3 changes: 3 additions & 0 deletions client/src/app/components/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@
.modal--actions {
margin: 24px 0;
pointer-events: auto;
display: flex;
gap: 8px;

.modal--action {
@include font-size(14px, 21px);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import bicMessage from "~assets/modals/nova/account/bic.json";
import validatorMessage from "~assets/modals/nova/account/validator.json";
import delegationMessage from "~assets/modals/nova/delegation.json";
import nftMetadataMessage from "~assets/modals/nova/nft/metadata.json";
import nftWikiMessage from "~assets/modals/nova/nft/nft-concept.json";
import nftOutputMessage from "~assets/modals/nova/nft/nft-output.json";
import TabbedSection from "../../../hoc/TabbedSection";
import AssociatedOutputs from "./association/AssociatedOutputs";
import nativeTokensMessage from "~assets/modals/nova/address/native-token.json";
Expand Down Expand Up @@ -84,14 +84,14 @@ const buildDefaultTabsOptions = (
hidden: nftsCount === 0,
counter: nftsCount,
isLoading: isNftOutputsLoading,
infoContent: nftWikiMessage,
infoContent: nftOutputMessage,
},
[DEFAULT_TABS.Delegation]: {
disabled: delegationCount === 0,
hidden: delegationCount === 0,
counter: delegationCount,
isLoading: isDelegationOutputsLoading,
infoContent: delegationMessage, // done
infoContent: delegationMessage,
},
});

Expand All @@ -108,7 +108,7 @@ const buildAccountAddressTabsOptions = (
disabled: !isBlockIssuer,
hidden: !isBlockIssuer,
isLoading: isCongestionLoading,
infoContent: bicMessage, // done
infoContent: bicMessage,
},
[ACCOUNT_TABS.Foundries]: {
disabled: foundriesCount === 0,
Expand Down
2 changes: 1 addition & 1 deletion client/src/assets/modals/nova/address/native-token.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"isExternal": true
},
{
"label": "Wiki",
"label": "Native Token",
"href": "https://wiki.iota.org/learn/protocols/stardust/core-concepts/multi-asset-ledger/#native-tokens",
"isExternal": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"links": [
{
"label": "Read more",
"href": "https://wiki.iota.org/shimmer/introduction/explanations/ledger/simple_transfers#transfer-of-funds",
"isExternal": true
},
{
"label": "Data flow in IOTA 2.0",
"href": "https://wiki.iota.org/learn/protocols/iota2.0/core-concepts/data-flow",
"href": "https://wiki.iota.org/learn/protocols/iota2.0/core-concepts/data-structures/#transactions",
"isExternal": true
}
]
Expand Down
2 changes: 1 addition & 1 deletion client/src/assets/modals/nova/output/foundries.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Native Token Features and Foundries",
"title": "Foundries",
"description": "<p>A foundry output is an output that controls the supply of user defined native tokens. It can mint and melt tokens according to the policy defined in the Token Scheme field of the output. Foundries can only be created and controlled by accounts.</p>",
"links": [
{
Expand Down
2 changes: 1 addition & 1 deletion client/src/assets/modals/nova/output/main-header.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "Output",
"description": "<p>Output is a fundamental concept within the UTXO (Unspent Transaction Output) model used by the ledger. Outputs represent the results of transactions and can be attached with various conditions and features that dictate how they can be unlocked and used in future transactions. Unspent outputs define the owner of the tokens, the kind of tokens and their amount, as well as conditions by which you can unlock them.</p>",
"description": "<p>All hex searches work with and without 0x prefix.<br />The following formats are supported:</p><ol><li><b>Blocks</b> 74 Hex characters</li><li><b>Block using Transaction Id</b> 74 Hex characters</li><li><b>Account Id</b> 66 Hex characters</li><li><b>Nft Id</b> 66 Hex characters</li><li><b>Anchor Id</b> 66 Hex characters</li><li><b>Delegation Id</b> 66 Hex characters</li><li><b>Foundry Id</b> 78 Hex characters and first byte is 08</li><li><b>Outputs</b> 78 Hex characters</li><li><b>Addresses</b> Bech32 Format</li><li><b>SlotIndex</b> a unique index number</li><li><b>Slot Commitment ID</b> the identifier of the slot this block commits to.</li><li><b>Epoch</b> a unique index number</li><li><b>Token Id</b> 76 Hex characters</li><li><b>NFT Id</b> 64 Hex characters</li></ol>",
"links": [
{
"label": "Read more",
Expand Down
4 changes: 2 additions & 2 deletions client/src/assets/modals/nova/statistics/graphs.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"outputs": {
"title": "Outputs",
"description": "<p>As transactions create new outputs and exhaust the old ones, the total amount of base tokens stays the same, but their owners change. Outputs of special types are also used for NFTs, foundries, and aliases.</p>",
"description": "<p>As transactions create new outputs and exhaust the old ones, the total amount of base tokens stays the same, but their owners change. Outputs of special types are also used for NFTs, foundries, and anchors.</p>",
"links": [
{
"label": "Read more",
Expand All @@ -71,7 +71,7 @@
"links": [
{
"label": "Read more",
"href": "https://github.com/iotaledger/tips/blob/tip41/tips/TIP-0041/tip-0041.md",
"href": "https://wiki.iota.org/learn/protocols/iota2.0/core-concepts/data-structures/#outputs",
"isExternal": true
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
}
]
}


0 comments on commit 2d20af3

Please sign in to comment.