Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { ErrorBoundary } from "@wso2/ui-toolkit";

import { TopNavigationBar } from "../../components/TopNavigationBar";
import { DataMapperView } from "./DataMapperView";
import { BALLERINA_INTEGRATOR_ISSUES_URL } from "../../utils/bi";

export interface DataMapperProps {
filePath: string;
Expand All @@ -38,7 +39,7 @@ export function DataMapper(props: DataMapperProps) {
return (
<>
<TopNavigationBar projectPath={props.projectPath}/>
<ErrorBoundary errorMsg="Error while loading the Data Mapper">
<ErrorBoundary errorMsg="Error while loading the Data Mapper" issueUrl={BALLERINA_INTEGRATOR_ISSUES_URL}>
<DataMapperView {...props} />
</ErrorBoundary>
</>
Expand Down
3 changes: 2 additions & 1 deletion workspaces/ballerina/data-mapper/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { CompletionItem, ErrorBoundary } from "@wso2/ui-toolkit";

import { DataMapperEditor } from "./components/DataMapper/DataMapperEditor";
import { ExpressionProvider } from "./context/ExpressionContext";
import { ISSUES_URL } from "./components/Diagram/utils/constants";

const queryClient = new QueryClient({
defaultOptions: {
Expand Down Expand Up @@ -92,7 +93,7 @@ export interface DataMapperProps extends DataMapperEditorProps {

export function DataMapper({ expressionBar, ...props }: DataMapperProps) {
return (
<ErrorBoundary errorMsg="An error occurred while rendering the Data Mapper">
<ErrorBoundary errorMsg="An error occurred while rendering the Data Mapper" issueUrl={ISSUES_URL}>
<QueryClientProvider client={queryClient}>
<Global styles={globalStyles} />
<ExpressionProvider {...expressionBar}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface ErrorProps {
export function ErrorScreen(props: ErrorProps) {
const classes = useStyles();
const { resetBoundary } = useErrorBoundary();
const issueUrl = props.issueUrl || "https://github.com/wso2/ballerina-plugin-vscode/issues";
const issueUrl = props.issueUrl || "https://github.com/wso2/vscode-extensions/issues";

return (
<div className={classes.root}>
Expand Down
Loading