diff --git a/src/pages/LogsPage/LogsTerminal.tsx b/src/pages/LogsPage/LogsTerminal.tsx index 0d1dbe10..d206d65b 100644 --- a/src/pages/LogsPage/LogsTerminal.tsx +++ b/src/pages/LogsPage/LogsTerminal.tsx @@ -38,24 +38,522 @@ const exampleData = "option": "--log-level", "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." }, - + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--config-file", + "description": "Loads the configuration from a TOML file." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + { + "option": "--log-level", + "description": "Sets the log level for process and topics (e.g., DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none) [INFO]." + }, + ] - const loadMoreItems = (startIndex, stopIndex) => { - // Fetch more items from an API or other data source... - return new Promise(resolve => { - setTimeout(() => { - resolve(); - }, 1000); - }); - }; + + type DataType = { option: string description: string } -function Row({ data, index }: { data: DataType, index: number }) { - - const { option, description } = data; +function Row({ data, index }: { data: DataType | undefined, index: number }) { + + if (!data) { + return