1.0.5 • Published 1 year ago

@ottogroup/ui5-cc-feedback v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Feedback dialog

Custom control that expands the dialog which sends the information added by a user to an adaptive card in teams

Install procedure

  • Add module as dependency and as a devDepency at package.json "@ottogroup/ui5-cc-feedback": "^1.0.0",
  • Run install
  • Go to the node_modules folder.
  • Copy the control into your project folder (Working on a postinstall.js file )

How To Make It Work

Right now, the dialogue is only prepared to accept some types of controls in its content. It is necessary to include a Grid as the main container and inside it: A rating indicator, a text area, and a checkbox to send feedback anonymously. Update. Now you can add also a smartform to create a tab with Q&A in the card.

The rest of the components will be ignored, and no information will be sent to the teams.

Properties

  • sendButtonText: Text at send button
  • closeButtonText: Text at close button
  • webHook: Url from the teams channel webhook
  • sendButtonEnable: Enable or not the send button.
  • All properties borrowed from the dialog

Events

If it's needed to add some code after pressing the send or cancel button these events were created:

  • afterSend: Event fired after the creation of the feedback
  • afterCancel: Event fired after closing the dialog.
1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago