@prostgles/prostgles 2.3.6-dev.1786548258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +14 -0
- package/.eslintrc.common.js +71 -0
- package/.gitattributes +2 -0
- package/.github/ISSUE_TEMPLATE/BUG.yml +52 -0
- package/.github/ISSUE_TEMPLATE/CUSTOM.yml +13 -0
- package/.github/ISSUE_TEMPLATE/FEATURE.yml +27 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +9 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/custom.md +3 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +5 -0
- package/.github/workflows/docker_test.yml +46 -0
- package/.github/workflows/electron_build_linux.yml +40 -0
- package/.github/workflows/electron_build_macos.yml +36 -0
- package/.github/workflows/electron_build_windows.yml +34 -0
- package/.github/workflows/electron_linux_test.yml +24 -0
- package/.github/workflows/electron_macos_test.yml +25 -0
- package/.github/workflows/linux_test.yml +127 -0
- package/.github/workflows/macos_test.yml +63 -0
- package/.github/workflows/on_release.yml +185 -0
- package/.github/workflows/package_version_increased.yml +66 -0
- package/.github/workflows/publish_release.yml +67 -0
- package/.github/workflows/windows_test.yml +48 -0
- package/.prettierignore +5 -0
- package/.prettierrc +3 -0
- package/.vscode/settings.json +46 -0
- package/CODE_OF_CONDUCT +47 -0
- package/CONTRIBUTING +59 -0
- package/DB.Dockerfile +11 -0
- package/Dockerfile +31 -0
- package/LICENSE +661 -0
- package/PRIVACY +28 -0
- package/README.md +132 -0
- package/SECURITY.md +8 -0
- package/changelog/v1.0.0.md +5 -0
- package/changelog/v2.0.0.md +25 -0
- package/changelog/v2.2.0.md +13 -0
- package/changelog/v2.2.1.md +4 -0
- package/changelog/v2.2.2.md +3 -0
- package/changelog/v2.2.3.md +2 -0
- package/changelog/v2.2.4.md +3 -0
- package/changelog/v2.3.0.md +5 -0
- package/changelog/v2.3.1.md +1 -0
- package/changelog/v2.3.2.md +1 -0
- package/changelog/v2.3.3.md +2 -0
- package/changelog/v2.3.4.md +2 -0
- package/changelog/v2.3.5.md +2 -0
- package/changelog/v2.3.6.md +2 -0
- package/client/build.sh +1 -0
- package/client/eslint.config.mjs +114 -0
- package/client/package-lock.json +16513 -0
- package/client/package.json +108 -0
- package/client/public/manifest.json +12 -0
- package/client/public/robots.txt +3 -0
- package/client/setup-icons.js +59 -0
- package/client/src/App.css +31 -0
- package/client/src/App.tsx +364 -0
- package/client/src/Testing.ts +724 -0
- package/client/src/app/CommandPalette/CommandPalette.css +11 -0
- package/client/src/app/CommandPalette/CommandPalette.tsx +119 -0
- package/client/src/app/CommandPalette/Documentation.css +3 -0
- package/client/src/app/CommandPalette/Documentation.tsx +77 -0
- package/client/src/app/CommandPalette/DynamicComponent.tsx +87 -0
- package/client/src/app/CommandPalette/getDocumentation.ts +175 -0
- package/client/src/app/CommandPalette/getUIDocShortestPath.ts +62 -0
- package/client/src/app/CommandPalette/useCommandPaletteState.tsx +188 -0
- package/client/src/app/CommandPalette/useGoToUI.tsx +147 -0
- package/client/src/app/CommandPalette/useHighlightDocItem.ts +89 -0
- package/client/src/app/CommandPalette/utils.ts +111 -0
- package/client/src/app/UIDocs/UIInstallationUIDoc.ts +43 -0
- package/client/src/app/UIDocs/accountUIDoc.ts +128 -0
- package/client/src/app/UIDocs/commandPaletteUIDoc.ts +40 -0
- package/client/src/app/UIDocs/connection/AIAssistantUIDoc.ts +309 -0
- package/client/src/app/UIDocs/connection/agenticWorkflowsUIDoc.ts +37 -0
- package/client/src/app/UIDocs/connection/config/accessControlUIDoc.ts +44 -0
- package/client/src/app/UIDocs/connection/config/apiUIDoc.ts +95 -0
- package/client/src/app/UIDocs/connection/config/authentication.UIDoc.ts +96 -0
- package/client/src/app/UIDocs/connection/config/backupAndRestoreUIDoc.ts +238 -0
- package/client/src/app/UIDocs/connection/config/fileStorageUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/connectionConfigUIDoc.ts +79 -0
- package/client/src/app/UIDocs/connection/dashboard/dashboardContentUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/dashboard/dashboardMenuUIDoc.ts +189 -0
- package/client/src/app/UIDocs/connection/dashboard/mapUIDoc.ts +172 -0
- package/client/src/app/UIDocs/connection/dashboard/schemaGraphUIDoc.ts +66 -0
- package/client/src/app/UIDocs/connection/dashboard/serverSideFunctionUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/dashboard/sqlEditorUIDoc.ts +284 -0
- package/client/src/app/UIDocs/connection/dashboard/table/addColumnMenuUIDoc.ts +250 -0
- package/client/src/app/UIDocs/connection/dashboard/table/columnMenuUIDoc.ts +123 -0
- package/client/src/app/UIDocs/connection/dashboard/table/paginationUIDoc.ts +56 -0
- package/client/src/app/UIDocs/connection/dashboard/table/smartFilterBarUIDoc.ts +126 -0
- package/client/src/app/UIDocs/connection/dashboard/table/smartFormUIDoc.ts +168 -0
- package/client/src/app/UIDocs/connection/dashboard/table/tableMenuUIDoc.ts +228 -0
- package/client/src/app/UIDocs/connection/dashboard/table/tableUIDoc.ts +90 -0
- package/client/src/app/UIDocs/connection/dashboard/timechartUIDoc.ts +169 -0
- package/client/src/app/UIDocs/connection/dashboardUIDoc.ts +176 -0
- package/client/src/app/UIDocs/connection/getCommonViewHeaderUIDoc.ts +146 -0
- package/client/src/app/UIDocs/connectionsUIDoc.ts +261 -0
- package/client/src/app/UIDocs/desktopInstallation.ts +32 -0
- package/client/src/app/UIDocs/editConnectionUIDoc.ts +131 -0
- package/client/src/app/UIDocs/navbarUIDoc.ts +145 -0
- package/client/src/app/UIDocs/overviewUIDoc.ts +31 -0
- package/client/src/app/UIDocs/serverSettingsUIDoc.ts +64 -0
- package/client/src/app/UIDocs.ts +274 -0
- package/client/src/app/XRealIpSpoofableAlert.tsx +39 -0
- package/client/src/app/domToSVG/SVGif/addSVGifCaption.ts +112 -0
- package/client/src/app/domToSVG/SVGif/addSVGifPointer.ts +59 -0
- package/client/src/app/domToSVG/SVGif/addSVGifTimelineControls.ts +94 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifCursorAnimationHandler.ts +162 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifCustomAnimation.ts +53 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifPropertiesAnimation.ts +50 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifTypeAnimation.ts +105 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifZoomToAnimation.ts +114 -0
- package/client/src/app/domToSVG/SVGif/compressSVGif.ts +86 -0
- package/client/src/app/domToSVG/SVGif/getSVGif.ts +111 -0
- package/client/src/app/domToSVG/SVGif/getSVGifAnimations.ts +318 -0
- package/client/src/app/domToSVG/SVGif/getSVGifKeyframes.ts +42 -0
- package/client/src/app/domToSVG/SVGif/getSVGifParsedScenes.ts +52 -0
- package/client/src/app/domToSVG/SVGif/getSVGifRevealKeyframes.ts +73 -0
- package/client/src/app/domToSVG/SVGif/getSVGifTargetBBox.ts +36 -0
- package/client/src/app/domToSVG/addFragmentViewBoxes.ts +43 -0
- package/client/src/app/domToSVG/containers/addOverflowClipPath.ts +117 -0
- package/client/src/app/domToSVG/containers/bgAndBorderToSVG.ts +204 -0
- package/client/src/app/domToSVG/containers/deduplicateSVGPaths.ts +128 -0
- package/client/src/app/domToSVG/containers/elementToSVG.ts +231 -0
- package/client/src/app/domToSVG/containers/rectangleToSVG.ts +196 -0
- package/client/src/app/domToSVG/containers/shadowToSVG.ts +52 -0
- package/client/src/app/domToSVG/domToSVG.ts +263 -0
- package/client/src/app/domToSVG/domToSvg2.ts +129 -0
- package/client/src/app/domToSVG/domToThemeAwareSVG.ts +361 -0
- package/client/src/app/domToSVG/getCorrespondingDarkNode.ts +87 -0
- package/client/src/app/domToSVG/graphics/fontIconToSVG.ts +141 -0
- package/client/src/app/domToSVG/graphics/getForeignObject.ts +43 -0
- package/client/src/app/domToSVG/graphics/imgToSVG.ts +140 -0
- package/client/src/app/domToSVG/setThemeForSVGScreenshot.ts +82 -0
- package/client/src/app/domToSVG/text/getTextForSVG.ts +243 -0
- package/client/src/app/domToSVG/text/textToSVG.ts +264 -0
- package/client/src/app/domToSVG/utils/addNewChildren.ts +55 -0
- package/client/src/app/domToSVG/utils/canvasToDataURL.ts +6 -0
- package/client/src/app/domToSVG/utils/copyAnimationStylesToSvg.ts +127 -0
- package/client/src/app/domToSVG/utils/getWhatToRenderOnSVG.ts +218 -0
- package/client/src/app/domToSVG/utils/isElementVisible.ts +144 -0
- package/client/src/app/domToSVG/utils/toFixed.ts +3 -0
- package/client/src/appUtils.ts +135 -0
- package/client/src/components/AlertProvider.tsx +99 -0
- package/client/src/components/Animations.css +207 -0
- package/client/src/components/Animations.tsx +130 -0
- package/client/src/components/Btn.css +235 -0
- package/client/src/components/Btn.tsx +603 -0
- package/client/src/components/ButtonBar.tsx +29 -0
- package/client/src/components/ButtonGroup.tsx +135 -0
- package/client/src/components/Chat/Chat.css +116 -0
- package/client/src/components/Chat/Chat.tsx +200 -0
- package/client/src/components/Chat/ChatFileAttachments/ChatFileAttachments.tsx +126 -0
- package/client/src/components/Chat/ChatMessage.tsx +38 -0
- package/client/src/components/Chat/ChatSendControls.tsx +117 -0
- package/client/src/components/Chat/ChatSpeech/ChatSpeech.tsx +201 -0
- package/client/src/components/Chat/ChatSpeech/ChatSpeechSetup.tsx +75 -0
- package/client/src/components/Chat/ChatSpeech/hooks/SpeechRecorder.ts +295 -0
- package/client/src/components/Chat/ChatSpeech/hooks/renderSpeechAudioLevelsIcon.ts +67 -0
- package/client/src/components/Chat/ChatSpeech/hooks/useSpeechRecorder.ts +59 -0
- package/client/src/components/Chat/ChatSpeech/hooks/useSpeechToTextWeb.ts +125 -0
- package/client/src/components/Chat/ChatSpeech/useChatSpeechSetup.ts +106 -0
- package/client/src/components/Chat/Marked.tsx +258 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/MarkdownMonacoCodeHeader.tsx +179 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/MonacoCodeInMarkdown.tsx +162 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/useOnRunSQL.ts +70 -0
- package/client/src/components/Chat/useChatFileUpload.ts +167 -0
- package/client/src/components/Chat/useChatOnPaste.ts +102 -0
- package/client/src/components/Chat/useChatState.ts +118 -0
- package/client/src/components/Checkbox.css +24 -0
- package/client/src/components/Checkbox.tsx +152 -0
- package/client/src/components/Chip.css +78 -0
- package/client/src/components/Chip.tsx +150 -0
- package/client/src/components/ClickCatch.tsx +49 -0
- package/client/src/components/ClickCatchOverlay.css +7 -0
- package/client/src/components/ClickCatchOverlay.tsx +30 -0
- package/client/src/components/CodeFileBrowser/CodeFileBrowser.tsx +85 -0
- package/client/src/components/CodeFileBrowser/ProjectCodeEditor.tsx +89 -0
- package/client/src/components/CodeFileBrowser/WebAppFileBrowser.tsx +96 -0
- package/client/src/components/CompactTabs/CompactTabs.tsx +101 -0
- package/client/src/components/ConfirmationDialog.tsx +90 -0
- package/client/src/components/CopyToClipboardBtn.tsx +24 -0
- package/client/src/components/DragOverUpload/DragOverUpload.css +36 -0
- package/client/src/components/DragOverUpload/DragOverUpload.tsx +46 -0
- package/client/src/components/DraggableLI.tsx +182 -0
- package/client/src/components/ElectronSearchBar.tsx +335 -0
- package/client/src/components/ErrorComponent.tsx +240 -0
- package/client/src/components/ExpandSection.tsx +55 -0
- package/client/src/components/Expander.tsx +16 -0
- package/client/src/components/FileInput/DropZone.tsx +23 -0
- package/client/src/components/FileInput/FileInput.tsx +363 -0
- package/client/src/components/FileInput/FileInputMedia.tsx +144 -0
- package/client/src/components/FileInput/useFileDropZone.ts +51 -0
- package/client/src/components/FileTree/FILE_EXTENSION_TO_ICON_INFO.ts +687 -0
- package/client/src/components/FileTree/FileIcon.tsx +31 -0
- package/client/src/components/FileTree/FileTree.tsx +147 -0
- package/client/src/components/FileTree/FileTreeCurrentDirectory.tsx +135 -0
- package/client/src/components/FileTree/FileTreeNode.css +12 -0
- package/client/src/components/FileTree/FileTreeNode.tsx +264 -0
- package/client/src/components/FileTree/FileTreeNodeCheckbox.tsx +48 -0
- package/client/src/components/FileTree/FileTreeSearchBar.tsx +121 -0
- package/client/src/components/FileTree/FileTreeSelectedItems.tsx +73 -0
- package/client/src/components/FileTree/FolderIcon.tsx +18 -0
- package/client/src/components/FileTree/fileSystemTreeUtils.ts +15 -0
- package/client/src/components/FileTree/useFileTree.ts +255 -0
- package/client/src/components/FileTree/useFileTreeChecked.ts +158 -0
- package/client/src/components/FlashMessage.tsx +64 -0
- package/client/src/components/Flex.tsx +76 -0
- package/client/src/components/FormField/FormField.css +91 -0
- package/client/src/components/FormField/FormField.tsx +748 -0
- package/client/src/components/FormField/FormFieldCodeEditor.tsx +97 -0
- package/client/src/components/FormField/FormFieldDebounced.tsx +60 -0
- package/client/src/components/FormField/FormFieldSkeleton.tsx +206 -0
- package/client/src/components/FormField/onFormFieldKeyDown.ts +124 -0
- package/client/src/components/FullscreenWrapper/FullscreenWrapper.tsx +154 -0
- package/client/src/components/FullscreenWrapper/useFullscreen.ts +46 -0
- package/client/src/components/HeaderSection.tsx +36 -0
- package/client/src/components/Hotkey.css +12 -0
- package/client/src/components/Hotkey.tsx +26 -0
- package/client/src/components/IFrame/IFrame.tsx +54 -0
- package/client/src/components/Icon/Icon.tsx +138 -0
- package/client/src/components/IconPalette/IconPalette.tsx +194 -0
- package/client/src/components/InfoRow.tsx +64 -0
- package/client/src/components/Input.tsx +63 -0
- package/client/src/components/JSONBSchema/JSONBSchema.tsx +182 -0
- package/client/src/components/JSONBSchema/JSONBSchemaAllowedOptions.tsx +112 -0
- package/client/src/components/JSONBSchema/JSONBSchemaArray.tsx +172 -0
- package/client/src/components/JSONBSchema/JSONBSchemaLookup.tsx +249 -0
- package/client/src/components/JSONBSchema/JSONBSchemaObject.tsx +130 -0
- package/client/src/components/JSONBSchema/JSONBSchemaOneOfType.tsx +155 -0
- package/client/src/components/JSONBSchema/JSONBSchemaPrimitive.tsx +209 -0
- package/client/src/components/JSONBSchema/JSONBSchemaRecord.tsx +78 -0
- package/client/src/components/JSONBSchema/isCompleteJSONB.ts +54 -0
- package/client/src/components/Label.css +10 -0
- package/client/src/components/Label.tsx +152 -0
- package/client/src/components/LabeledRow.tsx +51 -0
- package/client/src/components/List.css +51 -0
- package/client/src/components/List.tsx +170 -0
- package/client/src/components/Loader/Loading.css +141 -0
- package/client/src/components/Loader/Loading.tsx +254 -0
- package/client/src/components/Loader/SpinnerV2.tsx +121 -0
- package/client/src/components/Loader/SpinnerV3.tsx +58 -0
- package/client/src/components/Loader/SpinnerV4.tsx +31 -0
- package/client/src/components/MarkdownWithPlugins/MarkdownWithPlugins.tsx +99 -0
- package/client/src/components/MarkdownWithPlugins/Marked.css +72 -0
- package/client/src/components/MarkdownWithPlugins/preserveDisallowedHtmlAsText.ts +76 -0
- package/client/src/components/MediaViewer/MediaViewer.tsx +252 -0
- package/client/src/components/MediaViewer/MediaViewerContent.tsx +223 -0
- package/client/src/components/MediaViewer/managedTableUtils.ts +99 -0
- package/client/src/components/MenuList.css +3 -0
- package/client/src/components/MenuList.tsx +237 -0
- package/client/src/components/MenuListItem.tsx +126 -0
- package/client/src/components/MonacoEditor/MonacoEditor.tsx +273 -0
- package/client/src/components/MonacoEditor/monacoHackyFixes.ts +56 -0
- package/client/src/components/MonacoEditor/useMonacoEditorAddActions.ts +56 -0
- package/client/src/components/MonacoEditor/useWhyDidYouUpdate.ts +80 -0
- package/client/src/components/MonacoLogs/MonacoLogs.tsx +98 -0
- package/client/src/components/MonacoLogs/MonacoLogsWithFullscreen.tsx +124 -0
- package/client/src/components/MonacoLogs/setAnsiLogContent.ts +163 -0
- package/client/src/components/NavBar/NavBar.css +110 -0
- package/client/src/components/NavBar/NavBar.tsx +152 -0
- package/client/src/components/NavBar/NavBarWrapper.tsx +55 -0
- package/client/src/components/NavBar/useNavBarItems.ts +40 -0
- package/client/src/components/Pan.tsx +63 -0
- package/client/src/components/PdfViewer/PdfViewer.css +58 -0
- package/client/src/components/PdfViewer/PdfViewer.tsx +126 -0
- package/client/src/components/PdfViewer/PdfViewerDoclingTextOverlay.tsx +44 -0
- package/client/src/components/PdfViewer/PdfViewerHeaderControls.tsx +82 -0
- package/client/src/components/PdfViewer/PdfViewerHighlights/PdfViewerHighlights.tsx +146 -0
- package/client/src/components/PdfViewer/PdfViewerHighlights/usePdfViewerHighlights.ts +212 -0
- package/client/src/components/PdfViewer/PdfViewerSearch/PdfViewerSearch.css +21 -0
- package/client/src/components/PdfViewer/PdfViewerSearch/PdfViewerSearch.tsx +323 -0
- package/client/src/components/PdfViewer/PdfViewerWithFileTableContext.tsx +209 -0
- package/client/src/components/PdfViewer/usePdfViewer.ts +215 -0
- package/client/src/components/Popup/Footer.tsx +41 -0
- package/client/src/components/Popup/FooterButtons.tsx +60 -0
- package/client/src/components/Popup/Popup.css +14 -0
- package/client/src/components/Popup/Popup.tsx +469 -0
- package/client/src/components/Popup/PopupHeader.tsx +113 -0
- package/client/src/components/Popup/getPopupPosition.ts +137 -0
- package/client/src/components/Popup/getPopupStyle.ts +57 -0
- package/client/src/components/Popup/popupCheckPosition.ts +280 -0
- package/client/src/components/PopupMenu.tsx +106 -0
- package/client/src/components/PopupMenuList.tsx +36 -0
- package/client/src/components/PostgresInstallationInstructions.tsx +112 -0
- package/client/src/components/ProgressBar.css +29 -0
- package/client/src/components/ProgressBar.tsx +131 -0
- package/client/src/components/QRCodeImage.tsx +57 -0
- package/client/src/components/Scheduler.css +7 -0
- package/client/src/components/Scheduler.tsx +149 -0
- package/client/src/components/ScrollFade/ScrollFade.css +4 -0
- package/client/src/components/ScrollFade/ScrollFade.tsx +177 -0
- package/client/src/components/ScrollFade/useAutoScrollToBottom.ts +31 -0
- package/client/src/components/ScrollFade/useResizeObserver.ts +96 -0
- package/client/src/components/SearchList/SearchInput.tsx +143 -0
- package/client/src/components/SearchList/SearchList.css +37 -0
- package/client/src/components/SearchList/SearchList.tsx +184 -0
- package/client/src/components/SearchList/SearchListContent.tsx +285 -0
- package/client/src/components/SearchList/SearchListItems.tsx +244 -0
- package/client/src/components/SearchList/SearchListRowContent.tsx +46 -0
- package/client/src/components/SearchList/getSearchListMatchAndHighlight.tsx +162 -0
- package/client/src/components/SearchList/hooks/useSearchListItems.tsx +113 -0
- package/client/src/components/SearchList/hooks/useSearchListItemsSorting.tsx +169 -0
- package/client/src/components/SearchList/hooks/useSearchListOnClick.ts +69 -0
- package/client/src/components/SearchList/hooks/useSearchListOnKeyUpDown.ts +128 -0
- package/client/src/components/SearchList/hooks/useSearchListSearch.ts +211 -0
- package/client/src/components/SearchList/searchMatchUtils/getItemSearchRank.ts +74 -0
- package/client/src/components/SearchList/searchMatchUtils/getSearchRanking.ts +18 -0
- package/client/src/components/Section.tsx +159 -0
- package/client/src/components/SegmentedToggle.tsx +57 -0
- package/client/src/components/Select/Select.css +18 -0
- package/client/src/components/Select/Select.tsx +629 -0
- package/client/src/components/Select/SelectTriggerButton.tsx +204 -0
- package/client/src/components/ShorterText.tsx +56 -0
- package/client/src/components/SidePanel.tsx +49 -0
- package/client/src/components/Slider.css +65 -0
- package/client/src/components/Slider.tsx +66 -0
- package/client/src/components/StatusChip.tsx +34 -0
- package/client/src/components/Stepper.tsx +92 -0
- package/client/src/components/Stopwatch.tsx +121 -0
- package/client/src/components/SvgIcon.tsx +181 -0
- package/client/src/components/SwitchToggle.css +136 -0
- package/client/src/components/SwitchToggle.tsx +141 -0
- package/client/src/components/Table/Pagination.tsx +178 -0
- package/client/src/components/Table/Table.css +97 -0
- package/client/src/components/Table/Table.tsx +216 -0
- package/client/src/components/Table/TableBody.tsx +146 -0
- package/client/src/components/Table/TableHeader.tsx +491 -0
- package/client/src/components/Table/TableRow.tsx +164 -0
- package/client/src/components/Table/useVirtualisedRows.ts +160 -0
- package/client/src/components/Tabs.tsx +320 -0
- package/client/src/components/Tooltip.tsx +47 -0
- package/client/src/dashboard/API/zip.ts +151 -0
- package/client/src/dashboard/AccessControl/AccessControl.tsx +164 -0
- package/client/src/dashboard/AccessControl/AccessControlRuleEditor.tsx +373 -0
- package/client/src/dashboard/AccessControl/AccessRuleEditorFooter.tsx +241 -0
- package/client/src/dashboard/AccessControl/AccessRuleSummary.tsx +159 -0
- package/client/src/dashboard/AccessControl/ContextDataSelector.tsx +89 -0
- package/client/src/dashboard/AccessControl/ContextFilter.tsx +161 -0
- package/client/src/dashboard/AccessControl/ExistingAccessRules.tsx +168 -0
- package/client/src/dashboard/AccessControl/Methods/MethodDefinition.tsx +156 -0
- package/client/src/dashboard/AccessControl/Methods/MethodDefinitionEditAsJson.tsx +73 -0
- package/client/src/dashboard/AccessControl/Methods/MethodFunctionDefinition.tsx +97 -0
- package/client/src/dashboard/AccessControl/Methods/ReferencesDefinition.tsx +155 -0
- package/client/src/dashboard/AccessControl/Methods/useCodeEditorTsTypes.ts +152 -0
- package/client/src/dashboard/AccessControl/OptionControllers/DynamicFields.tsx +145 -0
- package/client/src/dashboard/AccessControl/OptionControllers/FieldFilterControl.tsx +193 -0
- package/client/src/dashboard/AccessControl/OptionControllers/FilterControl.tsx +207 -0
- package/client/src/dashboard/AccessControl/PasswordlessSetup.tsx +90 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PAllTables.tsx +50 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PCustomTables.tsx +237 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PRunSQL.tsx +92 -0
- package/client/src/dashboard/AccessControl/PublishedWorkspaceSelector.tsx +290 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/ComparablePGPolicies.tsx +179 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/DeleteRuleControl.tsx +95 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/ExampleComparablePolicy.tsx +112 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/InsertRuleControl.tsx +115 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/RuleToggle.tsx +19 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/SelectRuleControl.tsx +186 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/SyncRuleControl.tsx +130 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/UpdateRuleControl.tsx +207 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/getComparablePGPolicy.ts +130 -0
- package/client/src/dashboard/AccessControl/TableRules/FileTableAccessControlInfo.tsx +161 -0
- package/client/src/dashboard/AccessControl/TableRules/TablePermissionControls.tsx +251 -0
- package/client/src/dashboard/AccessControl/TableRules/TableRulesPopup.tsx +167 -0
- package/client/src/dashboard/AccessControl/TableRules/useLocalTableRulesErrors.ts +27 -0
- package/client/src/dashboard/AccessControl/UserStats.tsx +83 -0
- package/client/src/dashboard/AccessControl/UserSyncConfig.tsx +168 -0
- package/client/src/dashboard/AccessControl/UserTypeSelect.tsx +86 -0
- package/client/src/dashboard/AccessControl/useAccessControlSearchParams.ts +81 -0
- package/client/src/dashboard/AccessControl/useEditedAccessRule.ts +293 -0
- package/client/src/dashboard/AskLLM/AskLLM.tsx +91 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChat.tsx +208 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatHeader.tsx +127 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessage.tsx +77 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageContent.tsx +96 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageContentText.tsx +57 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageHeader.tsx +129 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMGroupedToolCallsMessage.tsx +122 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMSingleChatMessage.tsx +44 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMToolCallIcon.tsx +12 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Agent/Agent.tsx +161 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Agent/AgentGoalToolCall.tsx +59 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgentDefinition.tsx +206 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflow.tsx +242 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActions.tsx +245 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/AgenticWorkflowActivity.tsx +225 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/ToolCall.tsx +137 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/useAgenticWorkflowActivityItems.ts +70 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowDefinition.tsx +173 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowDetails.tsx +141 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowMessage.tsx +103 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowSchemaDrift.tsx +146 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/ContainerConfigurationEditor.tsx +184 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/McpToolAccess.tsx +156 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/UserInput.tsx +393 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/UserInputColumnValues.tsx +61 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/hooks/useAgenticWorkflowState.ts +50 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/hooks/useUserInput.ts +27 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AskUserQuestions.tsx +249 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/CreateTables.tsx +32 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DockerContainer.tsx +296 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocument.d.ts +154 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocumentViewer.tsx +98 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocumentViewerPage.tsx +42 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingTable.tsx +166 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingText.tsx +99 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingToolUseView.tsx +47 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/ExecuteSQL.tsx +34 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/LoadSuggestedDashboards.tsx +172 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RequestToolAccess.tsx +272 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RunCodeInSandbox.tsx +33 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RunTypescriptInNodejs.tsx +48 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/ToolUseResultError.tsx +29 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/Favicon.tsx +34 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/Markdown.tsx +21 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/WebSearch.tsx +70 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Webdev/CreateComponentQuickFeedbackPreview.tsx +104 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/DatabaseAccessPermissions.tsx +63 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/HeaderList.tsx +26 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useJSONBParsedData.ts +16 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useSendToolUseResult.ts +46 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useToolUseResultString.ts +27 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useTypedToolUseResultData.ts +85 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesToolUseMessage.tsx +127 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/InChatToolApprover.tsx +82 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessage.tsx +109 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageBtn.tsx +51 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageBtnTextSummary.tsx +45 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageJSONData.tsx +132 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageResult.tsx +57 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseReRunBtn.tsx +71 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/useToolUseChatMessage.ts +51 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/utils/getToolUseResult.ts +40 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/hooks/useLLMChatMessageGrouper.tsx +168 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/hooks/useLLMChatMessages.tsx +157 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/setChatPrompt.ts +116 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatSettings.tsx +88 -0
- package/client/src/dashboard/AskLLM/Chat/useAskLLMChatSend.ts +111 -0
- package/client/src/dashboard/AskLLM/Chat/useLLMChat.tsx +126 -0
- package/client/src/dashboard/AskLLM/Chat/useLLMSchemaStr.ts +207 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBar.tsx +34 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarDatabaseAccess.tsx +273 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarMCPTools.tsx +102 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarMCPToolsBtn.tsx +167 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarModelSelector.tsx +238 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarPromptSelector.tsx +206 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/PromptAndAllowedMcpToolsSchemaPreviews.tsx +85 -0
- package/client/src/dashboard/AskLLM/LLMModelSelector.tsx +270 -0
- package/client/src/dashboard/AskLLM/Setup/AddLLMPromptForm.tsx +33 -0
- package/client/src/dashboard/AskLLM/Setup/AskLLMAccessControl.tsx +246 -0
- package/client/src/dashboard/AskLLM/Setup/LLMProviderSetup.tsx +68 -0
- package/client/src/dashboard/AskLLM/Setup/LLMSetupProvider.tsx +111 -0
- package/client/src/dashboard/AskLLM/Setup/ProstglesSignup.tsx +108 -0
- package/client/src/dashboard/AskLLM/Setup/SetupLLMCredentials.tsx +89 -0
- package/client/src/dashboard/AskLLM/Tools/AskLLMToolApprover.tsx +279 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedBarchart.ts +126 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedMap.ts +58 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedTable.ts +159 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedTimechart.ts +78 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedWorkspaces.ts +168 -0
- package/client/src/dashboard/AskLLM/Tools/useAskLLMToolApprover.ts +99 -0
- package/client/src/dashboard/AskLLM/useLocalLLM.ts +84 -0
- package/client/src/dashboard/BackupAndRestore/AutomaticBackups.tsx +212 -0
- package/client/src/dashboard/BackupAndRestore/BackupsControls.tsx +291 -0
- package/client/src/dashboard/BackupAndRestore/BackupsInProgress.tsx +98 -0
- package/client/src/dashboard/BackupAndRestore/CloudStorageCredentialSelector.tsx +215 -0
- package/client/src/dashboard/BackupAndRestore/CodeConfirmation.tsx +205 -0
- package/client/src/dashboard/BackupAndRestore/CompletedBackups/DeleteAllBackups.tsx +58 -0
- package/client/src/dashboard/BackupAndRestore/CompletedBackups.tsx +276 -0
- package/client/src/dashboard/BackupAndRestore/DumpLocationOptions.tsx +40 -0
- package/client/src/dashboard/BackupAndRestore/DumpRestoreAlerts.tsx +82 -0
- package/client/src/dashboard/BackupAndRestore/PGDumpOptions.tsx +299 -0
- package/client/src/dashboard/BackupAndRestore/RenderBackupLogs.tsx +48 -0
- package/client/src/dashboard/BackupAndRestore/RenderBackupStatus.tsx +58 -0
- package/client/src/dashboard/BackupAndRestore/Restore/Restore.tsx +205 -0
- package/client/src/dashboard/BackupAndRestore/Restore/RestoreOptions.tsx +148 -0
- package/client/src/dashboard/BackupAndRestore/Restore/useRestoreDatabaseFromFile.ts +73 -0
- package/client/src/dashboard/BackupAndRestore/useBackupsControlsState.ts +39 -0
- package/client/src/dashboard/Charts/CanvasChart.ts +746 -0
- package/client/src/dashboard/Charts/TimeChart/TimeChart.tsx +232 -0
- package/client/src/dashboard/Charts/TimeChart/getBinValueLabels.ts +125 -0
- package/client/src/dashboard/Charts/TimeChart/getCssVariableValue.ts +6 -0
- package/client/src/dashboard/Charts/TimeChart/getTimeAxisTicks.ts +426 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartBinSize.ts +121 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartTooltipIntersections.ts +94 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartTooltipShapes.ts +318 -0
- package/client/src/dashboard/Charts/TimeChart/measureText.ts +34 -0
- package/client/src/dashboard/Charts/TimeChart/onDeltaTimechart.ts +65 -0
- package/client/src/dashboard/Charts/TimeChart/onRenderTimechart.ts +354 -0
- package/client/src/dashboard/Charts/TimeChart/prepareTimechartData.ts +185 -0
- package/client/src/dashboard/Charts/constants.ts +8 -0
- package/client/src/dashboard/Charts/createHiPPICanvas.ts +31 -0
- package/client/src/dashboard/Charts/drawMonotoneXCurve.ts +171 -0
- package/client/src/dashboard/Charts/drawShapes/drawLinkLine.ts +29 -0
- package/client/src/dashboard/Charts/drawShapes/drawShapes.ts +217 -0
- package/client/src/dashboard/Charts/drawShapes/drawShapesOnSVG.ts +481 -0
- package/client/src/dashboard/Charts/drawShapes/findShortestPathAroundRectangles.ts +241 -0
- package/client/src/dashboard/Charts/drawShapes/getLinkLinePoints.ts +124 -0
- package/client/src/dashboard/Charts/drawShapes/getTimechartGradientPeakSections.ts +27 -0
- package/client/src/dashboard/Charts/drawShapes/shortestLinkLineV2.ts +182 -0
- package/client/src/dashboard/Charts/roundRect.ts +42 -0
- package/client/src/dashboard/Charts.tsx +216 -0
- package/client/src/dashboard/CodeEditor/CodeEditor.tsx +288 -0
- package/client/src/dashboard/CodeEditor/CodeEditorWithSaveButton.tsx +208 -0
- package/client/src/dashboard/CodeEditor/registerLogLang.ts +128 -0
- package/client/src/dashboard/CodeEditor/utils/getMonacoJsonSchemas.ts +31 -0
- package/client/src/dashboard/CodeEditor/utils/installGoToDefinition.ts +40 -0
- package/client/src/dashboard/CodeEditor/utils/navigateTo.ts +61 -0
- package/client/src/dashboard/CodeEditor/utils/resolveDefinition..ts +33 -0
- package/client/src/dashboard/CodeEditor/utils/setMonacoErrorMarkers.ts +67 -0
- package/client/src/dashboard/CodeEditor/utils/useSetMonacoJsonSchemas.ts +60 -0
- package/client/src/dashboard/CodeEditor/utils/useSetMonacoTsLibraries.ts +157 -0
- package/client/src/dashboard/CodeExample.tsx +34 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APICodeExamples.tsx +280 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetails.tsx +111 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsHttp.tsx +123 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsTokens.tsx +137 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsWs.tsx +98 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/AllowedOriginCheck.tsx +104 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/getApiEndpoint.ts +8 -0
- package/client/src/dashboard/ConnectionConfig/ConnectionConfig.tsx +267 -0
- package/client/src/dashboard/ConnectionConfig/ConnectionConfigSync.tsx +123 -0
- package/client/src/dashboard/ConnectionConfig/ServerSideFunctions.tsx +46 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfig.tsx +90 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigComponents.tsx +47 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigFooterActions.tsx +137 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigSetup.tsx +135 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/hooks/useWebAppConfigActiveSection.ts +12 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/hooks/useWebAppConfigState.ts +76 -0
- package/client/src/dashboard/ConnectionConfig/useConnectionConfigSearchParams.ts +35 -0
- package/client/src/dashboard/ConnectionSelector.tsx +58 -0
- package/client/src/dashboard/Dashboard/CloseSaveSQLPopup.tsx +81 -0
- package/client/src/dashboard/Dashboard/DBS.ts +19 -0
- package/client/src/dashboard/Dashboard/Dashboard.tsx +667 -0
- package/client/src/dashboard/Dashboard/DashboardCenteredLayoutResizer.tsx +56 -0
- package/client/src/dashboard/Dashboard/PALETTE.ts +36 -0
- package/client/src/dashboard/Dashboard/ViewRenderer.tsx +498 -0
- package/client/src/dashboard/Dashboard/addChart.ts +261 -0
- package/client/src/dashboard/Dashboard/addLink.ts +48 -0
- package/client/src/dashboard/Dashboard/addWindow.ts +51 -0
- package/client/src/dashboard/Dashboard/cardLayout.ts +28 -0
- package/client/src/dashboard/Dashboard/cloneWorkspace.ts +102 -0
- package/client/src/dashboard/Dashboard/dashboardUtils.ts +377 -0
- package/client/src/dashboard/Dashboard/debuggingUtils.ts +112 -0
- package/client/src/dashboard/Dashboard/getTables.ts +31 -0
- package/client/src/dashboard/Dashboard/getViewRendererUtils.ts +108 -0
- package/client/src/dashboard/Dashboard/onLinkTable.ts +45 -0
- package/client/src/dashboard/Dashboard/useAddViewToWorkspace.ts +92 -0
- package/client/src/dashboard/DashboardMenu/CreateTable.tsx +307 -0
- package/client/src/dashboard/DashboardMenu/DashboardHotkeys.tsx +38 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenu.tsx +183 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuContent.tsx +203 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuHeader.tsx +86 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuHotkeys.tsx +102 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuResizer.tsx +68 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuSettings.tsx +241 -0
- package/client/src/dashboard/DashboardMenu/NewTableMenu.tsx +121 -0
- package/client/src/dashboard/DashboardMenu/SavedAgenticWorkflowsAndContainers.tsx +149 -0
- package/client/src/dashboard/DashboardMenu/SettingsSection.tsx +22 -0
- package/client/src/dashboard/DashboardMenu/TableList.tsx +141 -0
- package/client/src/dashboard/DashboardMenu/useTableSizeInfo.ts +98 -0
- package/client/src/dashboard/DatabaseAccessEditor/DatabaseAccessEditor.tsx +174 -0
- package/client/src/dashboard/DatabaseAccessEditor/DatabaseAccessEditorCustomTables.tsx +149 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessAdvancedOptions.tsx +128 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessAdvancedOptionsMenu.tsx +65 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessDetails.tsx +163 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessEditor.tsx +229 -0
- package/client/src/dashboard/DatabaseAccessEditor/getTableSchemaDriftState.ts +65 -0
- package/client/src/dashboard/DatabaseAccessEditor/useDatabaseAccessEditorTables.tsx +99 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseControl.tsx +139 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseControlRouter.tsx +192 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/AgeFilter.tsx +148 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/GeoFilter.tsx +255 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/ListFilter/ListFilter.tsx +235 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/ListFilter/fetchListFilterOptions.ts +76 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/NumberOrDateFilter.tsx +206 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterControl.tsx +157 -0
- package/client/src/dashboard/DetailedFilterControl/FTS_LANGUAGES.ts +35 -0
- package/client/src/dashboard/DetailedFilterControl/FilterWrapper.css +7 -0
- package/client/src/dashboard/DetailedFilterControl/FilterWrapper.tsx +339 -0
- package/client/src/dashboard/DetailedFilterControl/validateFilter.ts +46 -0
- package/client/src/dashboard/Feedback.tsx +145 -0
- package/client/src/dashboard/FileImporter/FileImporter.tsx +770 -0
- package/client/src/dashboard/FileImporter/FileImporterFooter.tsx +100 -0
- package/client/src/dashboard/FileImporter/checkCSVColumnDataTypes.tsx +139 -0
- package/client/src/dashboard/FileImporter/importFile.ts +303 -0
- package/client/src/dashboard/FileImporter/parseCSVFile.ts +123 -0
- package/client/src/dashboard/FileImporter/setFile.ts +251 -0
- package/client/src/dashboard/FileTableControls/CreateFileColumn.tsx +189 -0
- package/client/src/dashboard/FileTableControls/FileColumnConfigControls.tsx +191 -0
- package/client/src/dashboard/FileTableControls/FileColumnConfigEditor.tsx +251 -0
- package/client/src/dashboard/FileTableControls/FileStorageControls.tsx +294 -0
- package/client/src/dashboard/FileTableControls/FileStorageDelete.tsx +106 -0
- package/client/src/dashboard/FileTableControls/FileStorageReferencedTablesConfig.tsx +80 -0
- package/client/src/dashboard/FileTableControls/FileTableConfigControls.tsx +69 -0
- package/client/src/dashboard/FileTableControls/hooks/useFileTableConfigControls.ts +70 -0
- package/client/src/dashboard/FileTableControls/hooks/useSetFileStorage.ts +128 -0
- package/client/src/dashboard/JSONBColumnEditor.tsx +60 -0
- package/client/src/dashboard/LinkMenu.tsx +332 -0
- package/client/src/dashboard/Map/DeckGLFeatureEditor.tsx +645 -0
- package/client/src/dashboard/Map/DeckGLMap.css +45 -0
- package/client/src/dashboard/Map/DeckGLMap.tsx +576 -0
- package/client/src/dashboard/Map/DeckGLWrapped.ts +312 -0
- package/client/src/dashboard/Map/InMapControls.tsx +137 -0
- package/client/src/dashboard/Map/MVTLayerProps.ts +306 -0
- package/client/src/dashboard/Map/fitBounds.ts +63 -0
- package/client/src/dashboard/Map/mapDrawUtils.ts +129 -0
- package/client/src/dashboard/Map/mapUtils.ts +183 -0
- package/client/src/dashboard/RTComp.tsx +165 -0
- package/client/src/dashboard/RenderFilter.tsx +174 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/CommonMatchImports.ts +366 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/KEYWORDS.ts +448 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/MatchCreate.ts +294 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/MatchCreateView.ts +106 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateIndex.ts +220 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreatePolicy.ts +108 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateRule.tsx +99 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateTable.ts +336 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateTrigger.ts +84 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/MatchAlter.tsx +258 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchAlterPolicy.ts +50 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchAlterTable.ts +325 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchCreateOrAlterUser.tsx +192 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchComment.ts +86 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchCopy.ts +367 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchDrop.ts +161 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchFirst.ts +471 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchGrant.ts +331 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchInsert.tsx +123 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchLast.ts +10 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchPublication.ts +126 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchReassign.ts +35 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchReindex.ts +36 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSelect.ts +623 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSet.ts +183 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSubscription.ts +231 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchUpdate.ts +79 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchVacuum.ts +86 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchWith.ts +222 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MathDelete.ts +18 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/PSQL.ts +136 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/STARTING_KEYWORDS.ts +931 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/TableKWDs.ts +479 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/checkIfInsideDollarFunctionDefinition.ts +88 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/checkIfUnfinishedParenthesis.ts +74 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getCodeBlock.ts +627 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getQueryReturnType.ts +274 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTableExpressionReturnTypes.ts +243 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTabularExpressions.ts +428 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTokens.ts +239 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getExpected.ts +176 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getJoinSuggestions.ts +193 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getMatch.ts +62 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getPGObjects.ts +1270 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getPrevTokensNoParantheses.ts +234 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/jsonbPathSuggest.ts +188 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/monacoSQLSetup/registerHover.ts +138 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/monacoSQLSetup/registerSuggestions.ts +549 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestColumnLike.ts +251 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestCondition.ts +320 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestFuncArgs.ts +105 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestTableLike.ts +104 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestValue.ts +125 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/withKWDs.ts +507 -0
- package/client/src/dashboard/SQLEditor/SQLEditorSuggestions.ts +1883 -0
- package/client/src/dashboard/SQLEditor/SQLSmartEditor.tsx +124 -0
- package/client/src/dashboard/SQLEditor/SQL_SNIPPETS.ts +43 -0
- package/client/src/dashboard/SQLEditor/W_SQLEditor.css +15 -0
- package/client/src/dashboard/SQLEditor/W_SQLEditor.tsx +746 -0
- package/client/src/dashboard/SQLEditor/addSqlEditorFunctions.ts +74 -0
- package/client/src/dashboard/SQLEditor/defineCustomMonacoSQLTheme.ts +74 -0
- package/client/src/dashboard/SQLEditor/getFormattedSql.ts +154 -0
- package/client/src/dashboard/SQLEditor/registerFunctionSuggestions.ts +175 -0
- package/client/src/dashboard/SQLEditor/utils/scrollToLineIfNeeded.ts +17 -0
- package/client/src/dashboard/SQLEditor/utils/setMonacEditorError.ts +93 -0
- package/client/src/dashboard/SampleSchemas.tsx +50 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/ERDSchema.tsx +175 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/getInitialPlacement.ts +115 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/getInitialPlacementV2.ts +343 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useCanvasPanZoom.ts +54 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useDrawHiddenSvgForNativeTextSearch.ts +80 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useDrawSchemaShapes.ts +242 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useFetchSchemaForDiagram.ts +276 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/usePanShapes.ts +160 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useSchemaShapes.ts +352 -0
- package/client/src/dashboard/SchemaGraph/SchemaGraph.tsx +55 -0
- package/client/src/dashboard/SchemaGraph/SchemaGraphControls.tsx +226 -0
- package/client/src/dashboard/SchemaGraph/types.ts +29 -0
- package/client/src/dashboard/SearchAll/SearchAll.tsx +77 -0
- package/client/src/dashboard/SearchAll/SearchAllContent.tsx +63 -0
- package/client/src/dashboard/SearchAll/SearchAllHeader.tsx +71 -0
- package/client/src/dashboard/SearchAll/SearchMatchRow.tsx +103 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchAllState.ts +46 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchListProps.tsx +178 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchTables.tsx +163 -0
- package/client/src/dashboard/SearchAll/hooks/useTablesAndViewsSearchItems.ts +55 -0
- package/client/src/dashboard/SilverGrid/SilverGrid.tsx +531 -0
- package/client/src/dashboard/SilverGrid/SilverGridChild.tsx +403 -0
- package/client/src/dashboard/SilverGrid/SilverGridChildHeader.tsx +235 -0
- package/client/src/dashboard/SilverGrid/SilverGridResizer.tsx +129 -0
- package/client/src/dashboard/SilverGrid/TreeBuilder.ts +261 -0
- package/client/src/dashboard/SmartCard/SmartCard.tsx +218 -0
- package/client/src/dashboard/SmartCard/SmartCardActions.tsx +113 -0
- package/client/src/dashboard/SmartCard/SmartCardColumn.tsx +49 -0
- package/client/src/dashboard/SmartCard/getSelectForFieldConfigs.ts +44 -0
- package/client/src/dashboard/SmartCard/parseFieldConfigs.tsx +165 -0
- package/client/src/dashboard/SmartCard/useFieldConfigParser.ts +55 -0
- package/client/src/dashboard/SmartCard/useSmartCardColumns.ts +46 -0
- package/client/src/dashboard/SmartCardList/SmartCardList.tsx +291 -0
- package/client/src/dashboard/SmartCardList/SmartCardListHeaderControls.tsx +130 -0
- package/client/src/dashboard/SmartCardList/SmartCardListJoinedNewRecords.tsx +97 -0
- package/client/src/dashboard/SmartCardList/useSmartCardListState.ts +273 -0
- package/client/src/dashboard/SmartFilter/AddJoinFilter.tsx +97 -0
- package/client/src/dashboard/SmartFilter/MinimisedFilter.css +13 -0
- package/client/src/dashboard/SmartFilter/MinimisedFilter.tsx +208 -0
- package/client/src/dashboard/SmartFilter/SmartAddFilter.tsx +324 -0
- package/client/src/dashboard/SmartFilter/SmartFilter.tsx +182 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/SmartSearch.css +4 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/SmartSearch.tsx +230 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/getSmartSearchRows.ts +277 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/onSearchItems.tsx +146 -0
- package/client/src/dashboard/SmartFilter/SortByControl.tsx +81 -0
- package/client/src/dashboard/SmartFilter/smartFilterUtils.ts +97 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBar.tsx +178 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarFilters.tsx +103 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarRightActions.tsx +212 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarSearch.tsx +115 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarSort.tsx +108 -0
- package/client/src/dashboard/SmartFilterBar/useSmartFilterBarState.ts +100 -0
- package/client/src/dashboard/SmartForm/ChipArrayEditor.tsx +169 -0
- package/client/src/dashboard/SmartForm/InsertButton.tsx +89 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecords.tsx +155 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecordsAddRow.tsx +182 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecordsSection.tsx +168 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/getJoinFilter.ts +31 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/useJoinedRecordsSections.ts +246 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/useJoinedSectionFieldConfigs.tsx +120 -0
- package/client/src/dashboard/SmartForm/SmartForm.tsx +368 -0
- package/client/src/dashboard/SmartForm/SmartFormField/RenderValue/RenderJson.tsx +72 -0
- package/client/src/dashboard/SmartForm/SmartFormField/RenderValue.tsx +294 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormField.tsx +349 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldFileSection.tsx +51 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldForeignKey.tsx +253 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedData.tsx +207 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataInsert/SmartFormFieldLinkedDataInsert.tsx +165 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataInsert/useSmartFormFieldLinkedDataInsert.tsx +77 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataSearch.tsx +91 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldRightButtons.tsx +110 -0
- package/client/src/dashboard/SmartForm/SmartFormField/ViewMoreSmartCardList.tsx +86 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fetchColumnValueSuggestions.ts +92 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fetchForeignKeyOptions.tsx +348 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fieldUtils.ts +228 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useNestedInsertDefaultData.ts +28 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useSmartFormFieldAsJSON.tsx +87 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useSmartFormFieldOnChange.ts +65 -0
- package/client/src/dashboard/SmartForm/SmartFormFieldList.tsx +190 -0
- package/client/src/dashboard/SmartForm/SmartFormFileSection.tsx +110 -0
- package/client/src/dashboard/SmartForm/SmartFormFooter/SmartFormFooterButtons.tsx +133 -0
- package/client/src/dashboard/SmartForm/SmartFormFooter/useSmartFormActions.ts +265 -0
- package/client/src/dashboard/SmartForm/SmartFormNewRowDataHandler.ts +168 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormPopupWrapper.tsx +92 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormPrevNext.tsx +33 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormViewAsMarkdown.tsx +83 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/useSmartFormPrevNext.ts +20 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/useSmartFormSubTitle.ts +44 -0
- package/client/src/dashboard/SmartForm/SmartFormUpperFooter/SmartFormUpperFooter.tsx +198 -0
- package/client/src/dashboard/SmartForm/SmartFormUpperFooter/useActiveJoinedRecordsTab.ts +65 -0
- package/client/src/dashboard/SmartForm/constants.ts +1 -0
- package/client/src/dashboard/SmartForm/useNewRowDataHandler.ts +386 -0
- package/client/src/dashboard/SmartForm/useSmartForm.ts +67 -0
- package/client/src/dashboard/SmartForm/useSmartFormColumns.ts +127 -0
- package/client/src/dashboard/SmartForm/useSmartFormMode.ts +243 -0
- package/client/src/dashboard/SmartSelect.tsx +228 -0
- package/client/src/dashboard/SmartTable.tsx +383 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitor.tsx +41 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorBlockedByPid.tsx +35 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorConnections.tsx +127 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeader.tsx +122 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeaderCpu.tsx +122 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeaderMemory.tsx +21 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorProcList.tsx +292 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorProcListControlsHeader.tsx +85 -0
- package/client/src/dashboard/TableConfig/ProcessLogs.tsx +65 -0
- package/client/src/dashboard/TableConfig/TableConfig.tsx +88 -0
- package/client/src/dashboard/TimeSeries.tsx +29 -0
- package/client/src/dashboard/UserManager.tsx +54 -0
- package/client/src/dashboard/W_Barchart/W_Barchart.tsx +104 -0
- package/client/src/dashboard/W_Barchart/fetchSQLBarchartData.ts +7 -0
- package/client/src/dashboard/W_Barchart/useBarchartData.ts +176 -0
- package/client/src/dashboard/W_Map/OSM/OverpassQuery.tsx +21 -0
- package/client/src/dashboard/W_Map/OSM/fetchOSMCountryBoundary.ts +73 -0
- package/client/src/dashboard/W_Map/OSM/getOSMData.ts +240 -0
- package/client/src/dashboard/W_Map/OSM/osmToGeoJSON.ts +198 -0
- package/client/src/dashboard/W_Map/OSM/osmTypes.ts +1856 -0
- package/client/src/dashboard/W_Map/W_Map.tsx +747 -0
- package/client/src/dashboard/W_Map/W_MapMenu.tsx +188 -0
- package/client/src/dashboard/W_Map/controls/MapBasemapOptions.tsx +268 -0
- package/client/src/dashboard/W_Map/controls/MapInfoSection.tsx +95 -0
- package/client/src/dashboard/W_Map/controls/MapOSMQuery.tsx +174 -0
- package/client/src/dashboard/W_Map/controls/MapOpacityMenu.tsx +60 -0
- package/client/src/dashboard/W_Map/fetchData/fetchMapLayerData.ts +401 -0
- package/client/src/dashboard/W_Map/fetchData/getMapData.ts +161 -0
- package/client/src/dashboard/W_Map/fetchData/getMapDataExtent.ts +86 -0
- package/client/src/dashboard/W_Map/fetchData/getMapLayerQueries.ts +232 -0
- package/client/src/dashboard/W_Map/getMapFeatureStyle.ts +160 -0
- package/client/src/dashboard/W_Map/onMapHover.ts +118 -0
- package/client/src/dashboard/W_Method/FunctionLabel.tsx +24 -0
- package/client/src/dashboard/W_Method/NewMethod.tsx +108 -0
- package/client/src/dashboard/W_Method/PublishedMethods.tsx +218 -0
- package/client/src/dashboard/W_Method/W_Method.tsx +48 -0
- package/client/src/dashboard/W_Method/W_MethodControls.tsx +338 -0
- package/client/src/dashboard/W_Method/W_MethodMenu.tsx +162 -0
- package/client/src/dashboard/W_QuickMenu.tsx +228 -0
- package/client/src/dashboard/W_SQL/CSVRender.tsx +18 -0
- package/client/src/dashboard/W_SQL/CopyResultBtn.tsx +246 -0
- package/client/src/dashboard/W_SQL/MonacoLanguageRegister.ts +701 -0
- package/client/src/dashboard/W_SQL/SQLHotkeys.tsx +23 -0
- package/client/src/dashboard/W_SQL/TestSQL.ts +52 -0
- package/client/src/dashboard/W_SQL/W_SQL.tsx +679 -0
- package/client/src/dashboard/W_SQL/W_SQLBottomBar/W_SQLBottomBar.tsx +484 -0
- package/client/src/dashboard/W_SQL/W_SQLBottomBar/W_SQLBottomBarProcStats.tsx +67 -0
- package/client/src/dashboard/W_SQL/W_SQLMenu.tsx +403 -0
- package/client/src/dashboard/W_SQL/W_SQLResults.tsx +161 -0
- package/client/src/dashboard/W_SQL/customRenderers.tsx +126 -0
- package/client/src/dashboard/W_SQL/demoScripts/createTables.ts +262 -0
- package/client/src/dashboard/W_SQL/demoScripts/mainTestScripts.ts +269 -0
- package/client/src/dashboard/W_SQL/demoScripts/testBugs.ts +596 -0
- package/client/src/dashboard/W_SQL/demoScripts/testMiscAndBugs.ts +61 -0
- package/client/src/dashboard/W_SQL/demoScripts/testSqlCharts.ts +117 -0
- package/client/src/dashboard/W_SQL/getChartableSQL.ts +169 -0
- package/client/src/dashboard/W_SQL/getDemoUtils.ts +260 -0
- package/client/src/dashboard/W_SQL/getSQLResultTableColumns.ts +56 -0
- package/client/src/dashboard/W_SQL/monacoEditorTypes.ts +13 -0
- package/client/src/dashboard/W_SQL/parseExplainResult.ts +99 -0
- package/client/src/dashboard/W_SQL/parseSQLError.ts +55 -0
- package/client/src/dashboard/W_SQL/parseSqlResultCols.ts +96 -0
- package/client/src/dashboard/W_SQL/runSQL/getQueryTotalRowCount.ts +38 -0
- package/client/src/dashboard/W_SQL/runSQL/runSQL.ts +432 -0
- package/client/src/dashboard/W_SQL/runSQLErrorHints.ts +150 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardItemBody.tsx +151 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardItemHeader.tsx +150 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardViewRow.tsx +160 -0
- package/client/src/dashboard/W_Table/CardView/CardView.tsx +87 -0
- package/client/src/dashboard/W_Table/CardView/CardViewColumn.tsx +82 -0
- package/client/src/dashboard/W_Table/CardView/CardViewKanban.tsx +87 -0
- package/client/src/dashboard/W_Table/CardView/DragHeader.tsx +46 -0
- package/client/src/dashboard/W_Table/CardView/constants.ts +1 -0
- package/client/src/dashboard/W_Table/CardView/useCardViewState.ts +50 -0
- package/client/src/dashboard/W_Table/CardView/useDragHeader.ts +280 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddColumnMenu.tsx +193 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/AddComputedColMenu.tsx +650 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/FunctionColumnList.tsx +75 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/QuickAddComputedColumn.tsx +129 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/useAddComputedColumn.ts +175 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/AlterColumn.tsx +421 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/AlterColumnFileOptions.tsx +84 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/ColumnEditor.tsx +229 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/CreateColumn.tsx +150 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/ReferenceEditor.tsx +243 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/alterColumnUtilts.ts +53 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColorPicker.tsx +251 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ChipStylePalette.tsx +127 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ColumnDisplayFormat.tsx +116 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ConditionalCellIconStyleControls.tsx +140 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ConditionalCellStyleControls.tsx +235 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/NestedColumnRender.tsx +172 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/columnFormatUtils.tsx +330 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnList.tsx +291 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnMenu.tsx +537 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnQuickStats/ColumnQuickStats.tsx +176 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnQuickStats/useColumnQuickStats.ts +169 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSelect/ColumnSelect.tsx +54 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSelect/getColumnListItem.tsx +97 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSortMenu.tsx +146 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnStyleControls/ColumnStyleControls.tsx +258 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnStyleControls/getValueColors.ts +101 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnsMenu.tsx +178 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/FunctionExtraArguments.tsx +140 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/FunctionSelector.tsx +89 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/functions.ts +438 -0
- package/client/src/dashboard/W_Table/ColumnMenu/JoinPathSelectorV2.tsx +212 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumn.tsx +295 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumnFooter.tsx +94 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumnSelect.tsx +160 -0
- package/client/src/dashboard/W_Table/ColumnMenu/NestedTimechartControls.tsx +167 -0
- package/client/src/dashboard/W_Table/ColumnMenu/SummariseColumns.tsx +126 -0
- package/client/src/dashboard/W_Table/ColumnMenu/UpdateColumnGlobalConfig.tsx +69 -0
- package/client/src/dashboard/W_Table/ColumnMenu/getNestedColumnTable.ts +83 -0
- package/client/src/dashboard/W_Table/ColumnMenu/rgba2hex.ts +36 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/JoinPathItem.tsx +133 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/JoinPathSelector.tsx +100 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/getJoinTree.ts +79 -0
- package/client/src/dashboard/W_Table/NodeCountChecker.tsx +58 -0
- package/client/src/dashboard/W_Table/ProstglesTable.css +64 -0
- package/client/src/dashboard/W_Table/QuickFilterGroupsControl.tsx +86 -0
- package/client/src/dashboard/W_Table/RowCard.tsx +102 -0
- package/client/src/dashboard/W_Table/TableMenu/AddChartMenu.tsx +288 -0
- package/client/src/dashboard/W_Table/TableMenu/AutoRefreshMenu.tsx +118 -0
- package/client/src/dashboard/W_Table/TableMenu/TableDisplayOptionsJSON.tsx +71 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu.tsx +365 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_AccessRules.tsx +127 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Constraints.tsx +140 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_CurrentQuery.tsx +82 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_DisplayOptions.tsx +266 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Indexes.tsx +179 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Policies.tsx +197 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_TableInfo.tsx +184 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Triggers.tsx +199 -0
- package/client/src/dashboard/W_Table/TableMenu/getAndFixWColumnsConfig.tsx +116 -0
- package/client/src/dashboard/W_Table/TableMenu/getChartCols.ts +153 -0
- package/client/src/dashboard/W_Table/TableMenu/getTableMeta.ts +205 -0
- package/client/src/dashboard/W_Table/TooManyColumnsWarning.tsx +72 -0
- package/client/src/dashboard/W_Table/W_Table.tsx +772 -0
- package/client/src/dashboard/W_Table/W_Table_Content.tsx +51 -0
- package/client/src/dashboard/W_Table/colorBlend.ts +75 -0
- package/client/src/dashboard/W_Table/getTableData/getTableData.ts +291 -0
- package/client/src/dashboard/W_Table/getTableData/getTableFilter.ts +66 -0
- package/client/src/dashboard/W_Table/tableUtils/StyledTableColumn.tsx +322 -0
- package/client/src/dashboard/W_Table/tableUtils/getColWInfo.ts +48 -0
- package/client/src/dashboard/W_Table/tableUtils/getColWidth.ts +160 -0
- package/client/src/dashboard/W_Table/tableUtils/getEditColumn.tsx +143 -0
- package/client/src/dashboard/W_Table/tableUtils/getFullColumnConfig.ts +43 -0
- package/client/src/dashboard/W_Table/tableUtils/getJoinPaths.ts +89 -0
- package/client/src/dashboard/W_Table/tableUtils/getRowFilter.ts +114 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableCols.tsx +258 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableDataRequestSignature.ts +32 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableSelect.ts +235 -0
- package/client/src/dashboard/W_Table/tableUtils/kFormatter.ts +12 -0
- package/client/src/dashboard/W_Table/tableUtils/onRenderColumn.tsx +107 -0
- package/client/src/dashboard/W_Table/tableUtils/prepareColsForRender.ts +69 -0
- package/client/src/dashboard/W_Table/tableUtils/tableUtils.ts +298 -0
- package/client/src/dashboard/W_TimeChart/AddTimeChartFilter.tsx +347 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChart.tsx +405 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartHeaderControls.tsx +140 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartLayerLegend.tsx +99 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartMenu.tsx +228 -0
- package/client/src/dashboard/W_TimeChart/fetchData/constants.ts +5 -0
- package/client/src/dashboard/W_TimeChart/fetchData/fetchAndSetTimechartLayerData.ts +141 -0
- package/client/src/dashboard/W_TimeChart/fetchData/fetchTimechartLayer.ts +291 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartData.ts +163 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartLayers.ts +137 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartLayersWithBins.ts +296 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartSelectParams.ts +41 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeLayerDataSignature.ts +22 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimechartExtentFilter.ts +48 -0
- package/client/src/dashboard/Window/ChildWindowLayout.tsx +149 -0
- package/client/src/dashboard/Window/Window.tsx +322 -0
- package/client/src/dashboard/WindowControls/AddChartLayer.tsx +142 -0
- package/client/src/dashboard/WindowControls/ColorByLegend/ColorByLegend.tsx +256 -0
- package/client/src/dashboard/WindowControls/ColorByLegend/getGroupByValueColor.ts +50 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayer.tsx +182 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayerDataSource.tsx +243 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayerManager.tsx +157 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/LayerColorPicker.tsx +56 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/MapLayerStyling.tsx +192 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/useSortedLayerQueries.ts +34 -0
- package/client/src/dashboard/WindowControls/OSMLayerOptions.tsx +62 -0
- package/client/src/dashboard/WindowControls/SQLChartLayerEditor.tsx +38 -0
- package/client/src/dashboard/WindowControls/TimeChartLayerOptions.tsx +336 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceAddBtn.tsx +104 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceDeleteBtn.tsx +87 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenu.css +13 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenu.tsx +124 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenuDropDown.tsx +178 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceSettings.tsx +99 -0
- package/client/src/dashboard/WorkspaceMenu/useWorkspaces.ts +78 -0
- package/client/src/dashboard/getCrossFilters.ts +251 -0
- package/client/src/dashboard/localSettings.ts +94 -0
- package/client/src/dashboard/setPan.ts +358 -0
- package/client/src/dashboard/shortestPath.ts +137 -0
- package/client/src/demo/AppVideoDemo.tsx +132 -0
- package/client/src/demo/MousePointer.tsx +39 -0
- package/client/src/demo/demoUtils.ts +214 -0
- package/client/src/demo/recordDemoUtils.ts +87 -0
- package/client/src/demo/scripts/AIAssistantDemo.ts +60 -0
- package/client/src/demo/scripts/accessControlDemo.ts +44 -0
- package/client/src/demo/scripts/backupDemo.ts +50 -0
- package/client/src/demo/scripts/dashboardDemo.ts +215 -0
- package/client/src/demo/scripts/fileDemo.ts +24 -0
- package/client/src/demo/scripts/schemaDiagramDemo.ts +13 -0
- package/client/src/demo/scripts/sqlVideoDemo.ts +539 -0
- package/client/src/demo/scripts/videoDemoAccessControlScripts.ts +245 -0
- package/client/src/exports.ts +15 -0
- package/client/src/hooks/createStore.ts +24 -0
- package/client/src/hooks/useDebouncedCallback.ts +27 -0
- package/client/src/hooks/useThrottledCallback.ts +41 -0
- package/client/src/hooks/useTypedSearchParams.ts +81 -0
- package/client/src/i18n/LanguageSelector.tsx +33 -0
- package/client/src/i18n/i18nUtils.ts +187 -0
- package/client/src/i18n/translations/de.json +453 -0
- package/client/src/i18n/translations/es.json +425 -0
- package/client/src/i18n/translations/fr.json +425 -0
- package/client/src/i18n/translations/hi.json +431 -0
- package/client/src/i18n/translations/ru.json +431 -0
- package/client/src/i18n/translations/translations.ts +477 -0
- package/client/src/i18n/translations/zh.json +423 -0
- package/client/src/index.css +57 -0
- package/client/src/index.html.ejs +37 -0
- package/client/src/index.tsx +17 -0
- package/client/src/pages/Account/Account.tsx +150 -0
- package/client/src/pages/Account/ChangePassword.tsx +96 -0
- package/client/src/pages/Account/Sessions.tsx +248 -0
- package/client/src/pages/Account/Setup2FA.tsx +244 -0
- package/client/src/pages/AccountMenu.tsx +146 -0
- package/client/src/pages/Alerts.tsx +182 -0
- package/client/src/pages/AppContextProvider.tsx +26 -0
- package/client/src/pages/ComponentList.tsx +108 -0
- package/client/src/pages/ElectronSetup/ElectronSetup.tsx +122 -0
- package/client/src/pages/ElectronSetup/ElectronSetupStateDB.tsx +141 -0
- package/client/src/pages/ElectronSetup/useElectronSetup.ts +147 -0
- package/client/src/pages/Login/AuthNotifPopup.tsx +37 -0
- package/client/src/pages/Login/Login.tsx +133 -0
- package/client/src/pages/Login/LoginTotpForm.tsx +72 -0
- package/client/src/pages/Login/LoginWithProviders.tsx +62 -0
- package/client/src/pages/Login/SocialIcons.css +4 -0
- package/client/src/pages/Login/SocialIcons.tsx +85 -0
- package/client/src/pages/NewConnection/NewConnectionForm.tsx +572 -0
- package/client/src/pages/NewConnection/NewConnectionFormFields.tsx +314 -0
- package/client/src/pages/NewConnection/NewConnectionFormOptions.tsx +194 -0
- package/client/src/pages/NewConnection/SchemaFilter.tsx +87 -0
- package/client/src/pages/NewConnection/newConnectionUtils.ts +50 -0
- package/client/src/pages/NonHTTPSWarning.tsx +51 -0
- package/client/src/pages/NotFound.tsx +22 -0
- package/client/src/pages/ProjectConnection/PrglContextProvider.tsx +47 -0
- package/client/src/pages/ProjectConnection/ProjectConnection.tsx +110 -0
- package/client/src/pages/ProjectConnection/ProjectConnectionError.tsx +76 -0
- package/client/src/pages/ProjectConnection/useProjectDb.ts +253 -0
- package/client/src/pages/ProjectLogs.tsx +227 -0
- package/client/src/pages/ServerSettings/AuthProvidersSetup/AuthProvidersSetup.tsx +199 -0
- package/client/src/pages/ServerSettings/AuthProvidersSetup/useProviderProps.ts +39 -0
- package/client/src/pages/ServerSettings/EmailAuthSetup.tsx +209 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailSMTPAndTemplateSetup.tsx +158 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailSMTPSetup.tsx +128 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailTemplateSetup.tsx +111 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfig.tsx +41 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigActions.tsx +187 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigAuthorizeUrlBtn.tsx +55 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigCredentials.tsx +81 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigTopControls.tsx +120 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/WebMcpConfig.tsx +162 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/useMcpServerOAuthConfigState.ts +132 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigButton.tsx +121 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigEditor.tsx +206 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigProvider.tsx +67 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/useMCPServerConfigState.tsx +107 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/useMCPServerEnable.ts +131 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServerFooterActions.tsx +108 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServerLogs.tsx +46 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServersInstall.tsx +81 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerHeaderCheckbox.tsx +120 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/MCPServerTools.tsx +95 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/MCPServerToolsGroupToggle.tsx +96 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/useMcpServerIcons.ts +87 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/useMcpToolsSelectOptions.tsx +33 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServers.tsx +140 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersHeader.tsx +47 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/AddMCPServer.tsx +196 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/MCPServersToolbar.tsx +77 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/useAddMCPServer.ts +253 -0
- package/client/src/pages/ServerSettings/MCPServers/useMCPChatAllowedTools.ts +25 -0
- package/client/src/pages/ServerSettings/MCPServers/useMCPServersListProps.tsx +118 -0
- package/client/src/pages/ServerSettings/OAuthProviderSetup.tsx +258 -0
- package/client/src/pages/ServerSettings/SecuritySettings.tsx +154 -0
- package/client/src/pages/ServerSettings/ServerSettings.tsx +151 -0
- package/client/src/pages/ServerSettings/Services.tsx +231 -0
- package/client/src/pages/ServerSettings/useEditableData.ts +55 -0
- package/client/src/pages/TopControls.tsx +182 -0
- package/client/src/pages/projectUtils.ts +0 -0
- package/client/src/theme/ThemeSelector.tsx +36 -0
- package/client/src/theme/useAppTheme.ts +47 -0
- package/client/src/theme/useSystemTheme.ts +23 -0
- package/client/src/useAppState/PrglCoreContextProvider.tsx +76 -0
- package/client/src/useAppState/useAppState.ts +92 -0
- package/client/src/useAppState/useDBSClient.ts +104 -0
- package/client/src/useAppState/useServerState.ts +62 -0
- package/client/src/useAppState/useUserData.ts +1 -0
- package/client/src/utils/colorUtils.ts +48 -0
- package/client/src/utils/hashCode.ts +52 -0
- package/client/src/utils/utils.ts +207 -0
- package/client/static/favicon-32x32.png +0 -0
- package/client/static/logos/anthropic.svg +3 -0
- package/client/static/logos/google.svg +25 -0
- package/client/static/logos/ollama.svg +7 -0
- package/client/static/logos/openai.svg +2 -0
- package/client/static/logos/openrouter.svg +1 -0
- package/client/static/mcp-oauth-close.js +5 -0
- package/client/static/prostgles-logo.svg +39 -0
- package/client/static/util.css +2024 -0
- package/client/static/v2.svg +25 -0
- package/client/tsconfig.eslint.json +5 -0
- package/client/tsconfig.json +40 -0
- package/client/tslint.json +5 -0
- package/common/DBGeneratedSchema.ts +953 -0
- package/common/DashboardTypes.ts +533 -0
- package/common/KeyObjMap.ts +100 -0
- package/common/OAuthUtils.ts +285 -0
- package/common/authTypesAndConstants.ts +1 -0
- package/common/columnDisplayFormat.schema.ts +211 -0
- package/common/electronInitTypes.ts +56 -0
- package/common/filterUtils.ts +491 -0
- package/common/getJsonSchemaAsTs.ts +335 -0
- package/common/llmUtils.ts +133 -0
- package/common/managedTableSchema.ts +38 -0
- package/common/mcp/databaseAccessSchema.ts +70 -0
- package/common/mcp/db.mcp.schema.ts +280 -0
- package/common/mcp/documents.mcp.schema.ts +45 -0
- package/common/mcp/documentsServiceInputSchema.ts +129 -0
- package/common/mcp/runCodeInSandboxSchema.ts +85 -0
- package/common/mcp/startAgenticWorkflowSchema.ts +180 -0
- package/common/mcp/tableOptionsJsonbSchema.ts +151 -0
- package/common/mcp/tablePermissionsSchema.ts +101 -0
- package/common/mcp/ui.mcp.schema.ts +496 -0
- package/common/mcp/userInputSchema.ts +87 -0
- package/common/mcp/web.mcp.schema.ts +245 -0
- package/common/mcp/webdev.mcp.schema.ts +138 -0
- package/common/mcpUtils.ts +75 -0
- package/common/prostglesApiTypes.ts +551 -0
- package/common/prostglesMcp.ts +35 -0
- package/common/psql_queries.json +657 -0
- package/common/publishUtils.ts +600 -0
- package/common/tsconfig.json +22 -0
- package/common/utils.ts +525 -0
- package/docker-compose.yml +99 -0
- package/docs/01_Overview.md +25 -0
- package/docs/02_Installation_(Docker).md +37 -0
- package/docs/03_Installation_(Desktop_Version).md +27 -0
- package/docs/04_Navigation_bar.md +37 -0
- package/docs/05_Connections.md +108 -0
- package/docs/06_Connection_dashboard.md +58 -0
- package/docs/07_Import_file.md +15 -0
- package/docs/08_Agentic_workflows.md +27 -0
- package/docs/09_Schema_diagram.md +63 -0
- package/docs/10_SQL_editor.md +69 -0
- package/docs/11_Table_view.md +188 -0
- package/docs/12_Map_view.md +56 -0
- package/docs/13_Timechart_view.md +49 -0
- package/docs/14_AI_Assistant.md +64 -0
- package/docs/15_Connection_configuration.md +20 -0
- package/docs/16_Access_control.md +12 -0
- package/docs/17_File_storage.md +8 -0
- package/docs/18_Backup_and_Restore.md +22 -0
- package/docs/19_API.md +20 -0
- package/docs/20_Server_Settings.md +28 -0
- package/docs/21_Account.md +21 -0
- package/docs/22_Command_Palette.md +10 -0
- package/docs/screenshots/table_timechart.dark.svgif.svg +375 -0
- package/docs/screenshots/table_timechart.svgif.svg +1102 -0
- package/docs/screenshots/timechart.dark.svgif.svg +221 -0
- package/docs/screenshots/timechart.svgif.svg +846 -0
- package/e2e/icon512.png +0 -0
- package/e2e/package-lock.json +401 -0
- package/e2e/package.json +31 -0
- package/e2e/playwright.config.js +65 -0
- package/e2e/playwright.config.ts +32 -0
- package/e2e/test-local.sh +5 -0
- package/e2e/tests/Testing.ts +724 -0
- package/e2e/tests/command_palette.spec.ts +114 -0
- package/e2e/tests/configTest/.env.example +10 -0
- package/e2e/tests/configTest/constants.ts +13 -0
- package/e2e/tests/configTest/functions.ts +14 -0
- package/e2e/tests/configTest/index.ts +84 -0
- package/e2e/tests/configTest/package.json +17 -0
- package/e2e/tests/configTest/tsconfig.json +13 -0
- package/e2e/tests/config_deploy.spec.ts +386 -0
- package/e2e/tests/create_docs.spec.ts +231 -0
- package/e2e/tests/create_load_test_users.spec.ts +47 -0
- package/e2e/tests/demo_video.spec.ts +139 -0
- package/e2e/tests/demo_video_setup.spec.ts +118 -0
- package/e2e/tests/fileBrowserGoToPath.ts +53 -0
- package/e2e/tests/load_test.spec.ts +53 -0
- package/e2e/tests/main.spec.ts +3820 -0
- package/e2e/tests/mockSMTPServer.ts +81 -0
- package/e2e/tests/saveDocs.ts +55 -0
- package/e2e/tests/svgScreenshots/SVG_SCREENSHOT_DETAILS.ts +132 -0
- package/e2e/tests/svgScreenshots/account.svgif.ts +14 -0
- package/e2e/tests/svgScreenshots/aiAssistant.svgif.ts +235 -0
- package/e2e/tests/svgScreenshots/aiAssistantAgenticWorkflow.svgif.ts +339 -0
- package/e2e/tests/svgScreenshots/aiAssistantAgenticWorkflowGovApi.svgif.ts +116 -0
- package/e2e/tests/svgScreenshots/backupAndRestore.svgif.ts +143 -0
- package/e2e/tests/svgScreenshots/commandPalette.svgif.ts +69 -0
- package/e2e/tests/svgScreenshots/dashboard.svgif.ts +271 -0
- package/e2e/tests/svgScreenshots/electronSetup.svgif.ts +32 -0
- package/e2e/tests/svgScreenshots/fileImporter.svgif.ts +39 -0
- package/e2e/tests/svgScreenshots/getOverviewSvgifSpecs.svgif.ts +288 -0
- package/e2e/tests/svgScreenshots/map.svgif.ts +50 -0
- package/e2e/tests/svgScreenshots/navbar.svgif.ts +22 -0
- package/e2e/tests/svgScreenshots/newConnection.svgif.ts +26 -0
- package/e2e/tests/svgScreenshots/schemaDiagram.svgif.ts +82 -0
- package/e2e/tests/svgScreenshots/sqlEditor.svgif.ts +348 -0
- package/e2e/tests/svgScreenshots/table.svgif.ts +167 -0
- package/e2e/tests/svgScreenshots/tableTimechart.svgif.ts +507 -0
- package/e2e/tests/svgScreenshots/timechart.svgif.ts +138 -0
- package/e2e/tests/svgScreenshots/utils/constants.ts +23 -0
- package/e2e/tests/svgScreenshots/utils/dedent.ts +9 -0
- package/e2e/tests/svgScreenshots/utils/getFilesFromDir.ts +30 -0
- package/e2e/tests/svgScreenshots/utils/getSceneUtils.ts +200 -0
- package/e2e/tests/svgScreenshots/utils/removeOtherElements.ts +26 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGScreenshot.ts +67 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGifs.ts +74 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGs.ts +61 -0
- package/e2e/tests/svgScreenshots/utils/startScreencast.ts +118 -0
- package/e2e/tests/svgScreenshots/utils/svgScreenshotsCompleteReferenced.ts +98 -0
- package/e2e/tests/svgScreenshots/utils/svgifToWebm.ts +196 -0
- package/e2e/tests/svgScreenshots/utils/typeSendAddScenes.ts +86 -0
- package/e2e/tests/testAskLLM/agenticWorkflowToolUses.ts +294 -0
- package/e2e/tests/testAskLLM/createComponentToolUse.ts +49 -0
- package/e2e/tests/testAskLLM/createReceipts.ts +183 -0
- package/e2e/tests/testAskLLM/getAskUserToolUse.ts +36 -0
- package/e2e/tests/testAskLLM/hello.mp3 +0 -0
- package/e2e/tests/testAskLLM/mcpSandboxToolUse.ts +64 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/Dockerfile +32 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/package-lock.json +2120 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/package.json +20 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/server.ts +144 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/start-mock-mcp.sh +93 -0
- package/e2e/tests/testAskLLM/sample.pdf +35 -0
- package/e2e/tests/testAskLLM/sampleToolUseData.ts +1413 -0
- package/e2e/tests/testAskLLM/scenarios/geoQuestion.scenario.ts +110 -0
- package/e2e/tests/testAskLLM/scenarios/hygieneRatingsApi.scenario.ts +62 -0
- package/e2e/tests/testAskLLM/scenarios/receiptImport/receiptImport.scenario.ts +53 -0
- package/e2e/tests/testAskLLM/speechToTextTest.ts +101 -0
- package/e2e/tests/testAskLLM/stringify.ts +1 -0
- package/e2e/tests/testAskLLM/testAskLLM.ts +558 -0
- package/e2e/tests/testAskLLM/utils.ts +34 -0
- package/e2e/tests/tsconfig.json +16 -0
- package/e2e/tests/utils/constants.ts +22 -0
- package/e2e/tests/utils/goTo.ts +87 -0
- package/e2e/tests/utils/isPortFree.ts +19 -0
- package/e2e/tests/utils/utils.ts +1319 -0
- package/e2e/tsconfig.json +5 -0
- package/electron/README.md +34 -0
- package/electron/build.sh +74 -0
- package/electron/e2e-electron/electron.spec.tsx +214 -0
- package/electron/e2e-electron/tsconfig.json +10 -0
- package/electron/forge.config.js +26 -0
- package/electron/getProtocolHandler.ts +41 -0
- package/electron/handleErrors.ts +25 -0
- package/electron/icon512.png +0 -0
- package/electron/image.ico +0 -0
- package/electron/images/generate_from_svg.sh +13 -0
- package/electron/images/icon.ico +0 -0
- package/electron/images/icon512.png +0 -0
- package/electron/images/icon512notpadded.png +0 -0
- package/electron/images/loading-effect.css +43 -0
- package/electron/images/prostgles-logo-rounded.svg +46 -0
- package/electron/images/prostgles-logo.svg +39 -0
- package/electron/images/rounded/256x256.png +0 -0
- package/electron/images/rounded/512.png +0 -0
- package/electron/images/rounded/512x512.png +0 -0
- package/electron/images/rounded/64x64.png +0 -0
- package/electron/images/rounded/icon512.png +0 -0
- package/electron/loadingHTML.ts +70 -0
- package/electron/main.ts +125 -0
- package/electron/mainWindow.ts +155 -0
- package/electron/package-lock.json +3916 -0
- package/electron/package.json +111 -0
- package/electron/playwright.config.ts +17 -0
- package/electron/screenCapture.bat +275 -0
- package/electron/scripts/patch-builder.mjs +25 -0
- package/electron/setContextMenu.ts +56 -0
- package/electron/start.sh +10 -0
- package/electron/test-linux-macos.sh +1 -0
- package/electron/test-linux.sh +2 -0
- package/electron/test-setup.js +8 -0
- package/electron/test-w-debug.sh +1 -0
- package/electron/test.sh +1 -0
- package/electron/tsconfig.json +22 -0
- package/electron/win-inno-setup.ts +100 -0
- package/electron/win.js +3 -0
- package/package.json +33 -0
- package/releases/v1.0.0.md +5 -0
- package/releases/v2.0.0.md +25 -0
- package/releases/v2.2.2.md +13 -0
- package/releases/v2.2.3.md +1 -0
- package/releases/v2.2.4.md +1 -0
- package/releases/v2.2.5.md +1 -0
- package/releases/v2.3.1.md +5 -0
- package/releases/v2.3.5.md +7 -0
- package/scripts/check_release_ready.sh +53 -0
- package/scripts/demo/record-local.sh +13 -0
- package/scripts/demo/split-video.sh +6 -0
- package/scripts/get_version.sh +11 -0
- package/scripts/npm_publish_dev.sh +6 -0
- package/scripts/release.sh +35 -0
- package/scripts/start-dev-electron.sh +14 -0
- package/scripts/start-dev.sh +18 -0
- package/scripts/start-prod.sh +5 -0
- package/scripts/test.sh +62 -0
- package/scripts/update_docker_image_versions.sh +28 -0
- package/server/.vscode/settings.json +3 -0
- package/server/eslint.config.mjs +83 -0
- package/server/licenses.json +3821 -0
- package/server/package-lock.json +7252 -0
- package/server/package.json +84 -0
- package/server/sample_schemas/_crypto.sql +95 -0
- package/server/sample_schemas/cleaning.sql +49 -0
- package/server/sample_schemas/cloud_computing.sql +63 -0
- package/server/sample_schemas/countries.sql +29 -0
- package/server/sample_schemas/crypto/index.ts +3 -0
- package/server/sample_schemas/crypto/onMount.ts +802 -0
- package/server/sample_schemas/crypto/package.json +7 -0
- package/server/sample_schemas/crypto/tableConfig.ts +80 -0
- package/server/sample_schemas/crypto/tsconfig.json +12 -0
- package/server/sample_schemas/crypto/workspaceConfig.ts +261 -0
- package/server/sample_schemas/financial.sql +49 -0
- package/server/sample_schemas/food_delivery/connection.ts +1007 -0
- package/server/sample_schemas/food_delivery/databaseConfig.ts +116 -0
- package/server/sample_schemas/food_delivery/index.ts +8 -0
- package/server/sample_schemas/food_delivery/onInit.sql +1507 -0
- package/server/sample_schemas/food_delivery/onMount.ts +149 -0
- package/server/sample_schemas/food_delivery/package.json +4 -0
- package/server/sample_schemas/food_delivery/tsconfig.json +16 -0
- package/server/sample_schemas/food_delivery/workspaceConfig.ts +53 -0
- package/server/sample_schemas/lodging.sql +48 -0
- package/server/sample_schemas/maps.sql +73 -0
- package/server/sample_schemas/property_management/index.ts +2 -0
- package/server/sample_schemas/property_management/onMount.ts +55 -0
- package/server/sample_schemas/property_management/package.json +4 -0
- package/server/sample_schemas/property_management/tsconfig.json +16 -0
- package/server/sample_schemas/property_management/workspaceConfig.ts +92 -0
- package/server/sample_schemas/sales.sql +51 -0
- package/server/sample_schemas/sample.sql +72 -0
- package/server/sample_schemas/testschema.ts +21 -0
- package/server/sample_schemas/weather/index.ts +1 -0
- package/server/sample_schemas/weather/onMount.ts +284 -0
- package/server/sample_schemas/weather/package.json +4 -0
- package/server/sample_schemas/weather/tsconfig.json +16 -0
- package/server/scripts/preparePackage.mjs +18 -0
- package/server/src/BackupManager/BackupManager.ts +297 -0
- package/server/src/BackupManager/checkAutomaticBackup.ts +143 -0
- package/server/src/BackupManager/getInstalledPrograms.ts +203 -0
- package/server/src/BackupManager/pgDump.ts +242 -0
- package/server/src/BackupManager/pgRestore.ts +238 -0
- package/server/src/BackupManager/pipeFromCommand.ts +94 -0
- package/server/src/BackupManager/pipeToCommand.ts +66 -0
- package/server/src/BackupManager/utils.ts +124 -0
- package/server/src/ConnectionManager/ConnectionManager.ts +613 -0
- package/server/src/ConnectionManager/applyStartupSchemaConfig.ts +95 -0
- package/server/src/ConnectionManager/connectionManagerUtils.ts +164 -0
- package/server/src/ConnectionManager/connectionOnReady.ts +76 -0
- package/server/src/ConnectionManager/dbsConnectionOptions.ts +109 -0
- package/server/src/ConnectionManager/getConnectionAuth.ts +37 -0
- package/server/src/ConnectionManager/getConnectionHttpServer.ts +112 -0
- package/server/src/ConnectionManager/getConnectionPublish.ts +119 -0
- package/server/src/ConnectionManager/getConnectionServerFunctions.ts +108 -0
- package/server/src/ConnectionManager/getConnectionSocketPath.ts +12 -0
- package/server/src/ConnectionManager/getHotReloadConfigs.ts +161 -0
- package/server/src/ConnectionManager/getInitiatedPostgresqlPIDs.ts +84 -0
- package/server/src/ConnectionManager/getSchemaConfig.ts +84 -0
- package/server/src/ConnectionManager/initConnectionManager.ts +147 -0
- package/server/src/ConnectionManager/modifyClientSchema.ts +146 -0
- package/server/src/ConnectionManager/parseTableConfig.ts +231 -0
- package/server/src/ConnectionManager/saveCertificates.ts +68 -0
- package/server/src/ConnectionManager/startConnection.ts +353 -0
- package/server/src/ConnectionManager/startConnectionOnRequestHandler.ts +63 -0
- package/server/src/ConnectionManager/syncSchemaConfig.ts +98 -0
- package/server/src/Logger.ts +150 -0
- package/server/src/McpHub/AnthropicMcpHub/McpHub.ts +144 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/authenticateMcpServer.ts +98 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/connectToRemoteMCPServer.ts +176 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/createMcpOAuthProvider.ts +257 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/getMcpOAuthMetadata.ts +112 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/getRemoteMcpServerParameters.ts +82 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/saveServerInfo.ts +76 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/updateRemoteMcpAuthorizationCode.ts +100 -0
- package/server/src/McpHub/AnthropicMcpHub/McpTypes.ts +189 -0
- package/server/src/McpHub/AnthropicMcpHub/connectToMCPServer.ts +132 -0
- package/server/src/McpHub/AnthropicMcpHub/createMcpServerHandlers.ts +116 -0
- package/server/src/McpHub/AnthropicMcpHub/installMCPServer.ts +195 -0
- package/server/src/McpHub/AnthropicMcpHub/runShellCommand.ts +53 -0
- package/server/src/McpHub/AnthropicMcpHub/startMcpHub.ts +111 -0
- package/server/src/McpHub/DefaultMCPServers/DefaultMCPServers.ts +153 -0
- package/server/src/McpHub/DefaultMCPServers/mcpGithub.ts +968 -0
- package/server/src/McpHub/DockerSandbox/createBridgeInternalDockerNetwork.ts +35 -0
- package/server/src/McpHub/DockerSandbox/createContainer.spec.ts +195 -0
- package/server/src/McpHub/DockerSandbox/createContainer.ts +125 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/dockerContainerAuthRegistry.ts +150 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/dockerMCPServerProxy.ts +395 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/getDockerGatewayIP.ts +27 -0
- package/server/src/McpHub/DockerSandbox/executeDockerCommand.ts +152 -0
- package/server/src/McpHub/DockerSandbox/getContainerLogs.ts +17 -0
- package/server/src/McpHub/DockerSandbox/getDockerRunArgs.ts +114 -0
- package/server/src/McpHub/DockerSandbox/runContainerWithProxyAccess.ts +99 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServerTypes.ts +143 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Db.mcp.ts +281 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Documents.mcp.ts +89 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/createAgenticWorkflow.ts +247 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/assertTablesExistInFutureSchema.ts +14 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/getValidatedMcpServerToolsAllowed.ts +155 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/parseDDLStatements.ts +84 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/quoteIdent.ts +139 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.ts +102 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateDatabaseAccessDefinitions.ts +212 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateUserInput.ts +159 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateUserInputDefinitions.ts +36 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/execution/getVolumesFromUserInput.ts +134 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/execution/startAgenticWorkflowContainer.ts +341 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.ts +155 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/getAgentConfigWithDefaults.ts +96 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.ts +64 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/addInstrumentationToTsLogic.ts +350 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/callWorkflowProxy.ts +99 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflow.spec.ts +110 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflow.ts +576 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflowHandlers.ts +127 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflowHandlers.types.ts +72 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/definitionHandler.ts +104 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/ensureWorkflowIsExecuted.ts +53 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/getTsLogicSummary.ts +639 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/orchestrationToolHandlers.ts +55 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/tableHandlers.ts +108 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getAgenticWorkflowDockerCoreFiles.spec.ts +26 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getAgenticWorkflowDockerCoreFiles.ts +225 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getDefineAgenticWorkflowTsWithDbAndMcpTypes.ts +187 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getOrchestrationContainerFiles.ts +31 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getToolTypescriptSchemas.ts +84 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/startAgenticWorkflow.ts +181 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/fetchTools.ts +48 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/runCodeInSandboxContainer.ts +133 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getAgenticToolSchemas.ts +55 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getContainerToolProxyAccessInstructions.ts +22 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getContainerToolSchemas.ts +46 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/prostglesUiToolSchemas.ts +23 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/suggestDashboardsToolSchema.ts +26 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.ts +166 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/validateCreateDashboards.ts +249 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Ui.mcp.ts +343 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/Web.mcp.ts +265 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/checkConfigAccess.spec.ts +112 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/checkConfigAccess.ts +263 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/getDocumentText.ts +34 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/WebDev.mcp.ts +114 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/createComponent.ts +94 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/createComponentQuickFeedbackPreview.ts +53 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.ts +12 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/searchWebDevFiles.spec.ts +82 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/searchWebDevFiles.ts +118 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/utils.ts +30 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/getClientDBHandlersForChat.ts +46 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/getExistingTablesSchema.ts +230 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.ts +30 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.ts +244 -0
- package/server/src/McpHub/callMCPServerTool.ts +148 -0
- package/server/src/McpHub/getMcpServerParameters.ts +204 -0
- package/server/src/McpHub/insertMcpServerList.ts +49 -0
- package/server/src/McpHub/reloadMcpServerTools.ts +123 -0
- package/server/src/McpHub/testMCPServerConfig.ts +29 -0
- package/server/src/McpHub/utils.ts +1 -0
- package/server/src/ServiceManager/ServiceManager.spec.ts +27 -0
- package/server/src/ServiceManager/ServiceManager.ts +162 -0
- package/server/src/ServiceManager/ServiceManagerTypes.ts +136 -0
- package/server/src/ServiceManager/buildService.ts +138 -0
- package/server/src/ServiceManager/dockerInspect.ts +33 -0
- package/server/src/ServiceManager/enableService.ts +41 -0
- package/server/src/ServiceManager/getDockerBuildHash.ts +57 -0
- package/server/src/ServiceManager/getSelectedConfigEnvs.ts +47 -0
- package/server/src/ServiceManager/getServiceEndpoints.ts +122 -0
- package/server/src/ServiceManager/initialiseServices.ts +56 -0
- package/server/src/ServiceManager/resolveBinary.ts +41 -0
- package/server/src/ServiceManager/services/documents/documents.service.ts +178 -0
- package/server/src/ServiceManager/services/documents/documents.service.types.ts +43 -0
- package/server/src/ServiceManager/services/documents/src/Dockerfile +29 -0
- package/server/src/ServiceManager/services/documents/src/layout_postprocessor.py +707 -0
- package/server/src/ServiceManager/services/documents/src/requirements.txt +3 -0
- package/server/src/ServiceManager/services/frontendDev/frontendDev.service.ts +19 -0
- package/server/src/ServiceManager/services/frontendDev/src/.prettierrc +3 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/.env.development +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/Dockerfile +5 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/README.md +6 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/eslint.config.js +27 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/index.html +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/package.json +32 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/public/vite.svg +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/App.css +42 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/App.tsx +19 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/api/DBGeneratedSchema.d.ts +33 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/api/ProstglesProvider.tsx +61 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/assets/react.svg +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/components/SampleComponent/SampleComponent.tsx +11 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/index.css +68 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/main.tsx +23 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/pages/ComponentPreview.tsx +31 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/pages/Home.tsx +36 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.app.json +28 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.json +7 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.node.json +26 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/vite.config.ts +17 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/package.json +24 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/playwright.config.ts +36 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/coverage.ts +67 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/main.spec.ts +21 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/tsconfig.json +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tsconfig.json +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/package.json +15 -0
- package/server/src/ServiceManager/services/frontendDev/src/tsconfig.base.json +32 -0
- package/server/src/ServiceManager/services/speechToText/TRANSCRIBE_OUTPUT_SCHEMA.ts +53 -0
- package/server/src/ServiceManager/services/speechToText/speechToText.service.ts +125 -0
- package/server/src/ServiceManager/services/speechToText/src/Dockerfile +31 -0
- package/server/src/ServiceManager/services/speechToText/src/app.py +115 -0
- package/server/src/ServiceManager/services/speechToText/src/requirements.txt +3 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/Dockerfile +12 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/limiter.toml +0 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/settings.yml +11 -0
- package/server/src/ServiceManager/services/webSearchSearxng/webSearchSearxng.service.ts +36 -0
- package/server/src/ServiceManager/startService.ts +196 -0
- package/server/src/ServiceManager/stopService.ts +23 -0
- package/server/src/ServiceManager/withRetries.ts +19 -0
- package/server/src/authConfig/OAuthProviders/getOAuthLoginProviders.ts +67 -0
- package/server/src/authConfig/OAuthProviders/loginWithProvider.ts +94 -0
- package/server/src/authConfig/authUtils.ts +19 -0
- package/server/src/authConfig/createPasswordlessAdminSessionIfNeeded.ts +86 -0
- package/server/src/authConfig/createPublicUserSessionIfAllowed.ts +48 -0
- package/server/src/authConfig/emailProvider/getEmailAuthProvider.ts +44 -0
- package/server/src/authConfig/emailProvider/getEmailSenderWithMockTest.ts +96 -0
- package/server/src/authConfig/emailProvider/onEmailRegistration.ts +116 -0
- package/server/src/authConfig/getActiveSession.ts +76 -0
- package/server/src/authConfig/getAuth.ts +171 -0
- package/server/src/authConfig/getLogin.ts +206 -0
- package/server/src/authConfig/getUser.ts +108 -0
- package/server/src/authConfig/onMagicLinkOrOTP.ts +171 -0
- package/server/src/authConfig/onUseOrSocketConnected.ts +43 -0
- package/server/src/authConfig/sessionUtils.ts +120 -0
- package/server/src/authConfig/startRateLimitedLoginAttempt.ts +201 -0
- package/server/src/authConfig/subscribeToAuthSetupChanges.ts +144 -0
- package/server/src/authConfig/upsertSession.ts +48 -0
- package/server/src/cli/cli.ts +217 -0
- package/server/src/cli/cliUtils.ts +50 -0
- package/server/src/cloudClients/cloudClients.ts +116 -0
- package/server/src/connectionUtils/getConnectionDetails.ts +76 -0
- package/server/src/connectionUtils/testDBConnection.ts +167 -0
- package/server/src/connectionUtils/validateConnection.ts +114 -0
- package/server/src/createHttpAndIOServers/createHttpServer.ts +147 -0
- package/server/src/createHttpAndIOServers/createIOWebsocketServer.ts +31 -0
- package/server/src/createHttpAndIOServers/getCorsOptions.ts +58 -0
- package/server/src/createHttpAndIOServers/setHttpAppSecurity.ts +124 -0
- package/server/src/electronConfig.ts +223 -0
- package/server/src/envVars.ts +45 -0
- package/server/src/getPSQLQueries.ts +123 -0
- package/server/src/index.ts +273 -0
- package/server/src/init/CSP_DEFAULTS.ts +41 -0
- package/server/src/init/addDevImageProxyRoute.ts +74 -0
- package/server/src/init/cleanupTestDatabases.ts +51 -0
- package/server/src/init/initExpressAndIOServers.ts +127 -0
- package/server/src/init/initUsers.ts +113 -0
- package/server/src/init/insertStateDatabase.ts +72 -0
- package/server/src/init/isRetryableError.ts +50 -0
- package/server/src/init/logOutgoingHttpRequests.ts +15 -0
- package/server/src/init/prostglesOnReady.ts +147 -0
- package/server/src/init/saveTypescriptFilesForProduction.ts +113 -0
- package/server/src/init/setDBSRoutesForElectron.ts +206 -0
- package/server/src/init/startDevHotReloadNotifier.ts +39 -0
- package/server/src/init/startProstgles.ts +220 -0
- package/server/src/init/tryStartProstgles.ts +177 -0
- package/server/src/init/utils.ts +44 -0
- package/server/src/init.sql +1 -0
- package/server/src/methods/getPidStats.ts +336 -0
- package/server/src/methods/getPidStatsFromProc.ts +125 -0
- package/server/src/methods/statusMonitorUtils.ts +148 -0
- package/server/src/publish/getPublishLLM.ts +246 -0
- package/server/src/publish/getPublishLlmChats.ts +73 -0
- package/server/src/publish/publish.ts +398 -0
- package/server/src/schemaConfig.ts +97 -0
- package/server/src/serverFunctions/adminServerFunctions/getAdminServerFunctions.ts +477 -0
- package/server/src/serverFunctions/adminServerFunctions/getAgenticWorkflowFunctions.ts +186 -0
- package/server/src/serverFunctions/adminServerFunctions/getBackupServerFunctions.ts +178 -0
- package/server/src/serverFunctions/adminServerFunctions/getDefineAdminFunction.ts +11 -0
- package/server/src/serverFunctions/adminServerFunctions/getMcpServerFunctions.ts +283 -0
- package/server/src/serverFunctions/adminServerFunctions/getWebAppServerFunctions.ts +228 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/buildWebApp.ts +38 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactComponents copy.ts +188 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactComponents.ts +287 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactRenderTree.ts +180 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.ts +23 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getValidatedWebAppPath.spec.ts +77 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getValidatedWebAppPath.ts +22 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/readWebAppFiles.ts +45 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/runDockerForWebApp.ts +56 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/testWebApp.ts +30 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/writeWebAppFiles.ts +91 -0
- package/server/src/serverFunctions/applySampleSchema.ts +96 -0
- package/server/src/serverFunctions/askLLM/LLMResponseTypes.ts +315 -0
- package/server/src/serverFunctions/askLLM/agentConstants.ts +42 -0
- package/server/src/serverFunctions/askLLM/askLLM.ts +540 -0
- package/server/src/serverFunctions/askLLM/checkLLMLimit.ts +59 -0
- package/server/src/serverFunctions/askLLM/checkMaxCostLimitForChat.ts +51 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/base.prompt.ts +26 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/createAgenticWorkflow.prompt.ts +53 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/createDashboards.prompt.ts +15 -0
- package/server/src/serverFunctions/askLLM/fetchLLMResponse.ts +105 -0
- package/server/src/serverFunctions/askLLM/getCompactedMessages.ts +101 -0
- package/server/src/serverFunctions/askLLM/getFullPrompt.ts +86 -0
- package/server/src/serverFunctions/askLLM/getLLMRequestBody.ts +368 -0
- package/server/src/serverFunctions/askLLM/getLLMToolsAllowedInThisChat.ts +179 -0
- package/server/src/serverFunctions/askLLM/getLLMUsageCost.ts +91 -0
- package/server/src/serverFunctions/askLLM/getPastMessages.ts +9 -0
- package/server/src/serverFunctions/askLLM/getUserMessageCost.ts +21 -0
- package/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.ts +59 -0
- package/server/src/serverFunctions/askLLM/handleToolUseResultConfirmation.ts +87 -0
- package/server/src/serverFunctions/askLLM/parseLLMResponseObject.ts +206 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getDbConnectionWithPermissions.ts +94 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getMCPServerTools.ts +28 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getMcpToolsWithDynamicDescription.ts +77 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getTemplateUserConnection.ts +182 -0
- package/server/src/serverFunctions/askLLM/readFetchStream.ts +69 -0
- package/server/src/serverFunctions/askLLM/refreshModels.ts +223 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/getMostSimilar.ts +55 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/runAgentGoalTool.ts +116 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/runApprovedTools.ts +348 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/validateLastMessageToolUseRequests.ts +33 -0
- package/server/src/serverFunctions/askLLM/setupLLM.ts +176 -0
- package/server/src/serverFunctions/askLLM/setupLLMProviders.ts +186 -0
- package/server/src/serverFunctions/deleteConnection.ts +111 -0
- package/server/src/serverFunctions/getConnectionAndDatabaseConfig.ts +27 -0
- package/server/src/serverFunctions/getNodeTypes.spec.ts +80 -0
- package/server/src/serverFunctions/getNodeTypes.ts +306 -0
- package/server/src/serverFunctions/getServerFunctions.ts +163 -0
- package/server/src/serverFunctions/getServerFunctionsContext.ts +29 -0
- package/server/src/serverFunctions/prostglesSignup.ts +28 -0
- package/server/src/serverFunctions/setFileStorage.ts +107 -0
- package/server/src/serverFunctions/userServerFunctions/approveToolUse.ts +146 -0
- package/server/src/serverFunctions/userServerFunctions/getLLMAccessParams.ts +21 -0
- package/server/src/serverFunctions/userServerFunctions/getUserServerFunctions.ts +260 -0
- package/server/src/tableConfig/tableConfig.ts +374 -0
- package/server/src/tableConfig/tableConfigAccessControl.ts +212 -0
- package/server/src/tableConfig/tableConfigAgenticWorkflow.ts +174 -0
- package/server/src/tableConfig/tableConfigBackups.ts +160 -0
- package/server/src/tableConfig/tableConfigConnections.ts +182 -0
- package/server/src/tableConfig/tableConfigDatabaseConfig.ts +714 -0
- package/server/src/tableConfig/tableConfigGlobalSettings.ts +40 -0
- package/server/src/tableConfig/tableConfigLinks.ts +273 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlm.ts +347 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.ts +361 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlmExtraRequestData.ts +50 -0
- package/server/src/tableConfig/tableConfigMCPServers.ts +676 -0
- package/server/src/tableConfig/tableConfigMigrations.ts +26 -0
- package/server/src/tableConfig/tableConfigPublishedMethods.ts +120 -0
- package/server/src/tableConfig/tableConfigServices.ts +61 -0
- package/server/src/tableConfig/tableConfigUsers.ts +227 -0
- package/server/src/tableConfig/tableConfigWebApp.ts +17 -0
- package/server/src/tableConfig/tableConfigWindows.ts +164 -0
- package/server/src/tableConfig/tableConfigWorkspaces.ts +100 -0
- package/server/src/tableConfig/tablePermissionsSchema.ts +66 -0
- package/server/src/testElectron.ts +33 -0
- package/server/src/upsertConnection.ts +73 -0
- package/server/src/utils/assertIconExists.ts +24 -0
- package/server/src/utils/isPortFree.ts +40 -0
- package/server/src/utils/tout.ts +7 -0
- package/server/test-runner.mjs +28 -0
- package/server/tsconfig.json +45 -0
- package/server/tslint.json +8 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<h1 id="navigation_bar"> Navigation bar </h1>
|
|
2
|
+
|
|
3
|
+
The top navigation bar provides quick access to all major sections of Prostgles UI.
|
|
4
|
+
Located at the top of the interface, it allows you to switch between database connections, manage users and server settings, and access your account preferences.
|
|
5
|
+
The navigation adapts to your user role, showing admin-only sections like Users and Server Settings only to authorized users.
|
|
6
|
+
|
|
7
|
+
## Key sections of the app
|
|
8
|
+
|
|
9
|
+
### Connections
|
|
10
|
+
|
|
11
|
+
A connection represents a unique postgres database instance (unique host, port, user and database name).
|
|
12
|
+
The connection list page shows all available connections you can access based on your user permissions.
|
|
13
|
+
|
|
14
|
+
### Connection dashboard
|
|
15
|
+
|
|
16
|
+
Clicking a connection from the connection list will take you to the dashboard page where you can explore and interact with the database.
|
|
17
|
+
Available views and tools include SQL Editor, Table, Map, Schema Diagram, AI Assistant, and more.
|
|
18
|
+
|
|
19
|
+
### Dashboard workspaces
|
|
20
|
+
|
|
21
|
+
The views you open in the dashboard are saved automatically to the current workspace.
|
|
22
|
+
This allows you to return to the same views later, even after closing the application.
|
|
23
|
+
You can create multiple workspaces to organize your views by project, team, task, or any other criteria.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<img src="./screenshots/navbar.svgif.svg" alt="Navigation" style="border: 1px solid; margin: 1em 0;" />
|
|
27
|
+
|
|
28
|
+
### Navbar items
|
|
29
|
+
- **Connections**: Manage database connections
|
|
30
|
+
- **Users**: Manage user accounts (admin only)
|
|
31
|
+
- **Server Settings**: Configure server settings (admin only)
|
|
32
|
+
- **Account**: Manage your account
|
|
33
|
+
- **Logout**: Logout of your account
|
|
34
|
+
- **Theme Selector**: Switch between light and dark themes
|
|
35
|
+
- **Language Selector**: Change the interface language
|
|
36
|
+
- **Toggle Menu (visible on small screens)**: Toggle the mobile navigation menu on smaller screens
|
|
37
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<h1 id="connections"> Connections </h1>
|
|
2
|
+
|
|
3
|
+
The Connections page serves as the central hub within Prostgles UI for managing all your PostgreSQL database connections.
|
|
4
|
+
From here, you can add and open connections, modify existing ones, and gain an immediate overview of their status and associated workspaces.
|
|
5
|
+
|
|
6
|
+
<img src="./screenshots/connections.svg" alt="Connections page screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
7
|
+
|
|
8
|
+
### Connection controls
|
|
9
|
+
- <a href="#new_connection">New connection</a>: Opens the form to add a new database connection.
|
|
10
|
+
- **Display options**: Customize how the list of connections is displayed (e.g., show/hide state database, show database names).
|
|
11
|
+
- <a href="#connection_list">Connection list</a>: Controls to open and manage your database connections.
|
|
12
|
+
|
|
13
|
+
<h1 id="new_connection"> Adding a connection </h1>
|
|
14
|
+
|
|
15
|
+
Use the **New Connection** button to add a new database connection.
|
|
16
|
+
|
|
17
|
+
This will open a form where you can enter the connection details such as host, port, database name, user, and password.
|
|
18
|
+
|
|
19
|
+
<img src="./screenshots/new_connection.svgif.svg" alt="New connection form screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
20
|
+
|
|
21
|
+
### New connection form fields
|
|
22
|
+
- **PostgreSQL Installation Instructions**: Instructions for installing PostgreSQL on your system.
|
|
23
|
+
- **Connection Name**: The name of the connection.
|
|
24
|
+
- **Connection Type**: Allows you change the connection details format: standard or connection string.
|
|
25
|
+
- **Connection String**: The connection string for the database.
|
|
26
|
+
- **Database Host**: The hostname or IP address of the database server.
|
|
27
|
+
- **Database Port**: The port number on which the database server is listening.
|
|
28
|
+
- **Database User**: The username used to connect to the database.
|
|
29
|
+
- **Database Password**: The password for the database user.
|
|
30
|
+
- **Database Name**: The name of the database to connect to.
|
|
31
|
+
- **More Options**: Additional connection options.
|
|
32
|
+
- **Schema Filter**: Controls which schemas are visible in the dashboard (public by default).
|
|
33
|
+
- **Connection Timeout**: The maximum time to wait for a connection to the database before timing out.
|
|
34
|
+
- **SSL Mode**: Configure SSL settings for the connection.
|
|
35
|
+
- **Watch Schema**: Enabled by default. Enables schema change tracking. Any changes made to the database schema are reflected in the API and UI.
|
|
36
|
+
- **Enable Realtime**: Enabled by default. Enables realtime data change tracking for tables and views. Requires trigger permissions to the underlying tables.
|
|
37
|
+
- **Update Connection**: Save the changes made to the connection.
|
|
38
|
+
|
|
39
|
+
<h2 id="connection_list"> Connection list </h2>
|
|
40
|
+
|
|
41
|
+
The connection list displays all your database connections grouped by database host, port and user.
|
|
42
|
+
|
|
43
|
+
<img src="./screenshots/connections.svg" alt="Connections list screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
44
|
+
|
|
45
|
+
### Connection actions
|
|
46
|
+
- **Open connection**: Opens the selected connection dashboard on the default workspace.
|
|
47
|
+
- **Add new database**: Adds a new connection to the selected server.
|
|
48
|
+
- <a href="#create_new_database">Create new database</a>: Create a new database within the server.
|
|
49
|
+
- <a href="#connect_to_an_existing_database">Connect to an existing database</a>: Selects a database from the server to connect to.
|
|
50
|
+
- **Debug: Close All Windows**: Force-closes all windows/tabs for this connection. Use if the workspace becomes unresponsive or encounters a bug.
|
|
51
|
+
- **Status monitor**: View real-time statistics, running queries, and system resource usage (CPU, RAM, Disk) for this connection.
|
|
52
|
+
- **Connection configuration**: Access and modify settings for this connection, such as access control, file storage, backup/restore options, and server-side functions.
|
|
53
|
+
- <a href="#edit_connection_details">Edit connection details</a>: Modify the connection parameters (e.g., display name, database details like host and port). Also allows deleting or cloning the connection.
|
|
54
|
+
- **Status indicator/Disconnect**: Shows the current connection status (green indicates connected). Click to disconnect from the database.
|
|
55
|
+
- **Workspaces**: List of workspaces associated with this connection. Click to switch to a specific workspace.
|
|
56
|
+
|
|
57
|
+
<h4 id="create_new_database"> Create new database </h4>
|
|
58
|
+
|
|
59
|
+
Allows you to create a new database in the selected server.
|
|
60
|
+
It will use the first connection details from the group connection.
|
|
61
|
+
If no adequate account is found (no superuser or rolcreatedb), it will be greyed out with with an appropriate explanation tooltip text.
|
|
62
|
+
|
|
63
|
+
### New database options
|
|
64
|
+
- **Database Name**: The name of the new database.
|
|
65
|
+
- **Sample Schemas**: Select a sample schema to create the database with.
|
|
66
|
+
- **Create database owner**: If checked, a new owner will be created for the database. Useful for ensuring the database is owned by a non-superuser account.
|
|
67
|
+
- **New Owner Name**: The name of the new owner.
|
|
68
|
+
- **New Owner Password**: The password of the new owner.
|
|
69
|
+
- **New Owner Permission Type**: Apart from Owner it is possible to create a user with reduced permission types (SELECT/UPDATE/DELETE/INSERT).
|
|
70
|
+
- **Create and connect**: Creates and connects to the new database.
|
|
71
|
+
|
|
72
|
+
<h4 id="connect_to_an_existing_database"> Connect to an existing database </h4>
|
|
73
|
+
|
|
74
|
+
Allows you to connect to an existing database in the selected server.
|
|
75
|
+
It will use the first connection details from the group connection.
|
|
76
|
+
|
|
77
|
+
<img src="./screenshots/connect_existing_database.svg" alt="Connect existing database popup screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
78
|
+
|
|
79
|
+
After selecting the database, you can choose to create a new owner or user for the connection should you need to.
|
|
80
|
+
|
|
81
|
+
- **Select Database**: Choose a database from the server.
|
|
82
|
+
- **Create database owner**: If checked, a new owner will be created for the database. Useful for ensuring the database is owned by a non-superuser account.
|
|
83
|
+
- **New Owner Name**: The name of the new owner.
|
|
84
|
+
- **New Owner Password**: The password of the new owner.
|
|
85
|
+
- **New Owner Permission Type**: Apart from Owner it is possible to create a user with reduced permission types (SELECT/UPDATE/DELETE/INSERT).
|
|
86
|
+
- **Save and connect**: Connects to the selected database with the new owner.
|
|
87
|
+
|
|
88
|
+
<h3 id="edit_connection_details"> Edit connection details </h3>
|
|
89
|
+
|
|
90
|
+
Connection settings, credentials, and other parameters to ensure your connection is configured correctly.
|
|
91
|
+
|
|
92
|
+
- **PostgreSQL Installation Instructions**: Instructions for installing PostgreSQL on your system.
|
|
93
|
+
- **Connection Name**: The name of the connection.
|
|
94
|
+
- **Connection Type**: Allows you change the connection details format: standard or connection string.
|
|
95
|
+
- **Connection String**: The connection string for the database.
|
|
96
|
+
- **Database Host**: The hostname or IP address of the database server.
|
|
97
|
+
- **Database Port**: The port number on which the database server is listening.
|
|
98
|
+
- **Database User**: The username used to connect to the database.
|
|
99
|
+
- **Database Password**: The password for the database user.
|
|
100
|
+
- **Database Name**: The name of the database to connect to.
|
|
101
|
+
- **More Options**: Additional connection options.
|
|
102
|
+
- **Schema Filter**: Controls which schemas are visible in the dashboard (public by default).
|
|
103
|
+
- **Connection Timeout**: The maximum time to wait for a connection to the database before timing out.
|
|
104
|
+
- **SSL Mode**: Configure SSL settings for the connection.
|
|
105
|
+
- **Watch Schema**: Enabled by default. Enables schema change tracking. Any changes made to the database schema are reflected in the API and UI.
|
|
106
|
+
- **Enable Realtime**: Enabled by default. Enables realtime data change tracking for tables and views. Requires trigger permissions to the underlying tables.
|
|
107
|
+
- **Update Connection**: Save the changes made to the connection.
|
|
108
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<h1 id="connection_dashboard"> Connection dashboard </h1>
|
|
2
|
+
|
|
3
|
+
The connection dashboard is your command center for exploring and managing your Postgres database.
|
|
4
|
+
Open tables, run SQL, visualize schema relationships, switch workspaces, and launch tools—all in one flexible, customizable workspace.
|
|
5
|
+
With quick search, saved queries, AI-powered assistance, and instant access to every database object, the dashboard gives you a fast, intuitive way to navigate your data and build the tools you need.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Unified workspace**: View tables, SQL editors, charts, and tools together in a flexible layout. Save and switch between different layouts and sets of opened views for different tasks or projects.
|
|
10
|
+
- **AI Assistant**: Generate SQL, explore data, and get help directly within the dashboard.
|
|
11
|
+
- **Flexible layout**: Drag, resize, and arrange views in a tiled layout to create a workspace that fits your needs.
|
|
12
|
+
- **Global search**: Search across all tables, views, and functions in a single, fast search bar.
|
|
13
|
+
- **Schema diagram**: Visualize relationships between tables and schemas to better understand your database structure.
|
|
14
|
+
- **Import data**: Easily import data from CSV/JSON files into your database tables.
|
|
15
|
+
|
|
16
|
+
<img src="./screenshots/dashboard.svgif.svg" alt="Connection dashboard" style="border: 1px solid; margin: 1em 0;" />
|
|
17
|
+
|
|
18
|
+
## Components
|
|
19
|
+
|
|
20
|
+
### Dashboard elements
|
|
21
|
+
- <a href="#dashboard_menu">Dashboard menu</a>: Allows opening tables and views, schema diagram, importing files, managing saved queries, and accessing dashboard settings.
|
|
22
|
+
- **Dashboard menu toggle**: Opens or closes the dashboard menu unless the menu is pinned.
|
|
23
|
+
- **Go to configuration**: Opens the configuration page for the selected connection.
|
|
24
|
+
- **Change connection**: Switch to a different database connection.
|
|
25
|
+
- **Workspaces**: List of available workspaces for the selected connection. Each workspace stores opened views and their layout.
|
|
26
|
+
- <a href="#workspaces_menu">Workspaces menu</a>: Opens the workspaces menu, allowing you to create, manage, and switch between workspaces.
|
|
27
|
+
- <a href="#workspace_area">Workspace area</a>: Main content area of the dashboard, where the tables, views, SQL editors and other visualisations are displayed.
|
|
28
|
+
- <a href="#ai_assistant">AI Assistant</a>: Opens an AI assistant chat to help generate SQL queries, understand database schema, or perform other tasks.
|
|
29
|
+
- **Feedback**: Opens the feedback form, allowing you to provide feedback about the application.
|
|
30
|
+
- **Go to Connections**: Opens the connections list page.
|
|
31
|
+
|
|
32
|
+
<h2 id="dashboard_menu"> Dashboard menu </h2>
|
|
33
|
+
|
|
34
|
+
The dashboard menu is the entry point in exploring your database.
|
|
35
|
+
The layout adapts to the screen size by pinning the menu to keep it open when there is enough space.
|
|
36
|
+
For wider screens the centered layout mode can be enabled through the settings.
|
|
37
|
+
|
|
38
|
+
- **Open an SQL editor**: Opens an SQL editor view in the workspace area.
|
|
39
|
+
- **Quick search**: Opens the quick search menu for searching across all available tables and views from the current database.
|
|
40
|
+
- **Settings**: Opens the settings menu for configuring dashboard layout preferences.
|
|
41
|
+
- **Pin/Unpin menu**: Toggles the pinning of the dashboard menu. Pinned menus remain open until unpinned or accessing from a low width screen.
|
|
42
|
+
- **Resize menu**: Allows resizing the dashboard menu. Drag to adjust the width of the menu.
|
|
43
|
+
- **Resize centered layout**: Allows resizing the workspace area when centered layout is enabled. Drag to adjust the width of the centered layout.
|
|
44
|
+
- **Saved queries**: List of saved queries of the current user from the current workspace. Click to open a saved query.
|
|
45
|
+
- **Tables and views**: List of tables and views from the current database. Click to open a table or view. By default only the tables from the public schema are shown. Schema list from the connection settings controls which schemas are shown.
|
|
46
|
+
- **Server-side functions**: List of server-side functions for the current database. Click to open a function.
|
|
47
|
+
- <a href="#create/import">Create/Import</a>: Opens the menu for creating new tables, server-side functions or importing csv/json files.
|
|
48
|
+
- <a href="#agentic_workflows">Agentic workflows</a>: List of saved agentic workflows of the current user for the current connection.
|
|
49
|
+
- <a href="#schema_diagram">Schema diagram</a>: Opens the schema diagram for visualizing the relationships between tables in the current database.
|
|
50
|
+
|
|
51
|
+
<h3 id="create/import"> Create/Import </h3>
|
|
52
|
+
|
|
53
|
+
Create new tables, server-side functions or import files into the current database.
|
|
54
|
+
|
|
55
|
+
- **Create new table**: Opens the form to create a new table in the current database.
|
|
56
|
+
- <a href="#import_file">Import file</a>: Opens the form to import a file into the current database.
|
|
57
|
+
- **Create TS Function**: Opens the form to create a new server-side TypeScript function for the current database.
|
|
58
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<h1 id="import_file"> Import file </h1>
|
|
2
|
+
|
|
3
|
+
Import files into the current database. Supported file types include CSV, GeoJSON, and JSON.
|
|
4
|
+
The import process allows you to specify the table name, infer column data types, and choose how to insert JSON/GeoJSON data into the table.
|
|
5
|
+
|
|
6
|
+
<img src="./screenshots/file_importer.svgif.svg" alt="File Importer screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
7
|
+
|
|
8
|
+
### Import file options
|
|
9
|
+
- **Import file**: Input field for selecting a file to import. Supported types: csv/geojson/json.
|
|
10
|
+
- **Table name**: New/existing table name into which data is to be imported.
|
|
11
|
+
- **Try to infer and apply column data types**: Checkbox for inferring and applying column data types during import. If checked, the system will attempt to determine the appropriate data types for each column based on the imported file. If unchecked, TEXT data type will be used for all columns.
|
|
12
|
+
- **Drop table if exists**: Checkbox for dropping the table if it already exists in the database. If checked, the existing table will be deleted before importing the new file.
|
|
13
|
+
- **Insert as**: Select list for choosing the method of inserting JSON/GeoJSON data into the table. Options include: Single text value, JSONB rows, and Properties with geometry.
|
|
14
|
+
- **Import**: Button to initiate the import process. Click to start importing the selected file into the specified table.
|
|
15
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<h1 id="agentic_workflows"> Agentic workflows </h1>
|
|
2
|
+
|
|
3
|
+
Agentic workflows are reusable TypeScript automations generated from AI chat and executed in an isolated sandbox.
|
|
4
|
+
They allow granular access to data, tools and filesystem.
|
|
5
|
+
|
|
6
|
+
Each workflow combines database operations, MCP tools, and optional agent steps to complete multi-step tasks reliably.
|
|
7
|
+
They are ideal for automating tedious data intensive tasks that may involve using agentic chats.
|
|
8
|
+
Agentic workflows can be saved and reused, making it easier to manage and execute recurring tasks efficiently.
|
|
9
|
+
|
|
10
|
+
## Core capabilities
|
|
11
|
+
- Isolated execution environment with configurable timeout, CPU, memory, filesystem mode, and internet access.
|
|
12
|
+
- Granular database permissions with table-level rules and optional workflow DDL.
|
|
13
|
+
- Controlled MCP tool access for orchestration and agent-specific steps.
|
|
14
|
+
- Typed user input controls including enums, table-aware pickers, and file/folder path selectors.
|
|
15
|
+
- Built-in progress reporting, activity timeline, and run logs.
|
|
16
|
+
- Start, stop, and re-run support with schema drift detection and guided resolution.
|
|
17
|
+
|
|
18
|
+
## Typical workflow lifecycle
|
|
19
|
+
1. Describe your task in AI Assistant.
|
|
20
|
+
2. Review the generated workflow summary, definition, permissions, and inputs.
|
|
21
|
+
3. Provide required input values and start the run.
|
|
22
|
+
4. Monitor progress in Activity and Logs.
|
|
23
|
+
5. Save the workflow for repeated use in the connection dashboard.
|
|
24
|
+
|
|
25
|
+
<img src="./screenshots/ai_assistant_agentic_workflow.svgif.svg" alt="Agentic workflow example" style="border: 1px solid; margin: 1em 0;" />
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<h1 id="schema_diagram"> Schema diagram </h1>
|
|
2
|
+
|
|
3
|
+
Explore your database structure visually through the schema diagram. This tool lets you:
|
|
4
|
+
- **Select schemas** — Choose one or multiple schemas to display
|
|
5
|
+
- **Navigate freely** — Pan and zoom to focus on specific areas
|
|
6
|
+
- **View table relationships** — See how tables connect through foreign keys
|
|
7
|
+
- **Filter your view** — Show or hide tables and columns by relationship type
|
|
8
|
+
- **Color links by root table** — Trace relationships back to their source at a glance. Links inherit the color of the table that defines the relationship (e.g., all user_id foreign keys match the users table color)
|
|
9
|
+
- **Reset the layout** — Return to the default view which auto-arranges tables ensuring the most linked tables are central
|
|
10
|
+
|
|
11
|
+
It allows you to explore the schema structure, view table relationships, and manage the layout of the schema diagram.
|
|
12
|
+
You can pan and zoom the diagram, select schemas, filter tables and columns based on their relationship types, reset the layout.
|
|
13
|
+
Link color modes allow you to better understand related tables and foreign key properties.
|
|
14
|
+
|
|
15
|
+
<img src="./screenshots/schema_diagram.svgif.svg" alt="Schema diagram screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
16
|
+
|
|
17
|
+
## Controls
|
|
18
|
+
|
|
19
|
+
### Top controls
|
|
20
|
+
- **Table relationship filter**: Display tables based on their relationship type. Options include: all, linked (with relationships), orphaned (without relationships).
|
|
21
|
+
- **Column relationship filter**: Display columns based on their relationship type. Options include: all, references (with relationships), none (no columns/only table names will be shown).
|
|
22
|
+
- **Link colour mode**: Colour links by: default (fixed colour), root table (the colour of the table the relationship tree originates from), on-delete/on-update (colour based on constraint referential action).
|
|
23
|
+
- **Reset layout**: Moving tables is persisted the state database. Clicking this resets the schema diagram layout to its initial state.
|
|
24
|
+
- **Close schema diagram**: Closes the schema diagram and returns to the dashboard menu.
|
|
25
|
+
|
|
26
|
+
<h2 id="workspaces_menu"> Workspaces menu </h2>
|
|
27
|
+
|
|
28
|
+
Workspaces are a powerful feature that allows you to organize your work within a connection.
|
|
29
|
+
The opened views and their layout is saved to the workspace, so you can switch between different sets of data and configurations without losing your progress.
|
|
30
|
+
|
|
31
|
+
The workspaces menu provides access to all available workspaces for the selected connection. You can create new workspaces, switch between existing ones, and manage workspace settings.
|
|
32
|
+
Each workspace allows you to work with a separate set of data and configurations, making it easier to organize your work and collaborate with others.
|
|
33
|
+
The menu also includes options to clone existing workspaces and delete them if they are no longer needed.
|
|
34
|
+
|
|
35
|
+
- **Workspaces**: List of available workspaces. Click to switch to a different workspace.
|
|
36
|
+
- **Delete workspace**: Opens the delete workspace confirmation dialog
|
|
37
|
+
- **Delete workspace**: Confirms the deletion of the selected workspace.
|
|
38
|
+
- **Clone workspace**: Creates a copy of the selected workspace with a new name.
|
|
39
|
+
- **Workspace settings**: Opens the settings for the selected workspace, allowing you to manage its properties.
|
|
40
|
+
- **Create new workspace**: Opens the form to create a new workspace for the selected connection.
|
|
41
|
+
- **Workspace name**: Name of the new workspace.
|
|
42
|
+
- **Create workspace**: Create and switch to the new workspace with the specified name.
|
|
43
|
+
- **Toggle layout mode**: Switches between fixed and editable layout modes for the current workspace. Fixed mode locks the layout, preventing it from being changed by the user.
|
|
44
|
+
|
|
45
|
+
<h2 id="workspace_area"> Workspace area </h2>
|
|
46
|
+
|
|
47
|
+
The workspace area is the main place for interacting with your data.
|
|
48
|
+
It includes the SQL editor, data tables, maps, and timecharts, allowing you to execute queries, visualize data, and manage database objects.
|
|
49
|
+
|
|
50
|
+
## Features
|
|
51
|
+
|
|
52
|
+
- **Flexible layout**: Arrange your workspace with multiple tabs and split views to compare data, write queries, and visualize results side by side.
|
|
53
|
+
- **AI assistant**: Automate tasks, write queries, create visualizations, and explore your data with natural language commands.
|
|
54
|
+
- **Views and visualizations**: Create different views for your data, including tables, maps, and timecharts, to explore and analyze your data in various ways.
|
|
55
|
+
- **SQL editor**: Write and execute SQL queries directly in the dashboard, with features like syntax highlighting, autocomplete, and query history to enhance your productivity.
|
|
56
|
+
- **Real-time updates**: Each table/view shows real-time data by default
|
|
57
|
+
- **Cross-filtering**: Tables, maps, and timecharts stay cross-filtered when opened from the same source data, allowing you to explore your data from different angles while keeping the context.
|
|
58
|
+
|
|
59
|
+
- <a href="#sql_editor">SQL editor</a>: The SQL editor allows users to write and execute SQL queries against the selected database. It provides a user-friendly interface for interacting with the database.
|
|
60
|
+
- <a href="#table_view">Table view</a>: Allows interacting with a table/view from the database.
|
|
61
|
+
- <a href="#map_view">Map view</a>: Displays a map visualization based on the Table/SQL query results.
|
|
62
|
+
- <a href="#timechart_view">Timechart view</a>: Displays a timechart based on the Table/SQL query results.
|
|
63
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<h1 id="sql_editor"> SQL editor </h1>
|
|
2
|
+
|
|
3
|
+
The SQL editor is a powerful tool for executing SQL queries against your PostgreSQL database.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Intelligent auto-completion** with context-aware suggestions based on your schema and data with JSONB property access support
|
|
8
|
+
- **Rich suggestion details** with related objects, usage examples and documentation extracts, reducing the need to switch context
|
|
9
|
+
- **Execute current statement** functionality to run only the SQL statement where the cursor is located
|
|
10
|
+
- **Charting options** to visualize query results as timecharts or maps directly from the editor
|
|
11
|
+
- **Multiple result display modes** including table, map, timechart, JSON, and CSV formats
|
|
12
|
+
|
|
13
|
+
To make it easier working with multiple queries, the default query execution behaviour is to execute the current statement.
|
|
14
|
+
It is highlighted by the blue vertical line to the left of the code. Press <kbd>Alt+E</kbd> or <kbd>Ctrl+Enter</kbd> or <kbd>F5</kbd> to execute it.
|
|
15
|
+
|
|
16
|
+
The editor is based on [Monaco Editor](https://microsoft.github.io/monaco-editor/), which powers VS Code.
|
|
17
|
+
It supports multi-cursor editing, find and replace, and many other advanced editing features.
|
|
18
|
+
|
|
19
|
+
Realtime query resource usage can be enabled in the settings to monitor CPU and memory consumption.
|
|
20
|
+
|
|
21
|
+
<img src="./screenshots/sql_editor.svgif.svg" alt="SQL editor screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
22
|
+
|
|
23
|
+
## Components:
|
|
24
|
+
|
|
25
|
+
- **Header section**: Contains menu button, title and window minimise/fullscreen controls.
|
|
26
|
+
- **Quick actions**: Quick actions for the view, providing easy access to charting and joins.
|
|
27
|
+
- **Add timechart**: Adds a timechart visualization based on the current SQL statement. Visible only when the last executed statement returned at least one timestamp column.
|
|
28
|
+
- **Add map**: Adds a map visualization based on the current SQL statement. Visible only when the last executed statement returned at least one geometry/geography column (postgis extension must be enabled).
|
|
29
|
+
- **View title. Drag to re-arrange layout**: SQL editor query name, editable in the menu.
|
|
30
|
+
- **Collapse the view**: Collapses the view, minimizing it to temporarily save space on the dashboard.
|
|
31
|
+
- **Fullscreen**: Expands the view to fill the entire screen.
|
|
32
|
+
- **Remove view**: Removes the SQL editor from the dashboard. If there are unsaved changes, a confirmation dialog will appear.
|
|
33
|
+
- <a href="#sql_editor_menu">SQL editor menu</a>: The SQL editor menu provides access to various options and settings for the SQL editor.
|
|
34
|
+
- **SQL editor component**: The main component for the SQL editor. It contains the SQL editor and statement action buttons. Being bsed on Monaco editor, it supports syntax highlighting, auto-completion and other editing functionality like multi-cursor editing.
|
|
35
|
+
- **SQL editor input**: The input field for writing SQL queries. It supports syntax highlighting and auto-completion.
|
|
36
|
+
- **Execute current statement**: Executes the current SQL statement highlighted by the blue vertical line to the left of the code. This button is only visible when the cursor is within a statement.
|
|
37
|
+
- **Add timechart**: Adds a timechart visualization based on the current SQL statement. This button is only visible when the cursor is within a statement that returns at least one timestamp column.
|
|
38
|
+
- **Add map**: Adds a map visualization based on the current SQL statement. This button is only visible when the cursor is within a statement that returns at least one geometry/geography column (postgis extension must be enabled).
|
|
39
|
+
- **SQL editor toolbar**: The toolbar provides various options for executing and managing SQL queries.
|
|
40
|
+
- **Run query**: Executes the current SQL query. The result will be displayed in the query results section.
|
|
41
|
+
- **Limit**: Sets the maximum number of rows to return in the query results. This is useful for limiting the amount of data returned, especially for large datasets.
|
|
42
|
+
- **Cancel query**: Cancels the currently running query. This button is only visible when a query is running.
|
|
43
|
+
- **Terminate query**: Forcefully terminates the currently running query. This is more aggressive than cancel and is only visible when a query is running.
|
|
44
|
+
- **Stop LISTEN**: Stops the active LISTEN operation. This button is only visible when a LISTEN query is active.
|
|
45
|
+
- **Row count**: Displays the number of rows fetched by the query and the total number of rows if available.
|
|
46
|
+
- **Toggle table visibility**: Shows or hides the results table for the executed query.
|
|
47
|
+
- **Toggle code editor**: Shows or hides the SQL code editor, allowing users to focus on query results when needed.
|
|
48
|
+
- **Toggle notices**: Shows or hides database notices. When enabled, it displays notifications from the database system.
|
|
49
|
+
- **Query duration**: Displays the execution time of the last completed query or the current running time for an active query.
|
|
50
|
+
- **Copy results**: Copy/download query results as: CSV, TSV, JSON, Typescript definition, SQL SELECT INTO
|
|
51
|
+
- **SQL error**: Displays any errors that occurred during the execution of the SQL query. This is useful for debugging and correcting SQL syntax.
|
|
52
|
+
- **Query results**: Displays the results of the executed SQL query. Results can be displayed as a table (default), JSON or CSV. Users can interact with the results, such as sorting and filtering.
|
|
53
|
+
- **Results table**: The results table displays the data returned by the executed SQL query. It supports sorting, filtering, and pagination.
|
|
54
|
+
- **Chart**: Timechart/Map visualization of the SQL query results.
|
|
55
|
+
|
|
56
|
+
<h4 id="sql_editor_menu"> SQL editor menu </h4>
|
|
57
|
+
|
|
58
|
+
The SQL editor menu provides access to various options and settings for the SQL editor.
|
|
59
|
+
|
|
60
|
+
- **General**: General settings for the SQL editor.
|
|
61
|
+
- **Query name**: The name of the current SQL query. This is used for saving and managing queries.
|
|
62
|
+
- **Result display mode**: The mode in which the results of the SQL query will be displayed. Options include table, JSON, and CSV.
|
|
63
|
+
- **Save query as file**: Saves the current SQL query to a file. This can also be accomplished by pressing Ctrl+S.
|
|
64
|
+
- **Open SQL file**: This allows loading the contents of an SQL file into the current query.
|
|
65
|
+
- **Delete query**: Deletes the current SQL query. If it has contents a confirmation dialog will appear.
|
|
66
|
+
- **Editor options**: Settings for the SQL editor's appearance and behavior.
|
|
67
|
+
- **Editor settings**: Settings for the SQL editor's appearance and behavior. This includes font size, theme, and other preferences.
|
|
68
|
+
- **Hotkeys**: Keyboard shortcuts for common actions in the SQL editor. This includes executing queries, saving files, and more.
|
|
69
|
+
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<h1 id="table_view"> Table view </h1>
|
|
2
|
+
|
|
3
|
+
Table view is the main row-level interface for a Postgres table or view.
|
|
4
|
+
It supports filtering, sorting, editing, schema-aware row forms, linked data from foreign-key relationships, computed columns, realtime refresh, and related chart/map views.
|
|
5
|
+
|
|
6
|
+
## Features
|
|
7
|
+
|
|
8
|
+
- **Filtering and search**: Smart filter controls use column metadata and current values to build table filters.
|
|
9
|
+
- **Sorting and layout**: Sort by one or more columns, resize/reorder/hide columns, and switch between table, JSON, card, and grouped card (Kanban style) layouts where available.
|
|
10
|
+
- **Linked data columns**: Add columns from foreign-key relationships. Linked rows can be shown as header/value rows, columns, or compact values; they can be filtered, sorted, limited, joined with left/inner joins, or aggregated with functions such as count, sum, avg, min, and max.
|
|
11
|
+
- **Aggregated linked data**: Use linked or computed values as sortable table columns, including inline bar-style cells and nested timechart-style summaries where supported by the selected data type.
|
|
12
|
+
- **Column rendering**: Configure display format/render-as behavior for values such as URLs, images/media, email, phone, currency, HTML, QR codes, and other supported formats.
|
|
13
|
+
- **Conditional styling**: Apply value-based cell styles, including text/background colors, icons, scales, and bar-style numeric cells.
|
|
14
|
+
- **Smart forms**: Open a row card to view/edit the row using schema-aware inputs and JSONB support. Related records section to navigate the full relational context without leaving the record
|
|
15
|
+
- **Live data refresh**: Tables and views (and related tables) use realtime subscriptions to show latest data.
|
|
16
|
+
- **Charts, maps, and cross-filtering**: Add timecharts, maps, and cross-filtered table views from the current table. Interactions in linked views preserve the source context through dashboard filters.
|
|
17
|
+
- **Postgres management**: Inspect table/view details and manage columns, indexes, constraints, triggers, policies, access rules, refresh settings, and the current query from the table menu.
|
|
18
|
+
|
|
19
|
+
<img src="./screenshots/table.svgif.svg" alt="Table view screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
20
|
+
|
|
21
|
+
## Components
|
|
22
|
+
|
|
23
|
+
- **Header section**: Contains menu button, title and window minimise/fullscreen controls.
|
|
24
|
+
- **Quick actions**: Quick actions for the view, providing easy access to charting and joins.
|
|
25
|
+
- **Toggle filter bar**: Shows or hides the filter bar, allowing users to filter the data displayed in the table.
|
|
26
|
+
- **Add cross-filtered table**: Adds a new table view that is cross-filtered by the current table. This allows you to explore related data in a new table view.
|
|
27
|
+
- **Add timechart**: Adds a timechart visualization based on the current table. Visible only when the current table (or any linked table) has a timestamp/date column.
|
|
28
|
+
- **Add map**: Adds a map visualization based on the current data. Visible only when the current table (or any linked table) has a geometry/geography column (postgis extension must be enabled).
|
|
29
|
+
- **View title. Drag to re-arrange layout**: The name of the table/view together with the number of records matching the current filters.
|
|
30
|
+
- **Collapse the view**: Collapses the view, minimizing it to temporarily save space on the dashboard.
|
|
31
|
+
- **Fullscreen**: Expands the view to fill the entire screen.
|
|
32
|
+
- **Remove view**: Removes the view from the dashboard.
|
|
33
|
+
- <a href="#table_menu">Table menu</a>: Opens the table menu, allowing users to manage the table view.
|
|
34
|
+
- <a href="#table_toolbar">Table Toolbar</a>: Filtering and data add/edit interface for database tables and views.
|
|
35
|
+
- **Table**: The main table view displaying the data from the database. It allows users to interact with the data, including sorting, filtering, and editing.
|
|
36
|
+
- **Table header**: The header of the table, which contains the column names and allows users to sort the data by clicking on the column headers.
|
|
37
|
+
- **Add column menu**: Opens the add column menu, allowing users to add computed columns, create new columns, add linked fields.
|
|
38
|
+
- **Add Computed Field**: Opens a popup to create a computed column - calculations or transformations based on existing data using functions like aggregations, date formatting, string operations, etc.
|
|
39
|
+
- **Function selector**: Choose a function to apply to the selected column (e.g., aggregates (min/max/avg/count), date formatting, string operations).
|
|
40
|
+
- **Column selection**: List of applicable columns to apply functions to. Columns from foreign tables are also shown with the join path in the header.
|
|
41
|
+
- **Column name**: Name for the new computed column. Auto-generated based on the function and column.
|
|
42
|
+
- **Add to position**: Choose whether to add the computed column at the start or end of the column list.
|
|
43
|
+
- **Add computed column**: Confirms and adds the new computed column to the table based on the selected function and parameters.
|
|
44
|
+
- **Add Linked Data**: Opens a popup to display data from related tables via foreign key relationships. Disabled if no foreign keys exist or when using aggregates with nested columns.
|
|
45
|
+
- **Join path selector**: Select which related table to join to via foreign key relationships. Shows available join paths from the current table.
|
|
46
|
+
- **Column label**: Custom name/label for this linked column field in the table. Defaults to the related table name.
|
|
47
|
+
- **Linked column selection**: Choose which columns from the related table to display in this linked field.
|
|
48
|
+
- **Quick add computed column**: Add a single computed column from the linked table. E.g., count, sum, avg.
|
|
49
|
+
- **More options**: Additional configuration for linked columns including layout, join type, filters, and limits.
|
|
50
|
+
- **Layout mode**: Choose how to display the linked data: as rows, columns, or without headers.
|
|
51
|
+
- **Join type**: Select between inner join (discards parent rows without matches) or left join (keeps all parent rows).
|
|
52
|
+
- **Limit**: Maximum number of linked records to display (0-30). Optional.
|
|
53
|
+
- **Filters and sorting**: Apply filters and sorting to the linked table data.
|
|
54
|
+
- **Create New Column**: Opens a popup to create a new physical column in the database table. Disabled for views or users without SQL privileges.
|
|
55
|
+
- **Column editor**: Configure column properties including name, data type, constraints, default values, and foreign key references.
|
|
56
|
+
- **Foreign key reference**: Optionally set up a foreign key relationship to another table/column in the database.
|
|
57
|
+
- **Data type selection**: Appears after typing the column name. Choose the data type for the new column (e.g., integer, text, date, boolean, etc.).
|
|
58
|
+
- **Show create column SQL**: Generates and displays the SQL query that will be executed to create the new column in the database.
|
|
59
|
+
- **Generated SQL query**: The generated ALTER TABLE SQL query to create the new column based on the specified properties.
|
|
60
|
+
- **Execute create column**: Runs the generated ALTER TABLE query to create the new column in the database.
|
|
61
|
+
- **Create New File Column**: Opens a popup to create a new column for handling file uploads and attachments. Requires file storage to be enabled.
|
|
62
|
+
- **New column name**: Name for the new file column.
|
|
63
|
+
- **Optional**: Whether the file column should allow NULL values (optional) or require a file (NOT NULL).
|
|
64
|
+
- **File column configuration**: Configure accepted file types and other file handling options. Appears after entering the column name.
|
|
65
|
+
- **Maximum file size in megabytes**: Set the maximum allowed file size for uploads in megabytes. Default is 1 MB. 0 means no limit.
|
|
66
|
+
- **Content filter mode**: Choose how to filter accepted files: by file extension, basic content type (e.g., image, audio, vide), by specific content type (e.g., image/png), by specific extension (jpg, png, pdf).
|
|
67
|
+
- **Create file column**: Confirms and creates the new file column.
|
|
68
|
+
- **Column menu**: Opens the column menu, allowing users to change styling, render mode, view quick stats and other column related options.
|
|
69
|
+
- **Sort**: Sort the table data based on the values in this column, either in ascending or descending order. Table can also be sorted by multiple columns by holding shift while clicking column headers.
|
|
70
|
+
- **Style**: Customize the appearance of this column, including text color and cell background. You can also set conditional formatting rules to highlight specific data patterns.
|
|
71
|
+
- **Display format**: Choose how the data in this column is displayed, such as date formats, number formats, or custom render modes.
|
|
72
|
+
- **Filter**: Open the filter panel to set up filters based on this column's values, helping you to quickly narrow down the data displayed in the table.
|
|
73
|
+
- **Quick stats**: View quick statistics about the data in this column, such as count, unique values, and distribution.
|
|
74
|
+
- **Column Quick Stats**: The Column Quick Stats panel provides a summary of key statistics for the selected column, including distinct count, min/max values, and value distribution. You can also sort the distribution and add filters directly from this panel.
|
|
75
|
+
- **Add filter**: Add a filter based on the selected value from top values list.
|
|
76
|
+
- **Columns**: Shortcut to the column management panel to add, remove, or rearrange columns in the table.
|
|
77
|
+
- **Add Computed Column**: Add a computed field based on calculations or transformations of existing data in this column.
|
|
78
|
+
- **Apply function**: Apply a function to the data in this column, such as aggregations, string manipulations, or date transformations.
|
|
79
|
+
- **Add Linked Columns**: Add linked data from related tables based on foreign key relationships.
|
|
80
|
+
- **Alter**: Alter the column's properties, such as data type, default value, or constraints.
|
|
81
|
+
- **Hide**: Hide this column from the table view without deleting it, allowing you to focus on the most relevant data.
|
|
82
|
+
- **Hide Others**: Hide all other columns except this one, providing a focused view of the data in this column.
|
|
83
|
+
- **Column header**: Pressing the header will toggle sorting state (if the column is sortable). Right clicking (or long press on mobile) will open column menu. Dragging the header will allow reordering the columns.
|
|
84
|
+
- **Resize column**: Allows users to resize the column width by dragging the handle.
|
|
85
|
+
- <a href="#view/edit_data">View/edit data</a>: Opens the row card, allowing users to view/edit/delete the selected row.
|
|
86
|
+
- **Insert row**: Opens the row insert menu, allowing users to add new rows to the table.
|
|
87
|
+
- **Pagination Controls**: Navigation controls for paginated data.
|
|
88
|
+
- **First Page**: Navigate to the first page of results.
|
|
89
|
+
- **Previous Page**: Navigate to the previous page of results.
|
|
90
|
+
- **Page Number**: Current page number. You can type a specific page number to jump directly to that page.
|
|
91
|
+
- **Next Page**: Navigate to the next page of results.
|
|
92
|
+
- **Last Page**: Navigate to the last page of results.
|
|
93
|
+
- **Page Size**: Select how many rows to display per page. Changing this may adjust the current page if it would exceed the total number of pages.
|
|
94
|
+
- **Page Count Information**: Displays the total number of pages and rows in the current dataset.
|
|
95
|
+
|
|
96
|
+
<h4 id="table_menu"> Table menu </h4>
|
|
97
|
+
|
|
98
|
+
The table menu provides options for managing the table view, including viewing table info, editing columns, and managing data refresh rates.
|
|
99
|
+
|
|
100
|
+
- **Table info**: Postgres specific table/view details.
|
|
101
|
+
- **Table name**: Displays the name of the table with option to rename it.
|
|
102
|
+
- **Edit name**: Opens SQL editor to rename the table.
|
|
103
|
+
- **Comment**: Displays and allows editing of the table comment.
|
|
104
|
+
- **Edit comment**: Opens SQL editor to modify the table comment.
|
|
105
|
+
- **OID**: Displays the object identifier of the table in the database.
|
|
106
|
+
- **Type**: Shows whether this is a table or view.
|
|
107
|
+
- **Owner**: Displays the database user who owns this table/view.
|
|
108
|
+
- **Size information**: Provides details about the table's size and row count.
|
|
109
|
+
- **Actual Size**: The physical size of the table data on disk.
|
|
110
|
+
- **Index Size**: The size of all indexes associated with this table.
|
|
111
|
+
- **Total Size**: The combined size of table data and indexes.
|
|
112
|
+
- **Row count**: The total number of rows in the table.
|
|
113
|
+
- **View definition**: Shows the SQL definition for views. Only visible for views, not tables.
|
|
114
|
+
- **Vacuum**: Performs garbage collection and optionally analyzes the database. Only available for tables.
|
|
115
|
+
- **Vacuum Full**: Performs a more thorough vacuum that can reclaim more space but takes longer and locks the table. Only available for tables.
|
|
116
|
+
- **Drop**: Deletes the table or view from the database after confirmation.
|
|
117
|
+
- **Columns**: Allows editing, reordering and toggling table columns.
|
|
118
|
+
- **Columns list**: Allows editing, reordering and toggling table columns.
|
|
119
|
+
- **Alter column**: Opens a popup to edit the column properties.
|
|
120
|
+
- **Edit linked field**: Opens a popup to edit the linked field properties.
|
|
121
|
+
- **Remove computed column**: Removes a computed column from the table. Only visible for computed columns.
|
|
122
|
+
- **Data refresh**: Allows setting subscriptions or data refresh rates. By default every table subscribes to data changes.
|
|
123
|
+
- **Triggers**: Allows managing triggers.
|
|
124
|
+
- **Constraints**: Allows managing constraints.
|
|
125
|
+
- **Indexes**: Allows managing indexes.
|
|
126
|
+
- **Policies**: Allows managing policies.
|
|
127
|
+
- **Access rules**: Allows managing prostgles access rules.
|
|
128
|
+
- **Current query**: Allows viewing the SQL and data/layout info for the current table view.
|
|
129
|
+
- **Display options**: Layout preferences.
|
|
130
|
+
|
|
131
|
+
<h4 id="table_toolbar"> Table Toolbar </h4>
|
|
132
|
+
|
|
133
|
+
Table toolbar can be toggled through the show/hide filtering button (top left corner).
|
|
134
|
+
It provides a user-friendly interface to add filters, search for data, and perform various actions on the table data.
|
|
135
|
+
|
|
136
|
+
<img src="./screenshots/smart_filter_bar.svgif.svg" alt="Smart Filter Bar screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
137
|
+
|
|
138
|
+
- **Add Filter**: Allows adding a filter by chosing a column from the current table or from linked tables.
|
|
139
|
+
- **Include Linked Columns**: Toggle to include columns from linked tables in the column list.
|
|
140
|
+
- **Join To**: Toggles join view to specify which tables a join path to a specific table from which to select a column to filter by.
|
|
141
|
+
- **Filterable Columns**: List of columns available for filtering. Click to add a filter.
|
|
142
|
+
- **Search Bar**: Quick search functionality across the table data.
|
|
143
|
+
- **Search**: Type to search across all searchable fields in the table. The search is a simple contains search. Selecting a result will add a filter to the table.
|
|
144
|
+
- **Match Case**: Toggle to match the case of the search term with the data.
|
|
145
|
+
- **Table actions**: Additional table data actions.
|
|
146
|
+
- **Show additional actions**: Opens a menu with additional actions for the table data.
|
|
147
|
+
- **Delete action**: Opens a menu to delete the selected rows from the table.
|
|
148
|
+
- **Update action**: Opens a menu to update the selected rows in the table.
|
|
149
|
+
- **Insert row**: Opens the row insert menu, allowing users to add new rows to the table.
|
|
150
|
+
- **Filters**: Filters applied to the data
|
|
151
|
+
- **Having Filters**: Filters applied after aggregation (HAVING clause in SQL).
|
|
152
|
+
|
|
153
|
+
<h1 id="view/edit_data"> Row card </h1>
|
|
154
|
+
|
|
155
|
+
Smart form is an intelligent, auto-generated form system that adapts to your database schema.
|
|
156
|
+
It provides a user-friendly interface for inserting and updating data with automatic validation,
|
|
157
|
+
foreign key handling, and support for complex data types.
|
|
158
|
+
|
|
159
|
+
## Features
|
|
160
|
+
- **Auto-generated fields** based on table schema and configurable metadata
|
|
161
|
+
- **Foreign key support** with searchable dropdowns showing referenced data
|
|
162
|
+
- **Linked data management** - view, insert/update related records without leaving the form
|
|
163
|
+
- **File upload** for media and document columns
|
|
164
|
+
- **JSON/JSONB editor** with syntax highlighting
|
|
165
|
+
- **Array types** with dynamic add/remove
|
|
166
|
+
- **Default values** and constraints enforcement
|
|
167
|
+
|
|
168
|
+
<img src="./screenshots/smart_form.svgif.svg" alt="SmartForm screenshot" style="border: 1px solid; margin: 1em 0;" />
|
|
169
|
+
|
|
170
|
+
- **Smart Form**: The smart form displays the details of a single row from the table, allowing users to view and edit the data in a structured format.
|
|
171
|
+
- **Table icon in header**: Table icon and table name. Table icon is configurable through the table menu settings.
|
|
172
|
+
- **Previous row button**: Navigate to the previous row in the dataset. Only shown for tables with primary key. Disabled when there is no previous row available.
|
|
173
|
+
- **Next row button**: Navigate to the next row in the dataset. Only shown for tables with primary key. Disabled when there is no next row available.
|
|
174
|
+
- **Fullscreen toggle button**: Toggles the fullscreen mode of the SmartForm popup for an expanded view.
|
|
175
|
+
- **Close button**: Closes the SmartForm popup without saving any data.
|
|
176
|
+
- **Form field**: Each form field represents a column from the table, displaying the column name and the corresponding value for the selected row. Users can edit the value if the field is editable.
|
|
177
|
+
- **Field label**: Displays the name of the column.
|
|
178
|
+
- **Field input area**: The input area where users can view and edit the value of the column. The input type varies based on the column's data type.
|
|
179
|
+
- **Field hint**: Additional information or guidance about the field, displayed below the input area.
|
|
180
|
+
- **View more linked records**: For foreign key fields a 'View more' button appears to open a detailed list of all linked records in a separate popup. This is useful to browse and search all columns from the referenced table.
|
|
181
|
+
- **Insert linked record**: If the column is a foreign key a 'Insert new record' button will appear on hover which allows inserting data into the referenced table. Useful when the desired value does not exist yet (foreign key columns only show existing values).
|
|
182
|
+
- **Clear field value button**: Clear the current value of the field, resetting it to null. Only shown if the field is nullable and the user is allowed to update it.
|
|
183
|
+
- **Joined records section**: If the current table has other tables referencing it via foreign keys, a section will appear at the bottom of the form showing lists of those related records. This allows users to view and manage data that is linked to the current row.
|
|
184
|
+
- **Toggle joined records section**: Expand or collapse the joined records section to show or hide the list of related records.
|
|
185
|
+
- **View more joined records**: Open a detailed list of all joined records in a separate popup. Useful to browse and search all columns from the joined table.
|
|
186
|
+
- **Add joined record**: Open the SmartForm to insert a new joined record into the related table, automatically linking it to the current row.
|
|
187
|
+
- **Toggle fullscreen mode**: Expand the section to fullscreen for better visibility and interaction with the joined records.
|
|
188
|
+
|