Add config editor and dump viewer (#1)

* Begin working on config editor

* Finish working on config editor

* Add dump viewer

* Fix online mode not showing in dump viewer

* remove debug logging

* Replace " with '

* Fix syntax error

* Add more functionality to dump viewer

* Improve style of plugin popover

* Change card header colour

* Use crypto api for generating uuids

* Fix broken regex

* Add german translations from @onebeastchris

Co-authored-by: chris <github@onechris.mozmail.com>

* Move pretty much all hardcoded text on dump and config viewer pages to translations

* Use old yarn.lock

* Add indicator to show if a plugin is enabled

---------

Co-authored-by: chris <github@onechris.mozmail.com>
This commit is contained in:
Lukeandchris authored and GitHub committed 2024-05-15 16:40:29 +01:00
1 parent be8823e189
commit aa3f447873
12 files changed
+1542 -2

No files matched your search

+245
View File
@@ -230,6 +230,117 @@
"pages.download.description.geyseroptionalpack": {
"message": "An optional Bedrock resource pack to extend Geyser functionality."
},
"pages.configeditor.title": {
"message": "Config Editor"
},
"pages.configeditor.subheading": {
"message": "Edit your Geyser configuration."
},
"pages.configeditor.noconfigselected.heading": {
"message": "No config selected."
},
"pages.configeditor.noconfigselected.subheading": {
"message": "Upload a file or get started with the default config!"
},
"pages.configeditor.button.defaultconfig": {
"message": "Default"
},
"pages.configeditor.button.upload": {
"message": "Upload"
},
"pages.configeditor.button.export": {
"message": "Export"
},
"pages.dumpviewer.title": {
"message": "Dump Viewer"
},
"pages.dumpviewer.subheading": {
"message": "View the breakdown of your Geyser dump."
},
"pages.dumpviewer.enterdumpid": {
"message": "Enter Dump ID or URL below and click load."
},
"pages.dumpviewer.button.load": {
"message": "Load"
},
"pages.dumpviewer.versions": {
"message": "Versions"
},
"pages.dumpviewer.versions.geyserver": {
"message": "Geyser Version"
},
"pages.dumpviewer.versions.javaver": {
"message": "Java Version"
},
"pages.dumpviewer.versions.os": {
"message": "Operating System"
},
"pages.dumpviewer.geyserver": {
"message": "Geyser Version"
},
"pages.dumpviewer.geyserver.build": {
"message": "Build"
},
"pages.dumpviewer.geyserver.commit": {
"message": "Commit Hash"
},
"pages.dumpviewer.geyserver.branch": {
"message": "Branch"
},
"pages.dumpviewer.platform": {
"message": "Platform Info"
},
"pages.dumpviewer.platform.id": {
"message": "Platform Identifier"
},
"pages.dumpviewer.platform.name": {
"message": "Platform Name"
},
"pages.dumpviewer.platform.version": {
"message": "Platform Version"
},
"pages.dumpviewer.platform.apiver": {
"message": "Platform API Version"
},
"pages.dumpviewer.platform.onlinemode": {
"message": "Online Mode"
},
"pages.dumpviewer.sysinfo": {
"message": "System Info"
},
"pages.dumpviewer.sysinfo.cpucount": {
"message": "CPU Count"
},
"pages.dumpviewer.sysinfo.cpuname": {
"message": "CPU Name"
},
"pages.dumpviewer.sysinfo.ram": {
"message": "RAM"
},
"pages.dumpviewer.sysinfo.javaname": {
"message": "Java Name"
},
"pages.dumpviewer.sysinfo.javavendor": {
"message": "Java Vendor"
},
"pages.dumpviewer.sysinfo.dockercheck": {
"message": "Uses Docker?"
},
"pages.dumpviewer.plugins": {
"message": "Plugins"
},
"pages.dumpviewer.plugins.helptext": {
"message": "Click on a plugin to view more information."
},
"pages.dumpviewer.plugins.noplugins": {
"message": "No plugins to show."
},
"pages.dumpviewer.config": {
"message": "Config"
},
"pages.dumpviewer.viewsource": {
"message": "View dump source"
},
"theme.ErrorPageContent.title": {
"message": "This page crashed.",
"description": "The title of the fallback page when the page crashed"
@@ -516,5 +627,139 @@
"theme.unlistedContent.message": {
"message": "This page is unlisted. Search engines will not index it, and only users having a direct link can access it.",
"description": "The unlisted content banner message"
},
"providers.provider.bloomhost.description": {
"message": "https://docs.bloom.host/plugins/geysermc/"
},
"theme.SearchPage.documentsFound.plurals": {
"message": "One document found|{count} documents found",
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.SearchPage.existingResultsTitle": {
"message": "Search results for \"{query}\"",
"description": "The search page title for non-empty query"
},
"theme.SearchPage.emptyResultsTitle": {
"message": "Search the documentation",
"description": "The search page title for empty query"
},
"theme.SearchPage.inputPlaceholder": {
"message": "Type your search here",
"description": "The placeholder for search page input"
},
"theme.SearchPage.inputLabel": {
"message": "Search",
"description": "The ARIA label for search page input"
},
"theme.SearchPage.algoliaLabel": {
"message": "Search by Algolia",
"description": "The ARIA label for Algolia mention"
},
"theme.SearchPage.noResultsText": {
"message": "No results were found",
"description": "The paragraph for empty search result"
},
"theme.SearchPage.fetchingNewResults": {
"message": "Fetching new results...",
"description": "The paragraph for fetching new search results"
},
"theme.SearchBar.label": {
"message": "Search",
"description": "The ARIA label and placeholder for search button"
},
"theme.SearchModal.searchBox.resetButtonTitle": {
"message": "Clear the query",
"description": "The label and ARIA label for search box reset button"
},
"theme.SearchModal.searchBox.cancelButtonText": {
"message": "Cancel",
"description": "The label and ARIA label for search box cancel button"
},
"theme.SearchModal.startScreen.recentSearchesTitle": {
"message": "Recent",
"description": "The title for recent searches"
},
"theme.SearchModal.startScreen.noRecentSearchesText": {
"message": "No recent searches",
"description": "The text when no recent searches"
},
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": {
"message": "Save this search",
"description": "The label for save recent search button"
},
"theme.SearchModal.startScreen.removeRecentSearchButtonTitle": {
"message": "Remove this search from history",
"description": "The label for remove recent search button"
},
"theme.SearchModal.startScreen.favoriteSearchesTitle": {
"message": "Favorite",
"description": "The title for favorite searches"
},
"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": {
"message": "Remove this search from favorites",
"description": "The label for remove favorite search button"
},
"theme.SearchModal.errorScreen.titleText": {
"message": "Unable to fetch results",
"description": "The title for error screen of search modal"
},
"theme.SearchModal.errorScreen.helpText": {
"message": "You might want to check your network connection.",
"description": "The help text for error screen of search modal"
},
"theme.SearchModal.footer.selectText": {
"message": "to select",
"description": "The explanatory text of the action for the enter key"
},
"theme.SearchModal.footer.selectKeyAriaLabel": {
"message": "Enter key",
"description": "The ARIA label for the Enter key button that makes the selection"
},
"theme.SearchModal.footer.navigateText": {
"message": "to navigate",
"description": "The explanatory text of the action for the Arrow up and Arrow down key"
},
"theme.SearchModal.footer.navigateUpKeyAriaLabel": {
"message": "Arrow up",
"description": "The ARIA label for the Arrow up key button that makes the navigation"
},
"theme.SearchModal.footer.navigateDownKeyAriaLabel": {
"message": "Arrow down",
"description": "The ARIA label for the Arrow down key button that makes the navigation"
},
"theme.SearchModal.footer.closeText": {
"message": "to close",
"description": "The explanatory text of the action for Escape key"
},
"theme.SearchModal.footer.closeKeyAriaLabel": {
"message": "Escape key",
"description": "The ARIA label for the Escape key button that close the modal"
},
"theme.SearchModal.footer.searchByText": {
"message": "Search by",
"description": "The text explain that the search is making by Algolia"
},
"theme.SearchModal.noResultsScreen.noResultsText": {
"message": "No results for",
"description": "The text explains that there are no results for the following search"
},
"theme.SearchModal.noResultsScreen.suggestedQueryText": {
"message": "Try searching for",
"description": "The text for the suggested query when no results are found for the following search"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsText": {
"message": "Believe this query should return results?",
"description": "The text for the question where the user thinks there are missing results"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": {
"message": "Let us know.",
"description": "The text for the link to report missing results"
},
"theme.SearchModal.placeholder": {
"message": "Search docs",
"description": "The placeholder of the input of the DocSearch pop-up modal"
},
"theme.SearchBar.seeAll": {
"message": "See all {count} results"
}
}