BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Incorrect composer UI display

Open DingmaomaoBJTU opened this issue 7 years ago • 11 comments

Version

What version of the Composer are you using? Paste the build SHA found on the about page.

Describe the bug

There are some UI display errors, list as following: image

image

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

DingmaomaoBJTU avatar Oct 22 '19 04:10 DingmaomaoBJTU

image empty trace node as well even if I input the trace event name.

hibrenda avatar Oct 22 '19 04:10 hibrenda

@hibrenda This needs some more detail. What is being asked? I'm not sure what the "incorrect" UI is here.

a-b-r-o-w-n avatar Oct 22 '19 15:10 a-b-r-o-w-n

@a-b-r-o-w-n At least should not shown the "?" in the UI (I had fill all information needed in UI)

For repeat dialog, display two same string looks weird to me.

And for "ForEach" step, the schema had been changed and only the list property is needed. So the UI display is not valid anymore.

DingmaomaoBJTU avatar Oct 23 '19 03:10 DingmaomaoBJTU

@DingmaomaoBJTU @a-b-r-o-w-n Fix it by setting new property for ForEach , ForEachPage & EditArray step .

Type header content
Foreach ${data.title} Each value in {${data.itemsProperty ||'?'}}
ForeachPage ${data.title} Each page of ${data.pageSize || '?'} in {${data.itemsProperty || '?'}}
TraceActivity ${data.title} ${data.name}
EditArray ${data.title} ${data.itemsProperty}
RepeatDialog ${data.title} none
ReplaceDialog ${data.title} none

image image

Is it ok to show?

alanlong9278 avatar Oct 23 '19 06:10 alanlong9278

@sangwoohaan have you had a chance to look at this yet?

a-b-r-o-w-n avatar Oct 23 '19 22:10 a-b-r-o-w-n

Yes I have. This looks good to me.

sangwoohaan avatar Oct 23 '19 22:10 sangwoohaan

@alanlong9278 one more: image The "property" filed had been replaced with "tokenProperty"

DingmaomaoBJTU avatar Oct 24 '19 03:10 DingmaomaoBJTU

@alanlong9278 I believe the OAuth input should not use the prompt style in the visual editor. Can you confirm @sangwoohaan ?

a-b-r-o-w-n avatar Oct 24 '19 13:10 a-b-r-o-w-n

That's correct @alanlong9278 @a-b-r-o-w-n It should be just a normal gray node. We haven't discussed which information should go to the sub-label though – I think Connection name would be appropriate. Any thought?

sangwoohaan avatar Oct 24 '19 16:10 sangwoohaan

@a-b-r-o-w-n @sangwoohaan you are right. Oauth shouldn't be displayed as a prompt. Open a new issue #1286 and self-assigned, mark as P0 @hibrenda .

yeze322 avatar Oct 28 '19 11:10 yeze322

image @a-b-r-o-w-n any other actions suffixed by 'Input' are not expected to be rendered as prompt?

yeze322 avatar Oct 28 '19 11:10 yeze322