Matterway
    Preparing search index...

    Function showSuccessNotice

    • Shows a success notice in a bubble to the user.

      Parameters

      • ctx: Context
      • options: ShowSuccessNoticeOptions

      Returns Promise<NoticeBubbleResult>

      await showSuccessNotice(ctx, {
      title: 'choosing random book',
      description: 'Picking a book on Amazon based on preferred genre.',
      subtitle: t('success.subtitle'),
      text: 'The request has been processed successfully. You can now dismiss Assistant and work on a new task.',
      buttons: [{
      text: 'success',
      value: 'ok',
      }],
      });
      await showSuccessNotice(ctx, {
      title: 'Filling Form.',
      description: 'This step will fill the needed information inside the form.',
      icon: 'icon',
      iconColor: 'color',
      subtitle: '#subtitle',
      text: 'The form has been filled successfully. You can now submit the form and dismiss Assistant, then start working on a new task.',
      buttons: [{
      value: 'ok',
      text: 'success',
      disabled: false,
      }],
      });
      await showNotice(ctx, {
      title: 'Matterway Skill.',
      description: 'Fetching and filtering data.',
      text: 'All data has been fetched and filtered.',
      suggestionBox: {
      info: 'Your suggestion is anonymous',
      text: 'Is there another task where you would need help?',
      placeholder: 'Your feedback',
      },
      statuses: [
      {text: 'Data fetched successfully.'},
      {text: 'Data filtered successfully.'},
      ],
      buttons: [{
      value: 'ok',
      text: 'Thank you.'
      }],
      })

      This function has been deprecated. Please use showUI.success instead.