algorandfoundation / algokit-lora

https://lora.algokit.io
13 stars 5 forks source link

Add page titles to Lora pages #305

Closed lempira closed 2 weeks ago

lempira commented 3 weeks ago

Feature request: Lora should set the page title. Finding the right tab when you have n lora tabs open is a bit tedious. Aside from distinguishing between open tabs, it would make history searchable (so network being in there could help

Suggested Format:

Entity and ID up front, maybe network at the end (as page titles would be truncated in tabs)EgLora - Account: AAXZAAZAXAXAXAXXAAXXXAAAA - Mainnet

lempira commented 3 weeks ago

Here is the format for the page titles for each of the routes on the page. Some of them seem quite long to me, particularly the txn and group txn one. I could truncate them. Thoughts?

"Index": "/", Example: Lora Explore - mainnet

"Explore": "/:networkId", Example: Lora Explore - mainnet

"Explore_Transaction_ById": "/:networkId/transaction/:transactionId", Example: Lora - TxnId:CFNKY4JV5BMIRSP2SMZE634DYB22FALLURI72U6UMWZNKEBOYEMQ - mainnet

"Explore_Transaction_ById_Inner_ById": "/:networkId/transaction/:transactionId/inner//*", Example: Lora - TxnId:Q36W3E5GBCPZYGEVFQGTQB4KX7QTFYV3H4UYNRYS4AFXEPILHQXQ, Inner:1 - mainnet

"Explore_Block_ByRound": "/:networkId/block/:round", Example: Lora - Block:43904244 - mainnet

"Explore_Block_ByRound_Group_ById": "/:networkId/block/:round/group/:groupId", Example: Lora - Block:43904244 - Group:iUE01XrzcJZ+ENIwPyjPmtaVUF5OKy8vYYOwGbdKliQ= - mainnet

"Explore_Account_ByAddress": "/:networkId/account/:address", Example: Lora - Addr:W2IZ3EHDRW2IQNPC33CI2CXSLMFCFICVKQVWIYLJWXCTD765RW47ONNCEY - mainnet

"Explore_Asset_ById": "/:networkId/asset/:assetId", Example: Lora - AssetId:1014 - localnet

"Explore_Application_ById": "/:networkId/application/:applicationId", Example: Lora - AppId:1019 - localnet

"Explore_Tx": "/:networkId/tx/*", Example: Lora - TxnId:CFNKY4JV5BMIRSP2SMZE634DYB22FALLURI72U6UMWZNKEBOYEMQ - mainnet

"Explore_Txn": "/:networkId/txn/*", Example: Lora - TxnId:CFNKY4JV5BMIRSP2SMZE634DYB22FALLURI72U6UMWZNKEBOYEMQ - mainnet

"AppLab": "/app-lab", Example: Lora App Lab

"AppLab_Create": "/app-lab/create", Example: Lora Create App Interface

"Settings": "/settings", Example: Lora Settings

"Fund": "/fund", Example: Lora Fund

"FundAuthCallback": "/fund/auth-callback", Example: NA

"TransactionWizard": "/transaction-wizard", Example: Lora Transaction Wizard

"TxWizard": "/tx-wizard", Example: Lora Transaction Wizard

"TxnWizard": "/txn-wizard" Example: Lora Transaction Wizard