-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Implement Procedures and Interface (#481)
* define procedure for talkResp subscription * define procudure for ContentAdded subscription * import subscription procudures from file * define procedure for NodeAdded subscription * add sub for utp events * add new methods to router * Fix Ping Button * build trpc schema for portal_history rpc endpoints * define trpc procedures for standard rpc methods * externalize procudures code into separate files * rpc: debug ts-errors * comment out buggy nodeAddr code * portalnetwork: add option to enable tickertape events * portalnetwork: enable tickertape event log for talkReq and talkResp * util: create utility function to format content to JSON * implement basic rpc methods for WS client * cleanup subscription procedures * use message interfaces from discv5 * small fixes * edit ws procedures * add decodeENR trpc endpoint * ui: create initial app state for both clients * ui: update mock router * cleanup app.tsx * cleanup tabs.tsx * delete unused * clean up NodeInfo.tsx * cleanup FunctionTabs.tsx * update ping tab * create message logs component * create peer message logs component * create content store tab * create RPC call interface * create enr helper * small fixes/updates to rpc input * update dependencies * fix lint error * commit lockfile * enable RPC method send and logging * move method definitions to rpcstate * set methods in client state * fix websocket error * App improvements * update http client functions * debug routingtable and bootnodes calls * debug client components * edit react components * include the rest of http client methods * add README for UI * edit README * edit README * cleanup * rename option to eventLog * edit readme * move ui interface cli files to cli/ui * remove fake test peer * remove FakeKey tester * fix server script * cleanup port component * add icon to button * fix list key error * fix websocket close error * Nits * enable event log in portal constructor * log messages to browser console * only update node info at component load * fix RPC action * quiet liveness check log * debug rpc menu * debug messagelog and bootnodes * default to only http * disable log tab for http * relocate UI server to UI package * copy utils.ts over to server directory * update package.json files for CLI and UI * Start WS Client via procedure * update README.md --------- Co-authored-by: acolytec3 <17355484+acolytec3@users.noreply.github.com>
- Loading branch information
Showing
42 changed files
with
5,357 additions
and
878 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.