From 70f2e58eafb86f75c0c7b50382e6049df3ab881e Mon Sep 17 00:00:00 2001 From: PaulV Date: Thu, 22 Jul 2021 15:30:56 +0200 Subject: [PATCH 1/2] add feedback for missing function description --- client/src/Components/SelectionView/FunctionView.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/Components/SelectionView/FunctionView.tsx b/client/src/Components/SelectionView/FunctionView.tsx index 90c0bc493..cc39bd510 100644 --- a/client/src/Components/SelectionView/FunctionView.tsx +++ b/client/src/Components/SelectionView/FunctionView.tsx @@ -16,7 +16,10 @@ export default function FunctionView(props: FunctionViewProps): JSX.Element { return (

{props.pythonFunction.name}

- + {props.pythonFunction.description ? + + :

There is no documentation for this function.

+ }

Parameters

{ From e896e6d104be3e26d3afec46bee7a4d9672f87f0 Mon Sep 17 00:00:00 2001 From: PaulV Date: Thu, 22 Jul 2021 15:33:21 +0200 Subject: [PATCH 2/2] add feedback for missing class description --- client/src/Components/SelectionView/ClassView.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/Components/SelectionView/ClassView.tsx b/client/src/Components/SelectionView/ClassView.tsx index 228b04c2a..2bf88f062 100644 --- a/client/src/Components/SelectionView/ClassView.tsx +++ b/client/src/Components/SelectionView/ClassView.tsx @@ -11,7 +11,10 @@ export default function ClassView(props: ClassViewProps): JSX.Element { return (

{props.pythonClass.name}

- + {props.pythonClass.description ? + + :

There is no documentation for this class.

+ }