-
Notifications
You must be signed in to change notification settings - Fork 1
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
Starter example #135
Starter example #135
Conversation
[setup] - setup pwa + .npmrc
[setup] - add eslint config
[feature] - improve console scroll
add transfer snippet
[improvements] - monaco editor and console
* add pjs-signer package * map pjs-signer package in packages * add code for injected provider snippet * fix transfer snippets
Fix console messages
[improvement] - code editor improvements and refactoring
Co-authored-by: Aleksandar Drazhev <[email protected]>
Co-authored-by: Aleksandar Drazhev <[email protected]>
* remove dependency * fix build
* update license * add 3rd-party-licenses folder
Co-authored-by: Aleksandar Drazhev <[email protected]>
* feat: include the default extrinsics on the latest blocks list * removing the row client extrinsics from signed extrinsics --------- Co-authored-by: Aleksandar Drazhev <[email protected]>
* Change analytics target url (#96) * fix signer (#97) * Added og tags (#98) * feat: Add papi supported chains (#95) * add all papi supported polkadot chains * add all papi supported descriptors * refactor smoldot chains init * remove duplicated descriptors install * dynamic chain specs fetch * fix external scan links based on chain in blockdetails page * refactor chain spec constants * add chain icons * target westend in snippets * show error message when reaching max chain set reties * Handle decoding failure for kusama asset hub (#99) handle decoding extrinsic failure case on kusama asset hub, untill fixed * Add decoders page (#82) * snippet improvements (#100) * refactor chain clients (#103) * refactor chain clients * add loaders and no items message on explorer page * revert smoldot worker config changes * fix latest-blocks page identity column format error (#104) * add og:image (#106) * fix: paddings on block details page (#101) Co-authored-by: Aleksandar Drazhev <[email protected]> * fix: the connect wallet button paddings (#102) Co-authored-by: Aleksandar Drazhev <[email protected]> * clean up (#109) * Create LICENSE (#110) * remove jszip (#111) * remove dependency * fix build * remove old home links (#112) * update license (#114) * update license * add 3rd-party-licenses folder * fix: Helmet title name (#116) Co-authored-by: Aleksandar Drazhev <[email protected]> * feat: include the default extrinsics on the latest blocks list (#113) * feat: include the default extrinsics on the latest blocks list * removing the row client extrinsics from signed extrinsics --------- Co-authored-by: Aleksandar Drazhev <[email protected]> --------- Co-authored-by: Nikolai Cholakov <[email protected]> Co-authored-by: AlexanderDrazhev <[email protected]> Co-authored-by: Aleksandar Drazhev <[email protected]>
* Change analytics target url (#96) * fix signer (#97) * Added og tags (#98) * feat: Add papi supported chains (#95) * add all papi supported polkadot chains * add all papi supported descriptors * refactor smoldot chains init * remove duplicated descriptors install * dynamic chain specs fetch * fix external scan links based on chain in blockdetails page * refactor chain spec constants * add chain icons * target westend in snippets * show error message when reaching max chain set reties * Handle decoding failure for kusama asset hub (#99) handle decoding extrinsic failure case on kusama asset hub, untill fixed * Add decoders page (#82) * snippet improvements (#100) * refactor chain clients (#103) * refactor chain clients * add loaders and no items message on explorer page * revert smoldot worker config changes * fix latest-blocks page identity column format error (#104) * add og:image (#106) * fix: paddings on block details page (#101) Co-authored-by: Aleksandar Drazhev <[email protected]> * fix: the connect wallet button paddings (#102) Co-authored-by: Aleksandar Drazhev <[email protected]> * clean up (#109) * Create LICENSE (#110) * remove jszip (#111) * remove dependency * fix build * remove old home links (#112) * update license (#114) * update license * add 3rd-party-licenses folder * fix: Helmet title name (#116) Co-authored-by: Aleksandar Drazhev <[email protected]> * feat: include the default extrinsics on the latest blocks list (#113) * feat: include the default extrinsics on the latest blocks list * removing the row client extrinsics from signed extrinsics --------- Co-authored-by: Aleksandar Drazhev <[email protected]> * Dev deploy (#122) * Fix yml (#119) * Fix deploy (#121) * Update deployments --------- Co-authored-by: Nikolai Cholakov <[email protected]> Co-authored-by: AlexanderDrazhev <[email protected]> Co-authored-by: Aleksandar Drazhev <[email protected]>
* Change analytics target url (#96) * fix signer (#97) * Added og tags (#98) * feat: Add papi supported chains (#95) * add all papi supported polkadot chains * add all papi supported descriptors * refactor smoldot chains init * remove duplicated descriptors install * dynamic chain specs fetch * fix external scan links based on chain in blockdetails page * refactor chain spec constants * add chain icons * target westend in snippets * show error message when reaching max chain set reties * Handle decoding failure for kusama asset hub (#99) handle decoding extrinsic failure case on kusama asset hub, untill fixed * Add decoders page (#82) * snippet improvements (#100) * refactor chain clients (#103) * refactor chain clients * add loaders and no items message on explorer page * revert smoldot worker config changes * fix latest-blocks page identity column format error (#104) * add og:image (#106) * fix: paddings on block details page (#101) Co-authored-by: Aleksandar Drazhev <[email protected]> * fix: the connect wallet button paddings (#102) Co-authored-by: Aleksandar Drazhev <[email protected]> * clean up (#109) * Create LICENSE (#110) * remove jszip (#111) * remove dependency * fix build * remove old home links (#112) * update license (#114) * update license * add 3rd-party-licenses folder * fix: Helmet title name (#116) Co-authored-by: Aleksandar Drazhev <[email protected]> * feat: include the default extrinsics on the latest blocks list (#113) * feat: include the default extrinsics on the latest blocks list * removing the row client extrinsics from signed extrinsics --------- Co-authored-by: Aleksandar Drazhev <[email protected]> * Dev deploy (#122) * Fix yml (#119) * Fix deploy (#121) * Update deployments * Test log (#124) --------- Co-authored-by: Nikolai Cholakov <[email protected]> Co-authored-by: AlexanderDrazhev <[email protected]> Co-authored-by: Aleksandar Drazhev <[email protected]>
* Changes * Load Examples * Changes * Changes * Rename and fixes * Changes * delete example * Changes * Update examples * Changes * Improvements * Refresh jwt token * Refresh token and data flow * Display GitHub details and suggested improvements * Changes * Changes * Changes * Changes * Improvements * Improvements * Fix lint errors * Refactor ExampleNotFound component for improved reusability and integrate into CustomExampleList * Small fixes disable button on loading and change names * Fixes * Improvements * More fixes * Improve auth
…py to clipboard functionality (#117) * fix-work in progress on ui fixes * fix: validator field hover and copy and keep the copy button on mobile * ui fixes working solution * fix: extrinsics and events list expand icon, block details and forks copy to clipboard functionality * fix: refactoring DetailRow by using css props * Simplify CopyToClipboard component by removing unnecessary props --------- Co-authored-by: Aleksandar Drazhev <[email protected]>
Co-authored-by: Aleksandar Drazhev <[email protected]>
Visit the preview URL for this PR (updated for commit e92cba1): https://devground-dev--pr135-start-example-vbsj8p0l.web.app (expires Mon, 18 Nov 2024 13:12:27 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e50593071dcd46506823ee35f790c6b8712eb00e |
src/constants/snippets/index.ts
Outdated
@@ -3,41 +3,59 @@ import TestAccountTransferSnippet from './testAccountTransfer.txt?raw'; | |||
import InjectedAccountTransferSnippet from './injectedAccountTransfer.txt?raw'; | |||
import ChainSubscriptionSnippet from './chainSubscription.txt?raw'; | |||
import GetChainSpecificDataSnippet from './getChainSpecificData.txt?raw'; | |||
import StarterExample from './starterExample.txt?raw'; | |||
import XcmTransfer from './xcmTransfer.txt?raw'; | |||
/* eslint-enable */ | |||
|
|||
import type { ICodeExample } from '@custom-types/codeSnippet'; | |||
|
|||
const snippet1: ICodeExample = { | |||
id: '1', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this example doesn't appear in the console page select example dropdown
edde46d
to
05644c2
Compare
No description provided.